diff options
author | Bremaweb <brandon@bremaweb.com> | 2013-11-20 10:32:54 -0800 |
---|---|---|
committer | Bremaweb <brandon@bremaweb.com> | 2013-11-20 10:32:54 -0800 |
commit | 6b22f3d60f1b942485ccbb6dc5417fbe65119db9 (patch) | |
tree | 29e6bf5c9a0754a5a2938ea5b802b3059d107aba | |
parent | 242874cbff76e30f342fd689efa76be898f52cfc (diff) | |
parent | 8ea999ded5fa15325b56a334261f34cd2afb19c2 (diff) |
Merge pull request #6 from t4im/master
facedir fix and alternate crafting recipe (for upgrading a default chest)
-rw-r--r-- | chest.lua | 23 | ||||
-rw-r--r-- | landsale.lua | 6 |
2 files changed, 23 insertions, 6 deletions
@@ -4,6 +4,7 @@ minetest.register_node("landrush:shared_chest", { description = "Land Rush Shared Chest", tiles = {"landrush_shared_chest_top.png", "landrush_shared_chest_top.png", "landrush_shared_chest_side.png", "landrush_shared_chest_side.png", "landrush_shared_chest_side.png", "landrush_shared_chest_front.png"}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1}, + paramtype2 = "facedir", legacy_facedir_simple = true, sounds = default.node_sound_wood_defaults(), @@ -85,8 +86,24 @@ minetest.register_node("landrush:shared_chest", { minetest.register_craft({ output = 'landrush:shared_chest', recipe = { - {'default:wood','default:wood','default:wood'}, - {'default:wood','landrush:landclaim','default:wood'}, - {'default:wood','default:wood','default:wood'} + {'group:wood','group:wood','group:wood'}, + {'group:wood','landrush:landclaim','group:wood'}, + {'group:wood','group:wood','group:wood'} + } +}) + +minetest.register_craft({ + output = 'landrush:shared_chest', + recipe = { + {'landrush:landclaim'}, + {'default:chest'} + } +}) + +minetest.register_craft({ + output = 'landrush:shared_chest', + recipe = { + {'landrush:landclaim'}, + {'default:chest_locked'} } })
\ No newline at end of file diff --git a/landsale.lua b/landsale.lua index 1867b98..f77f65d 100644 --- a/landsale.lua +++ b/landsale.lua @@ -83,9 +83,9 @@ minetest.register_node("landrush:sale_block",{ minetest.register_craft({ output = "landrush:sale_block", recipe = { - {"","default:wood","default:wood"}, - {"","default:wood",""}, - {"default:wood","default:wood",""} + {"","group:wood","group:wood"}, + {"","group:wood",""}, + {"group:wood","group:wood",""} } }) |