From 1ec302f396ad5cc661f616e2f07d19839ec589cd Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sat, 11 Jan 2020 16:22:23 +0100 Subject: [PATCH] Add mithril drawer upgrade --- LICENSE.txt | 5 +++-- init.lua | 9 +++++++++ mod.conf | 2 +- textures/drawers_upgrade_mithril.png | Bin 0 -> 220 bytes 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 textures/drawers_upgrade_mithril.png diff --git a/LICENSE.txt b/LICENSE.txt index f2073f0..c4a802a 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -4,7 +4,7 @@ Version 0.4.3 License of source code: ----------------------- -Copyright (C) 2017-2019 Linus Jahn +Copyright (C) 2017-2020 Linus Jahn Copyright (C) 2016 Mango Tango MIT License @@ -104,6 +104,7 @@ Copyright (C) 2014 Justin Aquadro (MIT): textures/drawers_upgrade_emerald.png textures/drawers_upgrade_gold.png textures/drawers_upgrade_iron.png + textures/drawers_upgrade_mithril.png (colors adapted by Linus Jahn , 2020) textures/drawers_upgrade_obsidian.png textures/drawers_upgrade_steel.png textures/drawers_upgrade_slot_bg.png (extracted from gui/drawers_1.png by LNJ ) @@ -114,4 +115,4 @@ Copyright (C) 2014 Justin Aquadro (MIT): textures/drawers_wood.png Everything not listed in here: -Copyright (C) 2017-2019 Linus Jahn (MIT) +Copyright (C) 2017-2020 Linus Jahn (MIT) diff --git a/init.lua b/init.lua index a139415..b49ddf2 100755 --- a/init.lua +++ b/init.lua @@ -325,6 +325,15 @@ elseif core.get_modpath("mcl_core") and mcl_core then }) 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 -- diff --git a/mod.conf b/mod.conf index bcaabeb..7561029 100644 --- a/mod.conf +++ b/mod.conf @@ -1,2 +1,2 @@ name = drawers -optional_depends = default, mcl_core, screwdriver, pipeworks, intllib +optional_depends = default, mcl_core, screwdriver, pipeworks, intllib, moreores diff --git a/textures/drawers_upgrade_mithril.png b/textures/drawers_upgrade_mithril.png new file mode 100644 index 0000000000000000000000000000000000000000..dcdd13eb0661185ee7f6d60f5c8c43fdaea82916 GIT binary patch literal 220 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!dVo)eE08wRpJ->GXlJ%8E$(z? zh;dQ&`QkXsnk2jVExubOMD3Z8^#A|=eZj}&fJzxlg8YIR9G=}s19Fl*T^vIyZq=S) zYimB=nloF&dCToKEoHv!7A-Op PXdQ#6tDnm{r-UW|3wBVP literal 0 HcmV?d00001