diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-14 21:41:51 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-07-14 21:41:51 +0300 |
commit | 69709206eb0264e348694b64b5749593bf2a8b69 (patch) | |
tree | d25543502a4bc68ac0d505fd510c7c456abd24da /nodes_historic.lua | |
parent | 96e3d6365be1bd5c8ea8a4efdd13a59f505aed80 (diff) |
cleanup
Diffstat (limited to 'nodes_historic.lua')
-rw-r--r-- | nodes_historic.lua | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/nodes_historic.lua b/nodes_historic.lua index 1fa5ea4..46537fb 100644 --- a/nodes_historic.lua +++ b/nodes_historic.lua @@ -12,7 +12,7 @@ local S = cottages.S -- can be used to buid real stationary wagons or attached to walls as decoration minetest.register_node("cottages:wagon_wheel", { - description = S("wagon wheel"), + description = S("Wagon wheel"), drawtype = "signlike", tiles = {"cottages_wagonwheel.png"}, -- done by VanessaE! inventory_image = "cottages_wagonwheel.png", @@ -34,7 +34,7 @@ minetest.register_node("cottages:wagon_wheel", { -- people didn't use clay for houses; they did build with loam minetest.register_node("cottages:loam", { - description = S("loam"), + description = S("Loam"), tiles = {"cottages_loam.png"}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, groups = {crumbly=3}, @@ -48,16 +48,16 @@ if( minetest.get_modpath("stairs") and stairs and stairs.register_stair_and_slab stairs.register_stair_and_slab("loam", "cottages:loam", {snappy=2,choppy=2,oddly_breakable_by_hand=2}, {"cottages_loam.png"}, - S("Loam Stairs"), - S("Loam Slab"), + S("Loam stairs"), + S("Loam slab"), default.node_sound_dirt_defaults()) if( minetest.registered_nodes["default:clay"]) then stairs.register_stair_and_slab("clay", "default:clay", {crumbly=3}, {"cottages_clay.png"}, - S("Clay Stairs"), - S("Clay Slab"), + S("Clay stairs"), + S("Clay slab"), default.node_sound_dirt_defaults()) end end @@ -66,7 +66,7 @@ end -- straw is a common material for places where animals are kept indoors -- right now, this block mostly serves as a placeholder minetest.register_node("cottages:straw_ground", { - description = S("straw ground for animals"), + description = S("Straw ground for animals"), tiles = {"cottages_darkage_straw.png","cottages_loam.png","cottages_loam.png","cottages_loam.png","cottages_loam.png","cottages_loam.png"}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, groups = {crumbly=3}, @@ -77,7 +77,7 @@ minetest.register_node("cottages:straw_ground", { -- note: these houses look good with a single fence pile as window! the glass pane is the version for 'richer' inhabitants minetest.register_node("cottages:glass_pane", { - description = S("simple glass pane (centered)"), + description = S("Simple glass pane (centered)"), drawtype = "nodebox", -- top, bottom, side1, side2, inner, outer tiles = {"cottages_glass_pane.png"}, @@ -101,7 +101,7 @@ minetest.register_node("cottages:glass_pane", { minetest.register_node("cottages:glass_pane_side", { - description = S("simple glass pane"), + description = S("Simple glass pane"), drawtype = "nodebox", -- top, bottom, side1, side2, inner, outer tiles = {"cottages_glass_pane.png"}, @@ -128,7 +128,7 @@ minetest.register_node("cottages:glass_pane_side", { -- a very small wooden slab --------------------------------------------------------------------------------------- minetest.register_node("cottages:wood_flat", { - description = S("flat wooden planks"), + description = S("Flat wooden planks"), drawtype = "nodebox", -- top, bottom, side1, side2, inner, outer tiles = {"cottages_minimal_wood.png"}, @@ -155,7 +155,7 @@ minetest.register_node("cottages:wood_flat", { -- useful for building tents --------------------------------------------------------------------------------------- minetest.register_node("cottages:wool_tent", { - description = S("wool for tents"), + description = S("Wool for tents"), drawtype = "nodebox", -- top, bottom, side1, side2, inner, outer tiles = {"cottages_wool.png"}, @@ -179,12 +179,14 @@ minetest.register_node("cottages:wool_tent", { }) -- a fallback for cases in which there is no wool -minetest.register_node("cottages:wool", { - description = "Wool", - tiles = {"cottages_wool.png"}, - is_ground_content = false, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1}, -}) +if not minetest.get_modpath("wool") then + minetest.register_node("cottages:wool", { + description = S("Wool"), + tiles = {"cottages_wool.png"}, + is_ground_content = false, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1}, + }) +end --------------------------------------------------------------------------------------- |