From 69709206eb0264e348694b64b5749593bf2a8b69 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Sat, 14 Jul 2018 21:41:51 +0300 Subject: cleanup --- nodes_mining.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nodes_mining.lua') 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", -- cgit v1.2.3