mirror of
https://github.com/minetest-mods/maptools.git
synced 2025-07-01 06:40:20 +02:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@ -16,6 +16,14 @@ minetest.register_craftitem("maptools:copper_coin", {
|
||||
stack_max = 10000,
|
||||
})
|
||||
|
||||
if maptools.config and maptools.config.enable_coin_crafting then
|
||||
minetest.register_craft({
|
||||
output = "maptools:copper_coin 10",
|
||||
type = "shapeless",
|
||||
recipe = { "default:copper_ingot", "default:copper_ingot" }
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("maptools:silver_coin", {
|
||||
description = S("Silver Coin"),
|
||||
inventory_image = "maptools_silver_coin.png",
|
||||
@ -23,6 +31,16 @@ minetest.register_craftitem("maptools:silver_coin", {
|
||||
stack_max = 10000,
|
||||
})
|
||||
|
||||
if maptools.config and maptools.config.enable_coin_crafting then
|
||||
if minetest.get_modpath("moreores") then
|
||||
minetest.register_craft({
|
||||
output = "maptools:silver_coin 10",
|
||||
type = "shapeless",
|
||||
recipe = { "moreores:silver_ingot", "moreores:silver_ingot" }
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_craftitem("maptools:gold_coin", {
|
||||
description = S("Gold Coin"),
|
||||
inventory_image = "maptools_gold_coin.png",
|
||||
@ -30,6 +48,14 @@ minetest.register_craftitem("maptools:gold_coin", {
|
||||
stack_max = 10000,
|
||||
})
|
||||
|
||||
if maptools.config and maptools.config.enable_coin_crafting then
|
||||
minetest.register_craft({
|
||||
output = "maptools:gold_coin 10",
|
||||
type = "shapeless",
|
||||
recipe = { "default:gold_ingot", "default:gold_ingot" }
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craftitem("maptools:infinitefuel", {
|
||||
description = S("Infinite Fuel"),
|
||||
inventory_image = "maptools_infinitefuel.png",
|
||||
|
Reference in New Issue
Block a user