From 091ac3ecfba6597810cb65e682eda2b4458c1a6c Mon Sep 17 00:00:00 2001 From: Billy S Date: Sat, 22 Dec 2018 22:19:20 -0500 Subject: [PATCH] Added dynamic inventory images for alchemy beakers --- mods/alchemy/beakers.lua | 1 + mods/alchemy/textures/beaker_empty.png | Bin 0 -> 699 bytes mods/alchemy/textures/beaker_mask.png | Bin 0 -> 223 bytes 3 files changed, 1 insertion(+) create mode 100644 mods/alchemy/textures/beaker_empty.png create mode 100644 mods/alchemy/textures/beaker_mask.png diff --git a/mods/alchemy/beakers.lua b/mods/alchemy/beakers.lua index e132168..b3983ac 100644 --- a/mods/alchemy/beakers.lua +++ b/mods/alchemy/beakers.lua @@ -53,6 +53,7 @@ local function register_beaker(name, description, texture) paramtype = "light", stack_max = 1, sunlight_propagates = true, + inventory_image = texture .. "^beaker_mask.png^[makealpha:0,0,0^beaker_empty.png", tiles = { "beaker.png", diff --git a/mods/alchemy/textures/beaker_empty.png b/mods/alchemy/textures/beaker_empty.png new file mode 100644 index 0000000000000000000000000000000000000000..5a9342a180c3efaf2163fd515c18fa7bce3d4b90 GIT binary patch literal 699 zcmV;s0!00ZP)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00JXPL_t(o!^Kv;j?+L89y__a zTsXI%wK;i+ANShuSL=hAq=q%(5A~?j!5#qChv$4J2 zj|xjCq{N#{#8kHR&CEC7&a8*%Kbx@%;JPka&mZOQGKuKMwX3vKGXKG*nWEA3H$j1j zi0<8gN{vQiX^!$L0+mXI-hb}XPPvqSJO1jQPb{xrZ z@__E%xxN%1i+~|7b!!VZSFjq1(45L&wjhnY_=gDOf(UDapnM4$e;2eH$ z-y$NSdcAI}N?zy)^2!!To@{U5qSIhb<=qQZCZdvQ(9xxXyf37b{N37YHc=Ei3+G@b z5Qbslp!0cg0%lPlsCZH4HZBYRg&FjEJ^mwj`KoviNQKP_wA*cX-Vc1SZ3rQdBuU|* zLI}973n7u4HUSB+$v7U5^sTDK-V9l==#EyInQ~lv4UmQ-8{)K#FvY zF|1bE6zKO(^qnS?2|UlsSE}IjC*o9Kkphdw0)xQ-X_{g<90CA_-VkvdqtofY^G3O! h<2Z=3gnvopvOke}KsguZsP6y(002ovPDHLkV1f!2Dt`a~ literal 0 HcmV?d00001 diff --git a/mods/alchemy/textures/beaker_mask.png b/mods/alchemy/textures/beaker_mask.png new file mode 100644 index 0000000000000000000000000000000000000000..a1089e54c77d3f8f9c71550eb01af29806f8b931 GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzwj^(N7l!{JxM1({$v_d#0*}aI z1_nK45N51cYF`EvWH0gbb!C6VBhJjNwKU(x3n(O6;u=xnoS&PUnpeW$T$GwvlA5AW zo>`Ki;O^-g5Z=fq4pijs>Eaj?aro^uM=qefE*EFM_!mB}FThdZSh?*3=hzI-z(ihA zpu*2a?+?dBFgBPmRkT&ConE?zK BKtTWi literal 0 HcmV?d00001