It would be wonderful if this would just... work?
This commit is contained in:
parent
dd933c7e46
commit
196e098c57
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
function get_element_constructor_formspec()
|
function get_element_constructor_formspec()
|
||||||
if not exchangeclone.mineclone then
|
if not exchangeclone.mineclone then
|
||||||
local formspec = {
|
local formspec = {
|
||||||
|
@ -21,7 +19,7 @@ function get_element_constructor_formspec()
|
||||||
return table.concat(formspec, "")
|
return table.concat(formspec, "")
|
||||||
else
|
else
|
||||||
local formspec = {
|
local formspec = {
|
||||||
"size[9,9]",
|
"size[9,10]",
|
||||||
"label[2,1;Orb]",
|
"label[2,1;Orb]",
|
||||||
"list[context;fuel;2,2;1,1;]",
|
"list[context;fuel;2,2;1,1;]",
|
||||||
mcl_formspec.get_itemslot_bg(2,2,1,1),
|
mcl_formspec.get_itemslot_bg(2,2,1,1),
|
||||||
|
@ -33,8 +31,8 @@ function get_element_constructor_formspec()
|
||||||
mcl_formspec.get_itemslot_bg(5,2,1,1),
|
mcl_formspec.get_itemslot_bg(5,2,1,1),
|
||||||
"list[current_player;main;0,5;9,3;9]",
|
"list[current_player;main;0,5;9,3;9]",
|
||||||
mcl_formspec.get_itemslot_bg(0,5,9,3),
|
mcl_formspec.get_itemslot_bg(0,5,9,3),
|
||||||
"list[current_player;main;0,6;9,1;]",
|
"list[current_player;main;0,8.5;9,1;]",
|
||||||
mcl_formspec.get_itemslot_bg(0,6,9,1),
|
mcl_formspec.get_itemslot_bg(0,8.5,9,1),
|
||||||
"listring[context;fuel]",
|
"listring[context;fuel]",
|
||||||
"listring[current_player;main]",
|
"listring[current_player;main]",
|
||||||
"listring[context;src]",
|
"listring[context;src]",
|
||||||
|
@ -42,6 +40,7 @@ function get_element_constructor_formspec()
|
||||||
"listring[context;dst]",
|
"listring[context;dst]",
|
||||||
"listring[current_player;main]"
|
"listring[current_player;main]"
|
||||||
}
|
}
|
||||||
|
return table.concat(formspec, "")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ function get_element_deconstructor_formspec()
|
||||||
return table.concat(formspec, "")
|
return table.concat(formspec, "")
|
||||||
else
|
else
|
||||||
local formspec = {
|
local formspec = {
|
||||||
"size[9,9]",
|
"size[9,10]",
|
||||||
"label[2,1;Fuel]",
|
"label[2,1;Fuel]",
|
||||||
"list[context;fuel;2,2;1,1;]",
|
"list[context;fuel;2,2;1,1;]",
|
||||||
mcl_formspec.get_itemslot_bg(2,2,1,1),
|
mcl_formspec.get_itemslot_bg(2,2,1,1),
|
||||||
|
@ -24,8 +24,8 @@ function get_element_deconstructor_formspec()
|
||||||
mcl_formspec.get_itemslot_bg(5,2,1,1),
|
mcl_formspec.get_itemslot_bg(5,2,1,1),
|
||||||
"list[current_player;main;0,5;9,3;9]",
|
"list[current_player;main;0,5;9,3;9]",
|
||||||
mcl_formspec.get_itemslot_bg(0,5,9,3),
|
mcl_formspec.get_itemslot_bg(0,5,9,3),
|
||||||
"list[current_player;main;0,6;9,1;]",
|
"list[current_player;main;0,8.5;9,1;]",
|
||||||
mcl_formspec.get_itemslot_bg(0,6,9,1),
|
mcl_formspec.get_itemslot_bg(0,8.5,9,1),
|
||||||
"listring[context;fuel]",
|
"listring[context;fuel]",
|
||||||
"listring[current_player;main]",
|
"listring[current_player;main]",
|
||||||
"listring[context;dst]",
|
"listring[context;dst]",
|
||||||
|
|
|
@ -11,17 +11,18 @@ function get_energy_collector_formspec()
|
||||||
return table.concat(formspec, "")
|
return table.concat(formspec, "")
|
||||||
else
|
else
|
||||||
local formspec = {
|
local formspec = {
|
||||||
"size[8,9]",
|
"size[8,10]",
|
||||||
"label[3,2;Orb]",
|
"label[3,2;Orb]",
|
||||||
"list[context;dist;4,2;1,1;]",
|
"list[context;dist;4,2;1,1;]",
|
||||||
mcl_formspec.get_itemslot_bg(4,2,1,1),
|
mcl_formspec.get_itemslot_bg(4,2,1,1),
|
||||||
"list[current_player;main;0,5;9,3;9]",
|
"list[current_player;main;0,5;9,3;9]",
|
||||||
mcl_formspec.get_itemslot_bg(0,5,9,3),
|
mcl_formspec.get_itemslot_bg(0,5,9,3),
|
||||||
"list[current_player;main;0,6;9,1;]",
|
"list[current_player;main;0,8.5;9,1;]",
|
||||||
mcl_formspec.get_itemslot_bg(0,6,9,1),
|
mcl_formspec.get_itemslot_bg(0,8.5,9,1),
|
||||||
"listring[current_player;main]",
|
"listring[current_player;main]",
|
||||||
"listring[context;dst]"
|
"listring[context;dst]"
|
||||||
}
|
}
|
||||||
|
return table.concat(formspec, "")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue