diff --git a/mobs/larva.lua b/mobs/larva.lua index fb81a75..df09657 100644 --- a/mobs/larva.lua +++ b/mobs/larva.lua @@ -76,11 +76,8 @@ mobs:register_mob("nssm:larva", { false, --collisiondetection "tnt_smoke.png" --texture ) - if math.random(1,2)==1 then - minetest.add_entity(pos, "nssm:mantis") - else - minetest.add_entity(pos, "nssm:mantis_beast") - end + + minetest.add_entity(pos, "nssm:mantis") return end end diff --git a/nssm_materials.lua b/nssm_materials.lua index ad02c2e..956b8fd 100644 --- a/nssm_materials.lua +++ b/nssm_materials.lua @@ -343,9 +343,12 @@ minetest.register_node("nssm:web", { minetest.register_node("nssm:mud", { description = "Mud", - inventory_image = "mud.png", - tile_images = {"mud.png"} , + inventory_image = "mude.png", + tiles = { + {name="mud_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=16.0}} + }, walkable = false, + paramtype = "light", pointable = true, buildable_to = false, drop = "", @@ -355,8 +358,8 @@ minetest.register_node("nssm:mud", { liquid_range= 0, liquid_alternative_flowing = "nssm:mud", liquid_alternative_source = "nssm:mud", - liquid_viscosity = 20, - groups = {flammable=0, snappy=1, liquid=1}, + liquid_viscosity = 10, + groups = {crumbly=1, liquid=1}, }) minetest.register_abm({ diff --git a/textures/mud_animated.png b/textures/mud_animated.png new file mode 100644 index 0000000..1973dc2 Binary files /dev/null and b/textures/mud_animated.png differ diff --git a/textures/mude.png b/textures/mude.png new file mode 100644 index 0000000..fad088a Binary files /dev/null and b/textures/mude.png differ diff --git a/todo.txt b/todo.txt index bb49f93..bdc3e52 100644 --- a/todo.txt +++ b/todo.txt @@ -1,5 +1,5 @@ Modelli: - - correggere mantis che si sdraia + - correggere mantis che si sdraia (la mantis dev'essere invisibile, la si vede solo quando corre o attacca!) Armi energetiche: - controllo modalità creativa