summaryrefslogtreecommitdiff
path: root/chains
diff options
context:
space:
mode:
Diffstat (limited to 'chains')
-rw-r--r--chains/depends.txt3
-rw-r--r--chains/init.lua15
2 files changed, 11 insertions, 7 deletions
diff --git a/chains/depends.txt b/chains/depends.txt
index 331d858..7b3e79f 100644
--- a/chains/depends.txt
+++ b/chains/depends.txt
@@ -1 +1,2 @@
-default \ No newline at end of file
+default
+homedecor
diff --git a/chains/init.lua b/chains/init.lua
index becbb35..4a0f500 100644
--- a/chains/init.lua
+++ b/chains/init.lua
@@ -1,3 +1,6 @@
+
+local S = homedecor_i18n.gettext
+
local chains_sbox = {
type = "fixed",
fixed = { -0.1, -0.625, -0.1, 0.1, 0.5, 0.1 }
@@ -12,7 +15,7 @@ local topchains_sbox = {
}
minetest.register_node("chains:chain", {
- description = "Hanging chain (wrought iron)",
+ description = S("Hanging chain (wrought iron)"),
drawtype = "mesh",
mesh = "chains.obj",
tiles = {"chains_wrought_iron.png"},
@@ -26,7 +29,7 @@ minetest.register_node("chains:chain", {
})
minetest.register_node("chains:chain_brass", {
- description = "Hanging chain (brass)",
+ description = S("Hanging chain (brass)"),
drawtype = "mesh",
mesh = "chains.obj",
tiles = {"chains_brass.png"},
@@ -40,7 +43,7 @@ minetest.register_node("chains:chain_brass", {
})
minetest.register_node("chains:chain_top", {
- description = "Hanging chain (ceiling mount, wrought iron)",
+ description = S("Hanging chain (ceiling mount, wrought iron)"),
drawtype = "mesh",
mesh = "top_chains.obj",
tiles = {"chains_wrought_iron.png"},
@@ -54,7 +57,7 @@ minetest.register_node("chains:chain_top", {
})
minetest.register_node("chains:chain_top_brass", {
- description = "Hanging chain (ceiling mount, brass)",
+ description = S("Hanging chain (ceiling mount, brass)"),
drawtype = "mesh",
mesh = "top_chains.obj",
tiles = {"chains_brass.png"},
@@ -68,7 +71,7 @@ minetest.register_node("chains:chain_top_brass", {
})
minetest.register_node("chains:chandelier", {
- description = "Chandelier (wrought iron)",
+ description = S("Chandelier (wrought iron)"),
paramtype = "light",
light_source = default.LIGHT_MAX-2,
walkable = false,
@@ -95,7 +98,7 @@ minetest.register_node("chains:chandelier", {
})
minetest.register_node("chains:chandelier_brass", {
- description = "Chandelier (brass)",
+ description = S("Chandelier (brass)"),
paramtype = "light",
light_source = default.LIGHT_MAX-2,
walkable = false,