blob: 8ff33b0bd0488a1093d68f8ec716bf7399f19d9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
|