Make carpets non-walkable

This commit is contained in:
Wuzzy 2018-01-09 15:05:15 +01:00
parent b852eb9d87
commit 31cd23291a

View File

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