technic/technic_chests/wooden_chest.lua
Zefram f7d103cd96 Rename default chest to "Wooden Chest"
All the chests added by technic specify their material in their
description, so the description "Chest" for the default chest looks
ambiguous.  Rename it to seamlessly fit into the range of chest types.
2014-06-21 01:20:30 +02:00

15 lines
459 B
Lua

local S
if intllib then
S = intllib.Getter()
else
S = function(s) return s end
end
if minetest.registered_nodes["default:chest"].description == "Chest" then
minetest.override_item("default:chest", { description = S("%s Chest"):format(S("Wooden")) })
end
if minetest.registered_nodes["default:chest_locked"].description == "Locked Chest" then
minetest.override_item("default:chest_locked", { description = S("%s Locked Chest"):format(S("Wooden")) })
end