diff options
Diffstat (limited to 'currency/crafting.lua')
-rw-r--r-- | currency/crafting.lua | 252 |
1 files changed, 169 insertions, 83 deletions
diff --git a/currency/crafting.lua b/currency/crafting.lua index ab1374c..5013fd2 100644 --- a/currency/crafting.lua +++ b/currency/crafting.lua @@ -1,83 +1,169 @@ -minetest.register_craft({
- output = 'currency:safe',
- recipe = {
- {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
- {'default:steel_ingot', 'default:mese_crystal', 'default:steel_ingot'},
- {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
- }
-})
-
-minetest.register_craft({
- output = 'currency:shop',
- recipe = {
- {'default:sign_wall'},
- {'default:chest_locked'},
- }
-})
-
-minetest.register_craft({
- output = 'currency:barter',
- recipe = {
- {'default:sign_wall'},
- {'default:chest'},
- }
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "currency:minegeld_5",
- recipe = {"currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld"},
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "currency:minegeld_10",
- recipe = {"currency:minegeld_5", "currency:minegeld_5"},
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "currency:minegeld_5 2",
- recipe = {"currency:minegeld_10"},
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "currency:minegeld 5",
- recipe = {"currency:minegeld_5"},
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "currency:minegeld_10 5",
- recipe = {"currency:minegeld_50"},
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "currency:minegeld_50",
- recipe = {"currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10"},
-})
-
-minetest.register_craft({
- type = "shapeless",
- output = "currency:minegeld_bundle",
- recipe = {
- "group:minegeld",
- "group:minegeld",
- "group:minegeld",
- "group:minegeld",
- "group:minegeld",
- "group:minegeld",
- "group:minegeld",
- "group:minegeld",
- "group:minegeld"
- },
-})
-
-minetest.register_craft({
- type = "fuel",
- recipe = "currency:minegeld_bundle",
- burntime = 1,
-})
-
+minetest.register_craft({ + output = 'currency:safe', + recipe = { + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:mese_crystal', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + } +}) + +minetest.register_craft({ + output = 'currency:shop', + recipe = { + {'default:sign_wall'}, + {'default:chest_locked'}, + } +}) + +minetest.register_craft({ + output = 'currency:barter', + recipe = { + {'default:sign_wall'}, + {'default:chest'}, + } +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_cent_10", + recipe = { + "currency:minegeld_cent_5", + "currency:minegeld_cent_5" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_cent_5 2", + recipe = {"currency:minegeld_cent_10"}, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_cent_25", + recipe = { + "currency:minegeld_cent_5", + "currency:minegeld_cent_5", + "currency:minegeld_cent_5", + "currency:minegeld_cent_5", + "currency:minegeld_cent_5" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_cent_5 5", + recipe = {"currency:minegeld_cent_25"}, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld", + recipe = { + "currency:minegeld_cent_25", + "currency:minegeld_cent_25", + "currency:minegeld_cent_25", + "currency:minegeld_cent_25" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_cent_25 4", + recipe = {"currency:minegeld"}, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_5", + recipe = { + "currency:minegeld", + "currency:minegeld", + "currency:minegeld", + "currency:minegeld", + "currency:minegeld" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld 5", + recipe = {"currency:minegeld_5"}, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_10", + recipe = { + "currency:minegeld_5", + "currency:minegeld_5" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_5 2", + recipe = {"currency:minegeld_10"}, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld 5", + recipe = {"currency:minegeld_5"}, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_10 5", + recipe = {"currency:minegeld_50"}, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_50", + recipe = { + "currency:minegeld_10", + "currency:minegeld_10", + "currency:minegeld_10", + "currency:minegeld_10", + "currency:minegeld_10" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_100", + recipe = { + "currency:minegeld_50", + "currency:minegeld_50" + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_50 2", + recipe = {"currency:minegeld_100" }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "currency:minegeld_bundle", + recipe = { + "group:minegeld", + "group:minegeld", + "group:minegeld", + "group:minegeld", + "group:minegeld", + "group:minegeld", + "group:minegeld", + "group:minegeld", + "group:minegeld" + }, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "currency:minegeld_bundle", + burntime = 1, +}) + |