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
|
false, --collisiondetection
|
||||||
"tnt_smoke.png" --texture
|
"tnt_smoke.png" --texture
|
||||||
)
|
)
|
||||||
if math.random(1,2)==1 then
|
|
||||||
minetest.add_entity(pos, "nssm:mantis")
|
minetest.add_entity(pos, "nssm:mantis")
|
||||||
else
|
|
||||||
minetest.add_entity(pos, "nssm:mantis_beast")
|
|
||||||
end
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -343,9 +343,12 @@ minetest.register_node("nssm:web", {
|
|||||||
|
|
||||||
minetest.register_node("nssm:mud", {
|
minetest.register_node("nssm:mud", {
|
||||||
description = "Mud",
|
description = "Mud",
|
||||||
inventory_image = "mud.png",
|
inventory_image = "mude.png",
|
||||||
tile_images = {"mud.png"} ,
|
tiles = {
|
||||||
|
{name="mud_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=16.0}}
|
||||||
|
},
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
paramtype = "light",
|
||||||
pointable = true,
|
pointable = true,
|
||||||
buildable_to = false,
|
buildable_to = false,
|
||||||
drop = "",
|
drop = "",
|
||||||
@ -355,8 +358,8 @@ minetest.register_node("nssm:mud", {
|
|||||||
liquid_range= 0,
|
liquid_range= 0,
|
||||||
liquid_alternative_flowing = "nssm:mud",
|
liquid_alternative_flowing = "nssm:mud",
|
||||||
liquid_alternative_source = "nssm:mud",
|
liquid_alternative_source = "nssm:mud",
|
||||||
liquid_viscosity = 20,
|
liquid_viscosity = 10,
|
||||||
groups = {flammable=0, snappy=1, liquid=1},
|
groups = {crumbly=1, liquid=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_abm({
|
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