diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-08-23 00:32:50 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-08-23 00:32:50 +0200 |
commit | a7c9f3088096375575c30f0b791874702499ed9c (patch) | |
tree | ab171c8b033f0916c10850c616e3785fc7f1303b /init.lua | |
parent | 12b84fe173edad3e527c362f437ade50ddb67851 (diff) |
Added crafting recipe, fixed mesecon rules.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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"}, + } +}) |