aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-08-23 00:32:50 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-08-23 00:32:50 +0200
commita7c9f3088096375575c30f0b791874702499ed9c (patch)
treeab171c8b033f0916c10850c616e3785fc7f1303b
parent12b84fe173edad3e527c362f437ade50ddb67851 (diff)
downloadfarebox-a7c9f3088096375575c30f0b791874702499ed9c.zip
farebox-a7c9f3088096375575c30f0b791874702499ed9c.tar.gz
farebox-a7c9f3088096375575c30f0b791874702499ed9c.tar.bz2
Added crafting recipe, fixed mesecon rules.
-rw-r--r--init.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index d73632c..01959b0 100644
--- a/init.lua
+++ b/init.lua
@@ -33,8 +33,8 @@ end
farebox.rules =
-{{x=0, y=-1, z=0},
- {x=0, y=1, z=0}}
+{{x=0, y=-2, z=0},
+ {x=0, y=2, z=0}}
minetest.register_on_player_receive_fields(function(player, form, pressed)
@@ -109,3 +109,10 @@ minetest.register_node("farebox:farebox", {
})
+minetest.register_craft({output = "farebox:farebox",
+ recipe = {
+ {"group:wood", "group:wood", "group:wood"},
+ {"group:wood", "", "group:wood"},
+ {"group:wood", "mesecons:mesecon", "group:wood"},
+ }
+})