Crafting recipes

This commit is contained in:
Ben Deutsch 2015-10-08 22:42:11 +02:00
parent 21e231da19
commit c661c4c6f6
2 changed files with 31 additions and 0 deletions

View File

@ -1 +1,2 @@
default
doors

View File

@ -269,6 +269,36 @@ minetest.register_node('telemosaic:extender_three', {
after_dig_node = extender_dig,
})
minetest.register_craft({
output = 'telemosaic:beacon_off',
recipe = {
{'default:diamond', 'doors:door_wood', 'default:diamond'},
{'default:obsidian','default:obsidian','default:obsidian'}
}
})
minetest.register_craft({
output = 'telemosaic:extender_one',
recipe = {
{'default:obsidian','doors:door_wood','default:obsidian'}
}
})
minetest.register_craft({
output = 'telemosaic:extender_two',
recipe = {
{'', 'telemosaic:extender_one',''},
{'telemosaic:extender_one','default:obsidian','telemosaic:extender_one'},
{'', 'telemosaic:extender_one',''}
}
})
minetest.register_craft({
output = 'telemosaic:extender_three',
recipe = {
{'', 'telemosaic:extender_two',''},
{'telemosaic:extender_two','default:obsidian','telemosaic:extender_two'},
{'', 'telemosaic:extender_two',''}
}
})
minetest.register_on_joinplayer(function(player)
local name = player:get_player_name()
if not M.players[name] then