2017-06-04 15:49:06 -07:00
|
|
|
-- internationalization boilerplate
|
|
|
|
local MP = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
local S, NS = dofile(MP.."/intllib.lua")
|
|
|
|
|
2016-08-23 16:44:37 -07:00
|
|
|
minetest.register_craftitem("currency:minegeld", {
|
2017-06-04 15:49:06 -07:00
|
|
|
description = S("1 MineGeld Note"),
|
2016-08-23 16:44:37 -07:00
|
|
|
inventory_image = "minegeld.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
groups = {minegeld = 1}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("currency:minegeld_5", {
|
2017-06-04 15:49:06 -07:00
|
|
|
description = S("5 MineGeld Note"),
|
2016-08-23 16:44:37 -07:00
|
|
|
inventory_image = "minegeld_5.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
groups = {minegeld = 1}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("currency:minegeld_10", {
|
2017-06-04 15:49:06 -07:00
|
|
|
description = S("10 MineGeld Note"),
|
2016-08-23 16:44:37 -07:00
|
|
|
inventory_image = "minegeld_10.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
groups = {minegeld = 1}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("currency:minegeld_bundle", {
|
2017-06-04 15:49:06 -07:00
|
|
|
description = S("Bundle of random Minegeld notes"),
|
2016-08-23 16:44:37 -07:00
|
|
|
inventory_image = "minegeld_bundle.png",
|
|
|
|
stack_max = 30000,
|
|
|
|
})
|