forked from MineClone5/MineClone5
Make carpets non-walkable
This commit is contained in:
parent
b852eb9d87
commit
31cd23291a
|
@ -48,7 +48,7 @@ for _, row in ipairs(wool.dyes) do
|
||||||
minetest.register_node("mcl_wool:"..name.."_carpet", {
|
minetest.register_node("mcl_wool:"..name.."_carpet", {
|
||||||
description = desc.." Carpet",
|
description = desc.." Carpet",
|
||||||
_doc_items_longdesc = "Carpets are thin floor covers which come in many different colors.",
|
_doc_items_longdesc = "Carpets are thin floor covers which come in many different colors.",
|
||||||
walkable = true,
|
walkable = false, -- See <https://minecraft.gamepedia.com/Materials>
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
tiles = {"wool_"..texture..".png"},
|
tiles = {"wool_"..texture..".png"},
|
||||||
wield_image = "wool_"..texture..".png",
|
wield_image = "wool_"..texture..".png",
|
||||||
|
|
Loading…
Reference in New Issue