add 5, 10, 25 cent coins, and 100 Mg note

This commit is contained in:
Vanessa Dannenberg 2018-09-21 17:57:42 -04:00
parent aa251997f3
commit 03ad637fb1
5 changed files with 28 additions and 0 deletions

@ -2,6 +2,27 @@
local MP = minetest.get_modpath(minetest.get_current_modname()) local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua") local S, NS = dofile(MP.."/intllib.lua")
minetest.register_craftitem("currency:minegeld_cent_5", {
description = S("5 Minegeld cent coin"),
inventory_image = "minegeld_cent_5.png",
stack_max = 30000,
groups = {minegeld = 1}
})
minetest.register_craftitem("currency:minegeld_cent_10", {
description = S("10 Minegeld cent coin"),
inventory_image = "minegeld_cent_10.png",
stack_max = 30000,
groups = {minegeld = 1}
})
minetest.register_craftitem("currency:minegeld_cent_25", {
description = S("25 Minegeld cent coin"),
inventory_image = "minegeld_cent_25.png",
stack_max = 30000,
groups = {minegeld = 1}
})
minetest.register_craftitem("currency:minegeld", { minetest.register_craftitem("currency:minegeld", {
description = S("1 Minegeld Note"), description = S("1 Minegeld Note"),
inventory_image = "minegeld.png", inventory_image = "minegeld.png",
@ -30,6 +51,13 @@ minetest.register_craftitem("currency:minegeld_50", {
groups = {minegeld = 1} groups = {minegeld = 1}
}) })
minetest.register_craftitem("currency:minegeld_100", {
description = S("100 Minegeld Note"),
inventory_image = "minegeld_100.png",
stack_max = 30000,
groups = {minegeld = 1}
})
minetest.register_craftitem("currency:minegeld_bundle", { minetest.register_craftitem("currency:minegeld_bundle", {
description = S("Bundle of random Minegeld notes"), description = S("Bundle of random Minegeld notes"),
inventory_image = "minegeld_bundle.png", inventory_image = "minegeld_bundle.png",

BIN
textures/minegeld_100.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB