diff --git a/mods/fl_glass/README b/mods/fl_glass/README new file mode 100644 index 0000000..900e196 --- /dev/null +++ b/mods/fl_glass/README @@ -0,0 +1,3 @@ +toby109tt(aka tobyplowy)(CC BY-SA 3.0): +farlands_glass_detail.png +farlands_glass.png \ No newline at end of file diff --git a/mods/fl_glass/init.lua b/mods/fl_glass/init.lua new file mode 100644 index 0000000..74e9ab8 --- /dev/null +++ b/mods/fl_glass/init.lua @@ -0,0 +1,21 @@ +minetest.register_node("fl_glass:glass_connected", { + description = "connected glass", + drawtype = "glasslike_framed", + tiles = {"farlands_glass.png", "farlands_glass_detail.png"}, + paramtype = "light", + paramtype2 = "glasslikeliquidlevel", + sunlight_propagates = true, + groups = {oddly_breakable_by_hand = 3}, +}) + +minetest.register_node("fl_glass:glass_framed", { + description = "framed glass", + drawtype = "glasslike", + tiles = {"farlands_glass.png", "farlands_glass_detail.png"}, + paramtype = "light", + paramtype2 = "glasslikeliquidlevel", + sunlight_propagates = true, + groups = {oddly_breakable_by_hand = 3}, +}) + +--make colored glass, probably need to make dyes mod \ No newline at end of file diff --git a/mods/fl_glass/textures/farlands_glass.png b/mods/fl_glass/textures/farlands_glass.png new file mode 100644 index 0000000..db910c8 Binary files /dev/null and b/mods/fl_glass/textures/farlands_glass.png differ diff --git a/mods/fl_glass/textures/farlands_glass_detail.png b/mods/fl_glass/textures/farlands_glass_detail.png new file mode 100644 index 0000000..962aa22 Binary files /dev/null and b/mods/fl_glass/textures/farlands_glass_detail.png differ diff --git a/mods/fl_wildlife/fl_mobs/riverfish.lua b/mods/fl_wildlife/fl_mobs/riverfish.lua index fb4fa00..e3adfb7 100644 --- a/mods/fl_wildlife/fl_mobs/riverfish.lua +++ b/mods/fl_wildlife/fl_mobs/riverfish.lua @@ -3,7 +3,7 @@ minetest.register_entity("fl_wildlife:riverfish", { --mte object properties physical = true, stepheight = 1.1, - collide_with_objects = true, + collide_with_objects = false, collisionbox = {-0.2, -0.2, -0.2, 0.2, 0.2, 0.2}, --fix this visual = "mesh", mesh = "farlands_mob_fish.b3d", @@ -21,7 +21,7 @@ minetest.register_entity("fl_wildlife:riverfish", { --mobkit properties buoyancy = 0.99, --how it works in water max_speed = 2, --how fast it can go - jump_height = 1.1, --jumping height? not sure how this is different from mte stepheight + jump_height = 0, --jumping height? not sure how this is different from mte stepheight view_range = 24, --how far it can see lung_capacity = 10, --seconds till drowning max_hp = 5, --health, not sure how this measured? like player where 2hp = 1 heart? @@ -60,4 +60,8 @@ minetest.register_entity("fl_wildlife:riverfish", { }) --register eggs -fl_wildlife.egg_it("fl_wildlife:riverfish", "riverfish", "#978166") \ No newline at end of file +fl_wildlife.egg_it("fl_wildlife:riverfish", "riverfish", "#978166") + +--fish still jump out, +--fish die in pen on in water on base? +--this ^ is due to water_flowing \ No newline at end of file