mirror of
https://github.com/mt-mods/currency.git
synced 2025-03-20 09:12:42 +01:00
add crafts to exchange among coins
(and 25 cent to/from 1 Mg note)
This commit is contained in:
38
crafting.lua
38
crafting.lua
@ -23,6 +23,42 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
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",
|
||||
@ -77,8 +113,6 @@ minetest.register_craft({
|
||||
recipe = {"currency:minegeld_100" },
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "currency:minegeld_bundle",
|
||||
|
Reference in New Issue
Block a user