mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-16 07:20:41 +01:00
f7d103cd96
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.
15 lines
459 B
Lua
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
|