diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-26 05:54:37 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-26 05:54:37 +0200 |
commit | a07e2e706e718348a5ba183db2e686ad36f7b18f (patch) | |
tree | fed3f69e5dafe504bc9aaafcca78d5beaca3c8ef /nodes_doorlike.lua | |
parent | d92685d20c6bebce0a88512991646a16121b0810 (diff) |
added missing textures; made indigrents for craft receipes configurable; added compatibility for realtest; added wool in case no wool is installed; other minor tweaks
Diffstat (limited to 'nodes_doorlike.lua')
-rw-r--r-- | nodes_doorlike.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nodes_doorlike.lua b/nodes_doorlike.lua index 600c1b3..cb1b1b0 100644 --- a/nodes_doorlike.lua +++ b/nodes_doorlike.lua @@ -355,7 +355,7 @@ cottages.register_hatch = function( nodename, description, texture, receipe_item output = nodename, recipe = { { '', '', receipe_item }, - { receipe_item, 'default:stick', '' }, + { receipe_item, cottages.craftitem_stick, '' }, { '', '', '' }, } }) @@ -363,8 +363,8 @@ end -- further alternate hatch materials: wood, tree, copper_block -cottages.register_hatch( 'cottages:hatch_wood', 'wooden hatch', 'cottages_minimal_wood.png', 'stairs:slab_wood' ); -cottages.register_hatch( 'cottages:hatch_steel', 'metal hatch', 'cottages_steel_block.png', 'default:steel_ingot' ); +cottages.register_hatch( 'cottages:hatch_wood', 'wooden hatch', 'cottages_minimal_wood.png', cottages.craftitem_slab_wood ); +cottages.register_hatch( 'cottages:hatch_steel', 'metal hatch', 'cottages_steel_block.png', cottages.craftitem_steel ); @@ -391,7 +391,7 @@ minetest.register_craft({ minetest.register_craft({ output = "cottages:window_shutter_open", recipe = { - {"default:wood", "", "default:wood" }, + {cottages.craftitem_wood, "", cottages.craftitem_wood }, } }) @@ -413,8 +413,8 @@ minetest.register_craft({ minetest.register_craft({ output = "cottages:half_door 2", recipe = { - {"", "default:wood", "" }, - {"", "doors:door_wood", "" }, + {"", cottages.craftitem_wood, "" }, + {"", cottages.craftitem_door, "" }, } }) @@ -437,7 +437,7 @@ minetest.register_craft({ minetest.register_craft({ output = "cottages:gate_closed", recipe = { - {"default:stick", "default:stick", "default:wood" }, + {cottages.craftitem_stick, cottages.craftitem_stick, cottages.craftitem_wood }, } }) |