Added animated texture for the mud
This commit is contained in:
parent
d84a510410
commit
51e56cff1d
@ -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
|
||||
|
@ -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
BIN
textures/mud_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
textures/mude.png
Normal file
BIN
textures/mude.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 641 B |
Loading…
x
Reference in New Issue
Block a user