aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-17 10:16:02 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:48 +0200
commit498ebef3573ae27e9bb05a30b8dc8165ebc76e15 (patch)
tree5cc0eaedde2228b6665f553437c121fe62d7c5b6 /data
parentcebbaf1664f3005b3b9e66b104b9d4044b1ca277 (diff)
downloadminetest-498ebef3573ae27e9bb05a30b8dc8165ebc76e15.tar.gz
minetest-498ebef3573ae27e9bb05a30b8dc8165ebc76e15.tar.bz2
minetest-498ebef3573ae27e9bb05a30b8dc8165ebc76e15.zip
Add classic crafting recipes to default/init.lua
Diffstat (limited to 'data')
-rw-r--r--data/mods/default/init.lua261
1 files changed, 260 insertions, 1 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
index a0b381fb1..56df93a95 100644
--- a/data/mods/default/init.lua
+++ b/data/mods/default/init.lua
@@ -327,15 +327,274 @@ minetest.register_node("TNT", {
})
minetest.register_craft({
+ output = 'NodeItem "wood" 4',
+ recipe = {
+ {'NodeItem "tree"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'CraftItem "Stick" 4',
+ recipe = {
+ {'NodeItem "wood"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "wooden_fence" 2',
+ recipe = {
+ {'CraftItem "Stick"', 'CraftItem "Stick"', 'CraftItem "Stick"'},
+ {'CraftItem "Stick"', 'CraftItem "Stick"', 'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "sign_wall" 1',
+ recipe = {
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ {'', 'CraftItem "Stick"', ''},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "torch" 4',
+ recipe = {
+ {'CraftItem "lump_of_coal"'},
+ {'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "WPick" 4',
+ recipe = {
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ {'', 'CraftItem "Stick"', ''},
+ {'', 'CraftItem "Stick"', ''},
+ }
+})
+
+minetest.register_craft({
output = 'ToolItem "STPick" 4',
recipe = {
- {'NodeItem "cobble" 1', 'NodeItem "cobble" 1', 'NodeItem "cobble" 1'},
+ {'NodeItem "cobble"', 'NodeItem "cobble"', 'NodeItem "cobble"'},
+ {'', 'CraftItem "Stick"', ''},
+ {'', 'CraftItem "Stick"', ''},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "SteelPick" 4',
+ recipe = {
+ {'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"'},
{'', 'CraftItem "Stick"', ''},
{'', 'CraftItem "Stick"', ''},
}
})
minetest.register_craft({
+ output = 'ToolItem "MesePick" 4',
+ recipe = {
+ {'NodeItem "mese"', 'NodeItem "mese"', 'NodeItem "mese"'},
+ {'', 'CraftItem "Stick"', ''},
+ {'', 'CraftItem "Stick"', ''},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "WShovel" 4',
+ recipe = {
+ {'NodeItem "wood"'},
+ {'CraftItem "Stick"'},
+ {'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "STShovel" 4',
+ recipe = {
+ {'NodeItem "cobble"'},
+ {'CraftItem "Stick"'},
+ {'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "SteelShovel" 4',
+ recipe = {
+ {'CraftItem "steel_ingot"'},
+ {'CraftItem "Stick"'},
+ {'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "WAxe" 4',
+ recipe = {
+ {'NodeItem "wood"', 'NodeItem "wood"'},
+ {'NodeItem "wood"', 'CraftItem "Stick"'},
+ {'', 'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "STAxe" 4',
+ recipe = {
+ {'NodeItem "cobble"', 'NodeItem "cobble"'},
+ {'NodeItem "cobble"', 'CraftItem "Stick"'},
+ {'', 'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "SteelAxe" 4',
+ recipe = {
+ {'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"'},
+ {'CraftItem "steel_ingot"', 'CraftItem "Stick"'},
+ {'', 'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "WSword" 4',
+ recipe = {
+ {'NodeItem "wood"'},
+ {'NodeItem "wood"'},
+ {'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "STSword" 0',
+ recipe = {
+ {'NodeItem "cobble"'},
+ {'NodeItem "cobble"'},
+ {'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'ToolItem "SteelSword" 0',
+ recipe = {
+ {'CraftItem "steel_ingot"'},
+ {'CraftItem "steel_ingot"'},
+ {'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "rail" 15',
+ recipe = {
+ {'CraftItem "steel_ingot"', '', 'CraftItem "steel_ingot"'},
+ {'CraftItem "steel_ingot"', 'CraftItem "Stick"', 'CraftItem "steel_ingot"'},
+ {'CraftItem "steel_ingot"', '', 'CraftItem "steel_ingot"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "chest" 1',
+ recipe = {
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ {'NodeItem "wood"', '', 'NodeItem "wood"'},
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "locked_chest" 1',
+ recipe = {
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ {'NodeItem "wood"', 'CraftItem "steel_ingot"', 'NodeItem "wood"'},
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "furnace" 1',
+ recipe = {
+ {'NodeItem "cobble"', 'NodeItem "cobble"', 'NodeItem "cobble"'},
+ {'NodeItem "cobble"', '', 'NodeItem "cobble"'},
+ {'NodeItem "cobble"', 'NodeItem "cobble"', 'NodeItem "cobble"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "steelblock" 1',
+ recipe = {
+ {'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"'},
+ {'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"'},
+ {'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"', 'CraftItem "steel_ingot"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "sandstone" 1',
+ recipe = {
+ {'NodeItem "sand"', 'NodeItem "sand"'},
+ {'NodeItem "sand"', 'NodeItem "sand"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "clay" 1',
+ recipe = {
+ {'CraftItem "lump_of_clay"', 'CraftItem "lump_of_clay"'},
+ {'CraftItem "lump_of_clay"', 'CraftItem "lump_of_clay"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "brick" 1',
+ recipe = {
+ {'CraftItem "clay_brick"', 'CraftItem "clay_brick"'},
+ {'CraftItem "clay_brick"', 'CraftItem "clay_brick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'CraftItem "paper" 1',
+ recipe = {
+ {'NodeItem "papyrus"', 'NodeItem "papyrus"', 'NodeItem "papyrus"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'CraftItem "book" 1',
+ recipe = {
+ {'CraftItem "paper"'},
+ {'CraftItem "paper"'},
+ {'CraftItem "paper"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "bookshelf" 1',
+ recipe = {
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ {'CraftItem "book"', 'CraftItem "book"', 'CraftItem "book"'},
+ {'NodeItem "wood"', 'NodeItem "wood"', 'NodeItem "wood"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'NodeItem "ladder" 1',
+ recipe = {
+ {'CraftItem "Stick"', '', 'CraftItem "Stick"'},
+ {'CraftItem "Stick"', 'CraftItem "Stick"', 'CraftItem "Stick"'},
+ {'CraftItem "Stick"', '', 'CraftItem "Stick"'},
+ }
+})
+
+minetest.register_craft({
+ output = 'CraftItem "apple_iron" 1',
+ recipe = {
+ {'', 'CraftItem "steel_ingot"', ''},
+ {'CraftItem "steel_ingot"', 'CraftItem "apple"', 'CraftItem "steel_ingot"'},
+ {'', 'CraftItem "steel_ingot"', ''},
+ }
+})
+
+minetest.register_craft({
output = 'NodeItem "TNT" 4',
recipe = {
{'NodeItem "wood" 1'},