Tweak wind mill formspec
This commit is contained in:
parent
900bce29d4
commit
dbb83ba6e3
@ -797,8 +797,8 @@ local function windMillFormspec(charging)
|
|||||||
"label[0.5,0.5;"..S("Wind Mill").."]",
|
"label[0.5,0.5;"..S("Wind Mill").."]",
|
||||||
"list[context;charged;4.9,1.8;1,1]",
|
"list[context;charged;4.9,1.8;1,1]",
|
||||||
"listring[context;charged]",
|
"listring[context;charged]",
|
||||||
(charging>0 and "image[4.9,2.8;1,1;industrialtest_gui_wind_bg.png^[lowpart:"..charging..":industrialtest_gui_wind_fg.png]"
|
(charging>0 and "image[4.9,3;1,1;industrialtest_gui_wind_bg.png^[lowpart:"..charging..":industrialtest_gui_wind_fg.png]"
|
||||||
or "image[4.9,2.8;1,1;industrialtest_gui_wind_bg.png]"),
|
or "image[4.9,3;1,1;industrialtest_gui_wind_bg.png]"),
|
||||||
"list[current_player;main;0.5,6.25;8,1]list[current_player;main;0.5,7.5;8,3;8]"
|
"list[current_player;main;0.5,6.25;8,1]list[current_player;main;0.5,7.5;8,3;8]"
|
||||||
}
|
}
|
||||||
elseif industrialtest.mclAvailable then
|
elseif industrialtest.mclAvailable then
|
||||||
@ -808,8 +808,8 @@ local function windMillFormspec(charging)
|
|||||||
"list[context;charged;4.7,1.8;1,1]",
|
"list[context;charged;4.7,1.8;1,1]",
|
||||||
mcl_formspec.get_itemslot_bg(4.7,1.8,1,1),
|
mcl_formspec.get_itemslot_bg(4.7,1.8,1,1),
|
||||||
"listring[context;charged]",
|
"listring[context;charged]",
|
||||||
(charging>0 and "image[4.7,2.8;1,1;industrialtest_gui_wind_bg.png^[lowpart:"..charging..":industrialtest_gui_wind_fg.png]"
|
(charging>0 and "image[4.7,3;1,1;industrialtest_gui_wind_bg.png^[lowpart:"..charging..":industrialtest_gui_wind_fg.png]"
|
||||||
or "image[4.7,2.8;1,1;industrialtest_gui_wind_bg.png]"),
|
or "image[4.7,3;1,1;industrialtest_gui_wind_bg.png]"),
|
||||||
"list[current_player;main;0.5,7;9,3;9]",
|
"list[current_player;main;0.5,7;9,3;9]",
|
||||||
mcl_formspec.get_itemslot_bg(0.5,7,9,3),
|
mcl_formspec.get_itemslot_bg(0.5,7,9,3),
|
||||||
"list[current_player;main;0.5,10.24;9,1]",
|
"list[current_player;main;0.5,10.24;9,1]",
|
||||||
|
Loading…
Reference in New Issue
Block a user