mirror of
https://github.com/Dragonop/claycrafter.git
synced 2024-11-09 17:03:44 +01:00
commit
a51b17ca63
@ -15,6 +15,7 @@ local function active_formspec(fuel_percent, item_percent)
|
|||||||
"image[3.75,1.5;1,1;gui_claycrafter_arrow_bg.png^[lowpart:"..
|
"image[3.75,1.5;1,1;gui_claycrafter_arrow_bg.png^[lowpart:"..
|
||||||
(item_percent)..":gui_claycrafter_arrow_fg.png^[transformR270]"..
|
(item_percent)..":gui_claycrafter_arrow_fg.png^[transformR270]"..
|
||||||
"list[current_name;dst;4.75,0.96;2,2;]"..
|
"list[current_name;dst;4.75,0.96;2,2;]"..
|
||||||
|
"list[current_name;vessels;1,1;2,2;]"..
|
||||||
"list[current_player;main;0,4.25;8,1;]"..
|
"list[current_player;main;0,4.25;8,1;]"..
|
||||||
"list[current_player;main;0,5.5;8,3;8]"..
|
"list[current_player;main;0,5.5;8,3;8]"..
|
||||||
"listring[current_name;dst]"..
|
"listring[current_name;dst]"..
|
||||||
@ -35,6 +36,7 @@ local inactive_formspec =
|
|||||||
"image[2.75,1.5;1,1;claycrafter_claycrafter_water_bg.png]"..
|
"image[2.75,1.5;1,1;claycrafter_claycrafter_water_bg.png]"..
|
||||||
"image[3.75,1.5;1,1;gui_claycrafter_arrow_bg.png^[transformR270]"..
|
"image[3.75,1.5;1,1;gui_claycrafter_arrow_bg.png^[transformR270]"..
|
||||||
"list[current_name;dst;4.75,0.96;2,2;]"..
|
"list[current_name;dst;4.75,0.96;2,2;]"..
|
||||||
|
"list[current_name;vessels;1,1;2,2;]"..
|
||||||
"list[current_player;main;0,4.25;8,1;]"..
|
"list[current_player;main;0,4.25;8,1;]"..
|
||||||
"list[current_player;main;0,5.5;8,3;8]"..
|
"list[current_player;main;0,5.5;8,3;8]"..
|
||||||
"listring[current_name;dst]"..
|
"listring[current_name;dst]"..
|
||||||
@ -179,6 +181,7 @@ minetest.register_abm({
|
|||||||
src = 1,
|
src = 1,
|
||||||
fuel = 1,
|
fuel = 1,
|
||||||
dst = 4,
|
dst = 4,
|
||||||
|
vessels = 4
|
||||||
}) do
|
}) do
|
||||||
if inv:get_size(listname) ~= size then
|
if inv:get_size(listname) ~= size then
|
||||||
inv:set_size(listname, size)
|
inv:set_size(listname, size)
|
||||||
|
Loading…
Reference in New Issue
Block a user