ac7f25a20c
added lockpicks as well as gave support for all the locked stuff also updaed default mod
72 lines
1.7 KiB
Lua
72 lines
1.7 KiB
Lua
minetest.register_craftitem("currency:minegeld", {
|
|
description = "1 MineGeld Note",
|
|
inventory_image = "minegeld.png",
|
|
stack_max = 30000,
|
|
groups = {minegeld = 1}
|
|
})
|
|
|
|
minetest.register_craftitem("currency:minegeld_5", {
|
|
description = "5 MineGeld Note",
|
|
inventory_image = "minegeld_5.png",
|
|
stack_max = 30000,
|
|
groups = {minegeld = 1}
|
|
})
|
|
|
|
minetest.register_craftitem("currency:minegeld_10", {
|
|
description = "10 MineGeld Note",
|
|
inventory_image = "minegeld_10.png",
|
|
stack_max = 30000,
|
|
groups = {minegeld = 1}
|
|
})
|
|
|
|
minetest.register_craftitem("currency:minegeld_bundle", {
|
|
description = "Bundle of random Minegeld notes",
|
|
inventory_image = "minegeld_bundle.png",
|
|
stack_max = 30000,
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "currency:minegeld_5",
|
|
recipe = {"currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld", "currency:minegeld"},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "currency:minegeld_10",
|
|
recipe = {"currency:minegeld_5", "currency:minegeld_5"},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "currency:minegeld_5 2",
|
|
recipe = {"currency:minegeld_10"},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "currency:minegeld 5",
|
|
recipe = {"currency:minegeld_5"},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "currency:minegeld_bundle",
|
|
recipe = {
|
|
"group:minegeld",
|
|
"group:minegeld",
|
|
"group:minegeld",
|
|
"group:minegeld",
|
|
"group:minegeld",
|
|
"group:minegeld",
|
|
"group:minegeld",
|
|
"group:minegeld",
|
|
"group:minegeld"
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "currency:minegeld_bundle",
|
|
burntime = 1,
|
|
}) |