2013-05-19 18:43:04 +02:00
|
|
|
-- mods/default/crafting.lua
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:wood 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:tree'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:junglewood 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:jungletree'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2014-10-21 19:53:04 +02:00
|
|
|
minetest.register_craft({
|
2015-08-09 09:50:57 +02:00
|
|
|
output = 'default:pine_wood 4',
|
2014-10-21 19:53:04 +02:00
|
|
|
recipe = {
|
2015-08-09 09:50:57 +02:00
|
|
|
{'default:pine_tree'},
|
2014-10-21 19:53:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2015-07-01 14:03:14 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:acacia_wood 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:acacia_tree'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
Aspen trees.
Adds a birch-like tree to the default_game. Aspen was chosen on
purpose instead of birch, as several birch tree mods already exist
and choosing a different name avoids any conflicts.
Schematics were made for both normal and sapling version, assuring
saplings will not be able to grief. The shape of the Aspen is "fanning
out at the top" and provides an easy tree to walk under, but still a
somewhat thick cover. The Aspen trunk is 4 to 6 blocks tall, with up
to three layers of leaves on top, making it slightly taller than an
Apple tree, but shorter than a Pine tree, which provides a good blend.
Textures were painted from scratch, except tree_top and _wood
variants, which are color modified versions of the pine_wood
variants. Appropriate licenses have been chosen for the new textures.
The leaf texture is light enough to contrast other trees, but dark
enough to offset against our light default grass color. The leaves
are drawn in the typical minetest default fashion with plenty of
transparancy, but enough definition to suggest that you're seeing
something that looks like leaves. The placement of leaves in the
schematic also suggests the top of the tree is sparse and you can
see the sky through the leaves.
Sapling texture is both traditional and different, with lush green
leaves and a well-defined stem, but slightly stick-like and skinny,
as these plants tend to grow up first, then out.
Add fallen Aspen logs. We make these logs a minimum of 2 blocks long,
and up to 3. This allows us to make these logs a place where both
red and brown mushrooms can be found, to these may be attractive to
players. However, the spawn rate for these has been reduced a lot
compared to the other logs, to account for the scarcity of Aspen.
Add stairs, slabs for these wood types as well.
Mapgen will place these trees in deciduous forests only, but in
a way that the biome is a range between entirely Apple trees, and
mostly entirely Aspen trees, with a bias to Apple trees. To make
fallen logs somewhat correlated with trees, we modify the planting
of Apple trees and logs to use perlin noise and not fill ratio,
otherwise you'd always end up with Apple logs in Aspen tree areas,
which would be suspicious. There still is a bit of a mix.
2016-01-05 02:56:20 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:aspen_wood 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:aspen_tree'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:stick 4',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2016-03-06 12:16:33 +01:00
|
|
|
output = 'default:sign_wall_steel 3',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
|
|
|
{'', 'group:stick', ''},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sign_wall_wood 3',
|
2013-05-19 18:43:04 +02:00
|
|
|
recipe = {
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'', 'group:stick', ''},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:torch 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:coal_lump'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:pick_wood',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'', 'group:stick', ''},
|
|
|
|
{'', 'group:stick', ''},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:pick_stone',
|
|
|
|
recipe = {
|
|
|
|
{'group:stone', 'group:stone', 'group:stone'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'', 'group:stick', ''},
|
|
|
|
{'', 'group:stick', ''},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:pick_steel',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'', 'group:stick', ''},
|
|
|
|
{'', 'group:stick', ''},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:pick_bronze',
|
|
|
|
recipe = {
|
|
|
|
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'', 'group:stick', ''},
|
|
|
|
{'', 'group:stick', ''},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:pick_mese',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'', 'group:stick', ''},
|
|
|
|
{'', 'group:stick', ''},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:pick_diamond',
|
|
|
|
recipe = {
|
|
|
|
{'default:diamond', 'default:diamond', 'default:diamond'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'', 'group:stick', ''},
|
|
|
|
{'', 'group:stick', ''},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:shovel_wood',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:shovel_stone',
|
|
|
|
recipe = {
|
|
|
|
{'group:stone'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:shovel_steel',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:shovel_bronze',
|
|
|
|
recipe = {
|
|
|
|
{'default:bronze_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:shovel_mese',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese_crystal'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:shovel_diamond',
|
|
|
|
recipe = {
|
|
|
|
{'default:diamond'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_wood',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood', 'group:wood'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:wood', 'group:stick'},
|
|
|
|
{'', 'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_stone',
|
|
|
|
recipe = {
|
|
|
|
{'group:stone', 'group:stone'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stone', 'group:stick'},
|
|
|
|
{'', 'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_steel',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'default:steel_ingot', 'group:stick'},
|
|
|
|
{'', 'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_bronze',
|
|
|
|
recipe = {
|
|
|
|
{'default:bronze_ingot', 'default:bronze_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'default:bronze_ingot', 'group:stick'},
|
|
|
|
{'', 'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_mese',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese_crystal', 'default:mese_crystal'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'default:mese_crystal', 'group:stick'},
|
|
|
|
{'', 'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_diamond',
|
|
|
|
recipe = {
|
|
|
|
{'default:diamond', 'default:diamond'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'default:diamond', 'group:stick'},
|
|
|
|
{'', 'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-06-24 11:06:41 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_wood',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood', 'group:wood'},
|
2014-07-20 18:42:30 +02:00
|
|
|
{'group:stick', 'group:wood'},
|
|
|
|
{'group:stick',''},
|
2013-06-24 11:06:41 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_stone',
|
|
|
|
recipe = {
|
|
|
|
{'group:stone', 'group:stone'},
|
2014-07-20 18:42:30 +02:00
|
|
|
{'group:stick', 'group:stone'},
|
|
|
|
{'group:stick', ''},
|
2013-06-24 11:06:41 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_steel',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot'},
|
2014-07-20 18:42:30 +02:00
|
|
|
{'group:stick', 'default:steel_ingot'},
|
|
|
|
{'group:stick', ''},
|
2013-06-24 11:06:41 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_bronze',
|
|
|
|
recipe = {
|
|
|
|
{'default:bronze_ingot', 'default:bronze_ingot'},
|
2014-07-20 18:42:30 +02:00
|
|
|
{'group:stick', 'default:bronze_ingot'},
|
|
|
|
{'group:stick', ''},
|
2013-06-24 11:06:41 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_mese',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese_crystal', 'default:mese_crystal'},
|
2014-07-20 18:42:30 +02:00
|
|
|
{'group:stick', 'default:mese_crystal'},
|
|
|
|
{'group:stick', ''},
|
2013-06-24 11:06:41 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:axe_diamond',
|
|
|
|
recipe = {
|
|
|
|
{'default:diamond', 'default:diamond'},
|
2014-07-20 18:42:30 +02:00
|
|
|
{'group:stick', 'default:diamond'},
|
|
|
|
{'group:stick', ''},
|
2013-06-24 11:06:41 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sword_wood',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood'},
|
|
|
|
{'group:wood'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sword_stone',
|
|
|
|
recipe = {
|
|
|
|
{'group:stone'},
|
|
|
|
{'group:stone'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sword_steel',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot'},
|
|
|
|
{'default:steel_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sword_bronze',
|
|
|
|
recipe = {
|
|
|
|
{'default:bronze_ingot'},
|
|
|
|
{'default:bronze_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sword_mese',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese_crystal'},
|
|
|
|
{'default:mese_crystal'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sword_diamond',
|
|
|
|
recipe = {
|
|
|
|
{'default:diamond'},
|
|
|
|
{'default:diamond'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2014-11-30 08:17:50 +01:00
|
|
|
output = 'default:rail 24',
|
2013-05-19 18:43:04 +02:00
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot', '', 'default:steel_ingot'},
|
2013-09-16 05:49:56 +02:00
|
|
|
{'default:steel_ingot', 'group:stick', 'default:steel_ingot'},
|
2013-05-19 18:43:04 +02:00
|
|
|
{'default:steel_ingot', '', 'default:steel_ingot'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:chest',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
|
|
|
{'group:wood', '', 'group:wood'},
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:chest_locked',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
|
|
|
{'group:wood', 'default:steel_ingot', 'group:wood'},
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-05-22 11:31:21 +02:00
|
|
|
minetest.register_craft( {
|
|
|
|
type = "shapeless",
|
|
|
|
output = "default:chest_locked",
|
|
|
|
recipe = {"default:chest", "default:steel_ingot"},
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:furnace',
|
|
|
|
recipe = {
|
|
|
|
{'group:stone', 'group:stone', 'group:stone'},
|
|
|
|
{'group:stone', '', 'group:stone'},
|
|
|
|
{'group:stone', 'group:stone', 'group:stone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "default:bronze_ingot",
|
|
|
|
recipe = {"default:steel_ingot", "default:copper_ingot"},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:coalblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:coal_lump', 'default:coal_lump', 'default:coal_lump'},
|
|
|
|
{'default:coal_lump', 'default:coal_lump', 'default:coal_lump'},
|
|
|
|
{'default:coal_lump', 'default:coal_lump', 'default:coal_lump'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:coal_lump 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:coalblock'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:steelblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:steel_ingot 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:steelblock'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:copperblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'},
|
|
|
|
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'},
|
|
|
|
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:copper_ingot 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:copperblock'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:bronzeblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'},
|
|
|
|
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'},
|
|
|
|
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:bronze_ingot 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:bronzeblock'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:goldblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
|
|
|
|
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
|
|
|
|
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:gold_ingot 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:goldblock'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:diamondblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:diamond', 'default:diamond', 'default:diamond'},
|
|
|
|
{'default:diamond', 'default:diamond', 'default:diamond'},
|
|
|
|
{'default:diamond', 'default:diamond', 'default:diamond'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:diamond 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:diamondblock'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sandstone',
|
|
|
|
recipe = {
|
|
|
|
{'group:sand', 'group:sand'},
|
|
|
|
{'group:sand', 'group:sand'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sand 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:sandstone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2014-04-17 14:21:21 +02:00
|
|
|
output = 'default:sandstonebrick 4',
|
2013-05-19 18:43:04 +02:00
|
|
|
recipe = {
|
|
|
|
{'default:sandstone', 'default:sandstone'},
|
|
|
|
{'default:sandstone', 'default:sandstone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-23 05:37:19 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:sandstone_block 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:sandstone', 'default:sandstone', 'default:sandstone'},
|
|
|
|
{'default:sandstone', 'default:sandstone', 'default:sandstone'},
|
|
|
|
{'default:sandstone', 'default:sandstone', 'default:sandstone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:clay',
|
|
|
|
recipe = {
|
|
|
|
{'default:clay_lump', 'default:clay_lump'},
|
|
|
|
{'default:clay_lump', 'default:clay_lump'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-03-25 21:18:24 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:clay_lump 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:clay'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:brick',
|
|
|
|
recipe = {
|
|
|
|
{'default:clay_brick', 'default:clay_brick'},
|
|
|
|
{'default:clay_brick', 'default:clay_brick'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:clay_brick 4',
|
|
|
|
recipe = {
|
|
|
|
{'default:brick'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:paper',
|
|
|
|
recipe = {
|
|
|
|
{'default:papyrus', 'default:papyrus', 'default:papyrus'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:book',
|
|
|
|
recipe = {
|
|
|
|
{'default:paper'},
|
|
|
|
{'default:paper'},
|
|
|
|
{'default:paper'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:bookshelf',
|
|
|
|
recipe = {
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
|
|
|
{'default:book', 'default:book', 'default:book'},
|
|
|
|
{'group:wood', 'group:wood', 'group:wood'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2016-03-03 10:52:45 +01:00
|
|
|
output = 'default:ladder_wood 3',
|
2013-05-19 18:43:04 +02:00
|
|
|
recipe = {
|
2013-09-16 05:49:56 +02:00
|
|
|
{'group:stick', '', 'group:stick'},
|
|
|
|
{'group:stick', 'group:stick', 'group:stick'},
|
|
|
|
{'group:stick', '', 'group:stick'},
|
2013-05-19 18:43:04 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-03-03 10:52:45 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:ladder_steel 15',
|
|
|
|
recipe = {
|
|
|
|
{'default:steel_ingot', '', 'default:steel_ingot'},
|
|
|
|
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
|
|
|
|
{'default:steel_ingot', '', 'default:steel_ingot'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:mese',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'},
|
|
|
|
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'},
|
|
|
|
{'default:mese_crystal', 'default:mese_crystal', 'default:mese_crystal'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:mese_crystal 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:mese_crystal_fragment 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:mese_crystal'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2015-03-05 16:46:49 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:meselamp 1',
|
|
|
|
recipe = {
|
|
|
|
{'', 'default:mese_crystal',''},
|
|
|
|
{'default:mese_crystal', 'default:glass', 'default:mese_crystal'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:obsidian_shard 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:obsidian'}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:obsidian',
|
|
|
|
recipe = {
|
|
|
|
{'default:obsidian_shard', 'default:obsidian_shard', 'default:obsidian_shard'},
|
|
|
|
{'default:obsidian_shard', 'default:obsidian_shard', 'default:obsidian_shard'},
|
|
|
|
{'default:obsidian_shard', 'default:obsidian_shard', 'default:obsidian_shard'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-06-08 18:08:48 +02:00
|
|
|
minetest.register_craft({
|
2014-12-12 17:15:48 +01:00
|
|
|
output = 'default:obsidianbrick 4',
|
2013-06-08 18:08:48 +02:00
|
|
|
recipe = {
|
|
|
|
{'default:obsidian', 'default:obsidian'},
|
|
|
|
{'default:obsidian', 'default:obsidian'}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-23 05:37:19 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:obsidian_block 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:obsidian', 'default:obsidian', 'default:obsidian'},
|
|
|
|
{'default:obsidian', 'default:obsidian', 'default:obsidian'},
|
|
|
|
{'default:obsidian', 'default:obsidian', 'default:obsidian'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
2014-04-17 14:21:21 +02:00
|
|
|
output = 'default:stonebrick 4',
|
2013-05-19 18:43:04 +02:00
|
|
|
recipe = {
|
|
|
|
{'default:stone', 'default:stone'},
|
|
|
|
{'default:stone', 'default:stone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-23 05:37:19 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:stone_block 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:stone', 'default:stone', 'default:stone'},
|
|
|
|
{'default:stone', 'default:stone', 'default:stone'},
|
|
|
|
{'default:stone', 'default:stone', 'default:stone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
2014-04-17 14:21:21 +02:00
|
|
|
output = 'default:desert_stonebrick 4',
|
2013-05-19 18:43:04 +02:00
|
|
|
recipe = {
|
|
|
|
{'default:desert_stone', 'default:desert_stone'},
|
|
|
|
{'default:desert_stone', 'default:desert_stone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-23 05:37:19 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:desert_stone_block 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:desert_stone', 'default:desert_stone', 'default:desert_stone'},
|
|
|
|
{'default:desert_stone', 'default:desert_stone', 'default:desert_stone'},
|
|
|
|
{'default:desert_stone', 'default:desert_stone', 'default:desert_stone'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:snowblock',
|
|
|
|
recipe = {
|
|
|
|
{'default:snow', 'default:snow', 'default:snow'},
|
|
|
|
{'default:snow', 'default:snow', 'default:snow'},
|
|
|
|
{'default:snow', 'default:snow', 'default:snow'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'default:snow 9',
|
|
|
|
recipe = {
|
|
|
|
{'default:snowblock'},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Crafting (tool repair)
|
|
|
|
--
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "toolrepair",
|
|
|
|
additional_wear = -0.02,
|
|
|
|
})
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Cooking recipes
|
|
|
|
--
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:glass",
|
|
|
|
recipe = "group:sand",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:obsidian_glass",
|
|
|
|
recipe = "default:obsidian_shard",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:stone",
|
|
|
|
recipe = "default:cobble",
|
|
|
|
})
|
|
|
|
|
2015-01-20 22:48:43 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:stone",
|
|
|
|
recipe = "default:mossycobble",
|
|
|
|
})
|
|
|
|
|
2014-04-07 16:29:00 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:desert_stone",
|
|
|
|
recipe = "default:desert_cobble",
|
|
|
|
})
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:steel_ingot",
|
|
|
|
recipe = "default:iron_lump",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:copper_ingot",
|
|
|
|
recipe = "default:copper_lump",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:gold_ingot",
|
|
|
|
recipe = "default:gold_lump",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "default:clay_brick",
|
|
|
|
recipe = "default:clay_lump",
|
|
|
|
})
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Fuels
|
|
|
|
--
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:tree",
|
|
|
|
burntime = 30,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:junglegrass",
|
|
|
|
burntime = 2,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:leaves",
|
|
|
|
burntime = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:cactus",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:papyrus",
|
|
|
|
burntime = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:bookshelf",
|
|
|
|
burntime = 30,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:fence_wood",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
2016-03-09 11:08:41 +01:00
|
|
|
recipe = "default:fence_acacia_wood",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:fence_junglewood",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:fence_pine_wood",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:fence_aspen_wood",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:ladder_wood",
|
2013-05-19 18:43:04 +02:00
|
|
|
burntime = 5,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:wood",
|
|
|
|
burntime = 7,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:lava_source",
|
|
|
|
burntime = 60,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:torch",
|
|
|
|
burntime = 4,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
2016-03-09 11:08:41 +01:00
|
|
|
recipe = "default:sign_wall_wood",
|
2013-05-19 18:43:04 +02:00
|
|
|
burntime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:chest",
|
|
|
|
burntime = 30,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:chest_locked",
|
|
|
|
burntime = 30,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:nyancat",
|
|
|
|
burntime = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:nyancat_rainbow",
|
|
|
|
burntime = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
2015-07-01 14:03:14 +02:00
|
|
|
recipe = "group:sapling",
|
2013-05-19 18:43:04 +02:00
|
|
|
burntime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:apple",
|
|
|
|
burntime = 3,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:coal_lump",
|
|
|
|
burntime = 40,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:coalblock",
|
|
|
|
burntime = 370,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "default:grass_1",
|
|
|
|
burntime = 2,
|
|
|
|
})
|
2014-10-21 19:53:04 +02:00
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
2015-07-01 14:03:14 +02:00
|
|
|
recipe = "default:dry_grass_1",
|
|
|
|
burntime = 2,
|
2014-10-21 19:53:04 +02:00
|
|
|
})
|
|
|
|
|