add crafts to exchange between 50 and 100 Mg notes

allow to break a 5 into ones.
This commit is contained in:
Vanessa Dannenberg 2018-09-21 18:04:00 -04:00
parent cb58511b77
commit 335e1c8096

@ -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",