diff options
Diffstat (limited to 'technic_chests/wooden_chest.lua')
-rw-r--r-- | technic_chests/wooden_chest.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/technic_chests/wooden_chest.lua b/technic_chests/wooden_chest.lua new file mode 100644 index 0000000..8ff33b0 --- /dev/null +++ b/technic_chests/wooden_chest.lua @@ -0,0 +1,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 |