mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-16 15:30:42 +01:00
4ea213c1e0
Due to concerns about form appearance, reduce mithril chest size to avoid its form exceeding screen height. This reduces it to the same size as the gold chest. Having two chest types of the same size looks silly now, but will be reasonable as soon as mithril chests get their long-planned special features.
47 lines
1.1 KiB
Lua
47 lines
1.1 KiB
Lua
minetest.register_craft({
|
|
output = 'technic:mithril_chest 1',
|
|
recipe = {
|
|
{'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
|
|
{'moreores:mithril_ingot','technic:gold_chest','moreores:mithril_ingot'},
|
|
{'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'technic:mithril_locked_chest 1',
|
|
recipe = {
|
|
{'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
|
|
{'moreores:mithril_ingot','technic:gold_locked_chest','moreores:mithril_ingot'},
|
|
{'moreores:mithril_ingot','moreores:mithril_ingot','moreores:mithril_ingot'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'technic:mithril_locked_chest 1',
|
|
recipe = {
|
|
{'technic:wrought_iron_ingot'},
|
|
{'technic:mithril_chest'},
|
|
}
|
|
})
|
|
|
|
technic.chests:register("Mithril", {
|
|
width = 15,
|
|
height = 6,
|
|
sort = true,
|
|
autosort = true,
|
|
infotext = false,
|
|
color = false,
|
|
locked = false,
|
|
})
|
|
|
|
technic.chests:register("Mithril", {
|
|
width = 15,
|
|
height = 6,
|
|
sort = true,
|
|
autosort = true,
|
|
infotext = false,
|
|
color = false,
|
|
locked = true,
|
|
})
|
|
|