Add mithril drawer upgrade

This commit is contained in:
Linus Jahn 2020-01-11 16:22:23 +01:00
parent 0cf5202248
commit 1ec302f396
4 changed files with 13 additions and 3 deletions

@ -4,7 +4,7 @@ Version 0.4.3
License of source code: License of source code:
----------------------- -----------------------
Copyright (C) 2017-2019 Linus Jahn <lnj@kaidan.im> Copyright (C) 2017-2020 Linus Jahn <lnj@kaidan.im>
Copyright (C) 2016 Mango Tango <mtango688@gmail.com> Copyright (C) 2016 Mango Tango <mtango688@gmail.com>
MIT License MIT License
@ -104,6 +104,7 @@ Copyright (C) 2014 Justin Aquadro (MIT):
textures/drawers_upgrade_emerald.png textures/drawers_upgrade_emerald.png
textures/drawers_upgrade_gold.png textures/drawers_upgrade_gold.png
textures/drawers_upgrade_iron.png textures/drawers_upgrade_iron.png
textures/drawers_upgrade_mithril.png (colors adapted by Linus Jahn <lnj@kaidan.im>, 2020)
textures/drawers_upgrade_obsidian.png textures/drawers_upgrade_obsidian.png
textures/drawers_upgrade_steel.png textures/drawers_upgrade_steel.png
textures/drawers_upgrade_slot_bg.png (extracted from gui/drawers_1.png by LNJ <git@lnj.li>) textures/drawers_upgrade_slot_bg.png (extracted from gui/drawers_1.png by LNJ <git@lnj.li>)
@ -114,4 +115,4 @@ Copyright (C) 2014 Justin Aquadro (MIT):
textures/drawers_wood.png textures/drawers_wood.png
Everything not listed in here: Everything not listed in here:
Copyright (C) 2017-2019 Linus Jahn <lnj@kaidan.im> (MIT) Copyright (C) 2017-2020 Linus Jahn <lnj@kaidan.im> (MIT)

@ -325,6 +325,15 @@ elseif core.get_modpath("mcl_core") and mcl_core then
}) })
end end
if core.get_modpath("moreores") then
drawers.register_drawer_upgrade("drawers:upgrade_mithril", {
description = S("Mithril Drawer Upgrade (x13)"),
inventory_image = "drawers_upgrade_mithril.png",
groups = {drawer_upgrade = 1200},
recipe_item = "moreores:mithril_ingot"
})
end
-- --
-- Register drawer trim -- Register drawer trim
-- --

@ -1,2 +1,2 @@
name = drawers name = drawers
optional_depends = default, mcl_core, screwdriver, pipeworks, intllib optional_depends = default, mcl_core, screwdriver, pipeworks, intllib, moreores

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B