Added animated texture for the mud

This commit is contained in:
NPXcoot 2017-03-01 17:30:36 +00:00
parent d84a510410
commit 51e56cff1d
5 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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({

BIN
textures/mud_animated.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
textures/mude.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

View File

@ -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