123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- --
- -- Crafting definition
- --
- minetest.register_craft({
- output = 'default:wood 2',
- recipe = {
- {'group:tree_horizontal'},
- }
- })
- minetest.register_craft({
- output = 'nodetest:tree_horizontal 2',
- recipe = {
- {'', 'default:tree'},
- {'default:tree', ''},
- }
- })
- minetest.register_craft({
- output = 'default:tree 2',
- recipe = {
- {'', 'nodetest:tree_horizontal'},
- {'nodetest:tree_horizontal', ''},
- }
- })
- minetest.register_craft({
- output = 'nodetest:jungletree_horizontal 2',
- recipe = {
- {'', 'default:jungletree'},
- {'default:jungletree', ''},
- }
- })
- minetest.register_craft({
- output = 'default:jungletree 2',
- recipe = {
- {'', 'nodetest:jungletree_horizontal'},
- {'nodetest:jungletree_horizontal', ''},
- }
- })
- minetest.register_craft({
- output = 'nodetest:papyrus_roots',
- recipe = {
- {'default:papyrus', 'default:papyrus', 'default:papyrus'},
- {'default:papyrus', 'default:papyrus', 'default:papyrus'},
- {'default:papyrus', 'default:papyrus', 'default:papyrus'},
- }
- })
- minetest.register_craft({
- output = 'default:papyrus 9',
- recipe = {
- {'nodetest:papyrus_roots'},
- }
- })
- minetest.register_craft({
- output = 'nodetest:bone 9',
- recipe = {
- {'bones:bones'},
- }
- })
- minetest.register_craft({
- output = 'bones:bones',
- recipe = {
- {'nodetest:bone', 'nodetest:bone', 'nodetest:bone'},
- {'nodetest:bone', 'nodetest:bone', 'nodetest:bone'},
- {'nodetest:bone', 'nodetest:bone', 'nodetest:bone'},
- }
- })
- minetest.register_craft({
- output = 'dye:white',
- recipe = {
- {'nodetest:bone'},
- }
- })
- minetest.register_craft({
- output = 'nodetest:spearwood',
- recipe = {
- {'', '', 'default:stick'},
- {'', 'default:stick', ''},
- {'default:stick', '', ''},
- }
- })
- minetest.register_craft({
- output = 'nodetest:spearstone',
- recipe = {
- {'', '', 'group:stone'},
- {'', 'default:stick', ''},
- {'default:stick', '', ''},
- }
- })
- minetest.register_craft({
- type = "cooking",
- output = "default:coal_lump",
- recipe = "group:tree_horizontal",
- })
- minetest.register_craft({
- output = 'nodetest:seedling 4',
- recipe = {
- {'group:sapling'},
- }
- })
- minetest.register_craft({
- output = "nodetest:bonfire",
- recipe = {
- {"", "group:leaves", ""},
- {"group:stick", "group:stick", "group:stick"},
- }
- })
- --
- -- Fuels
- --
- minetest.register_craft({
- type = "fuel",
- recipe = "group:tree_horizontal",
- burntime = 30,
- })
- minetest.register_craft({
- type = "fuel",
- recipe = "nodetest:seedling",
- burntime = 1,
- })
- minetest.register_craft({
- type = "fuel",
- recipe = "nodetest:bonfire",
- burntime = 15,
- })
|