активация node nssm:web
This commit is contained in:
parent
d79a783db5
commit
1276cb868a
@ -10,7 +10,34 @@ local function nssm_craftitem(name, descr)
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.register_node("nssm:web", {
|
||||||
|
description = S("Web"),
|
||||||
|
inventory_image = "web.png",
|
||||||
|
tiles = {"web.png"} ,
|
||||||
|
drawtype = "plantlike",
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
pointable = true,
|
||||||
|
diggable = true,
|
||||||
|
buildable_to = false,
|
||||||
|
drop = "farming:cotton",
|
||||||
|
drowning = 0,
|
||||||
|
liquid_renewable = false,
|
||||||
|
liquidtype = "source",
|
||||||
|
liquid_range = 0,
|
||||||
|
liquid_alternative_flowing = "nssm:web",
|
||||||
|
liquid_alternative_source = "nssm:web",
|
||||||
|
liquid_viscosity = 20,
|
||||||
|
groups = {flammable = 2, snappy = 1, liquid = 1},
|
||||||
|
on_construct = function(pos)
|
||||||
|
if not nssm.spiders_litter_web then
|
||||||
|
minetest.get_node_timer(pos):start(15)
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
on_timer = function(pos)
|
||||||
|
minetest.remove_node(pos)
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user