summaryrefslogtreecommitdiff
path: root/nodes_mining.lua
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-07-14 21:41:51 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-07-14 21:41:51 +0300
commit69709206eb0264e348694b64b5749593bf2a8b69 (patch)
treed25543502a4bc68ac0d505fd510c7c456abd24da /nodes_mining.lua
parent96e3d6365be1bd5c8ea8a4efdd13a59f505aed80 (diff)
cleanup
Diffstat (limited to 'nodes_mining.lua')
-rw-r--r--nodes_mining.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/nodes_mining.lua b/nodes_mining.lua
index 3af4f71..05fa7fe 100644
--- a/nodes_mining.lua
+++ b/nodes_mining.lua
@@ -1,4 +1,5 @@
-
+-- Boilerplate to support localized strings if intllib mod is installed.
+local S = cottages.S
---------------------------------------------------------------------------------------
-- a rope that is of use to the mines
@@ -6,7 +7,7 @@
-- the rope can only be digged if there is no further rope above it;
-- Note: This rope also counts as a rail node; thus, carts can move through it
minetest.register_node("cottages:rope", {
- description = "rope for climbing",
+ description = S("Rope for climbing"),
tiles = {"cottages_rope.png"},
groups = {snappy=3,choppy=3,oddly_breakable_by_hand=3,rail=1,connect_to_raillike=1},--connect_to_raillike=minetest.raillike_group("rail")},
walkable = false,
@@ -38,7 +39,7 @@ minetest.register_craft({
-- Note: This rope also counts as a rail node; thus, carts can move through it
minetest.register_node("cottages:ladder_with_rope_and_rail", {
- description = "Ladder with rail support",
+ description = S("Ladder with rail support"),
drawtype = "signlike",
tiles = {"default_ladder_wood.png^carts_rail_straight.png^cottages_rope.png"},
inventory_image = "default_ladder_wood.png",