2017-02-12 05:24:30 +01:00
|
|
|
-- internationalization boilerplate
|
|
|
|
local MP = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
local S, NS = dofile(MP.."/intllib.lua")
|
|
|
|
|
2014-07-04 11:28:19 +02:00
|
|
|
minetest.register_craftitem("currency:minegeld", {
|
2017-02-12 05:24:30 +01:00
|
|
|
description = S("1 MineGeld Note"),
|
2014-07-04 11:28:19 +02:00
|
|
|
inventory_image = "minegeld.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
groups = {minegeld = 1}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("currency:minegeld_5", {
|
2017-02-12 05:24:30 +01:00
|
|
|
description = S("5 MineGeld Note"),
|
2014-07-04 11:28:19 +02:00
|
|
|
inventory_image = "minegeld_5.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
groups = {minegeld = 1}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("currency:minegeld_10", {
|
2017-02-12 05:24:30 +01:00
|
|
|
description = S("10 MineGeld Note"),
|
2014-07-04 11:28:19 +02:00
|
|
|
inventory_image = "minegeld_10.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
groups = {minegeld = 1}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("currency:minegeld_bundle", {
|
2017-02-12 05:24:30 +01:00
|
|
|
description = S("Bundle of random Minegeld notes"),
|
2014-07-04 11:28:19 +02:00
|
|
|
inventory_image = "minegeld_bundle.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
})
|