mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-23 07:03:44 +01:00
Add mithril drawer upgrade
This commit is contained in:
parent
0cf5202248
commit
1ec302f396
@ -4,7 +4,7 @@ Version 0.4.3
|
||||
|
||||
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>
|
||||
|
||||
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 <lnj@kaidan.im>, 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 <git@lnj.li>)
|
||||
@ -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 <lnj@kaidan.im> (MIT)
|
||||
Copyright (C) 2017-2020 Linus Jahn <lnj@kaidan.im> (MIT)
|
||||
|
9
init.lua
9
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
|
||||
--
|
||||
|
2
mod.conf
2
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
|
||||
|
BIN
textures/drawers_upgrade_mithril.png
Normal file
BIN
textures/drawers_upgrade_mithril.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 220 B |
Loading…
Reference in New Issue
Block a user