Added crafting recipe, fixed mesecon rules.

This commit is contained in:
Gabriel Pérez-Cerezo 2017-08-23 00:32:50 +02:00
parent 12b84fe173
commit a7c9f30880
No known key found for this signature in database
GPG Key ID: 90422B01A46D0B3E

View File

@ -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"},
}
})