mirror of
https://github.com/mt-mods/currency.git
synced 2024-11-30 00:03:43 +01:00
add crafts to exchange between 50 and 100 Mg notes
allow to break a 5 into ones.
This commit is contained in:
parent
cb58511b77
commit
335e1c8096
20
crafting.lua
20
crafting.lua
@ -29,6 +29,12 @@ minetest.register_craft({
|
|||||||
recipe = {"currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld"},
|
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({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "currency:minegeld_10",
|
output = "currency:minegeld_10",
|
||||||
@ -59,6 +65,20 @@ minetest.register_craft({
|
|||||||
recipe = {"currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10", "currency:minegeld_10"},
|
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({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "currency:minegeld_bundle",
|
output = "currency:minegeld_bundle",
|
||||||
|
Loading…
Reference in New Issue
Block a user