From 48eb417ef61bf0a18313231893487d580d2033db Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 19 Nov 2013 15:21:46 +0100 Subject: fix texture orientation on shared chests --- chest.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'chest.lua') diff --git a/chest.lua b/chest.lua index 8746355..07bf186 100644 --- a/chest.lua +++ b/chest.lua @@ -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(), -- cgit v1.2.3 From e4bf053ad87be7b9a9a03e32fed7ae7c88ba0566 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 19 Nov 2013 16:43:30 +0100 Subject: add alternative crafting recipes to turn default chests into a shared chest --- chest.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'chest.lua') diff --git a/chest.lua b/chest.lua index 07bf186..9f4e440 100644 --- a/chest.lua +++ b/chest.lua @@ -90,4 +90,20 @@ minetest.register_craft({ {'default:wood','landrush:landclaim','default:wood'}, {'default:wood','default:wood','default: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 -- cgit v1.2.3 From 8ea999ded5fa15325b56a334261f34cd2afb19c2 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 20 Nov 2013 16:31:16 +0100 Subject: use group:wood instead of default:wood in crafting recipes to allow the use of moretree planks as well --- chest.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chest.lua') diff --git a/chest.lua b/chest.lua index 9f4e440..93373d3 100644 --- a/chest.lua +++ b/chest.lua @@ -86,9 +86,9 @@ 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'} } }) -- cgit v1.2.3