Use mcl_formspec.get_itemslot_bg_v4 instead of mcl_formspec.get_itemslot_bg
This commit is contained in:
@@ -36,13 +36,13 @@ local function getFormspec(self,pos)
|
||||
local fuel=self.getFuel(fluid)
|
||||
local tile=(fuel and fuel.texture or "industrialtest_gui_fluid_bg.png")
|
||||
local formspec={
|
||||
"list[context;src;2,1.8;1,1]",
|
||||
industrialtest.internal.getItemSlotBg(2,1.8,1,1),
|
||||
"list[context;src;2,1.8;1,1]",
|
||||
(fluidPercent>0 and "image[2,3;1,1;industrialtest_gui_fluid_bg.png^[lowpart:"..fluidPercent..":"..tile.."]" or "image[2,3;1,1;industrialtest_gui_fluid_bg.png]"),
|
||||
"list[context;dst;2,4.2;1,1]",
|
||||
industrialtest.internal.getItemSlotBg(2,4.2,1,1),
|
||||
"list[context;charged;6,3;1,1]",
|
||||
"list[context;dst;2,4.2;1,1]",
|
||||
industrialtest.internal.getItemSlotBg(6,3,1,1),
|
||||
"list[context;charged;6,3;1,1]",
|
||||
self.createPowerIndicatorWidget(powerPercent,9,1),
|
||||
"listring[context;src]",
|
||||
"listring[context;dst]"
|
||||
|
||||
Reference in New Issue
Block a user