mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-29 10:03:44 +01:00
Fix controller gui
Added the same changes that were made to the drawer formspec to the controller formspec to not rely on default.
This commit is contained in:
parent
8fd4be6567
commit
5f35fa308f
@ -78,17 +78,16 @@ end
|
|||||||
local function controller_formspec(pos, meta_current_state)
|
local function controller_formspec(pos, meta_current_state)
|
||||||
local formspec =
|
local formspec =
|
||||||
"size[8,8.5]"..
|
"size[8,8.5]"..
|
||||||
default.gui_bg..
|
drawers.gui_bg..
|
||||||
default.gui_bg_img..
|
drawers.gui_bg_img..
|
||||||
default.gui_slots..
|
drawers.gui_slots..
|
||||||
"label[0,0;" .. S("Current State: ") .. meta_current_state .. "]" ..
|
"label[0,0;" .. S("Current State: ") .. meta_current_state .. "]" ..
|
||||||
"list[current_name;src;3.5,1.75;1,1;]"..
|
"list[current_name;src;3.5,1.75;1,1;]"..
|
||||||
"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_player;main]"..
|
"listring[current_player;main]"..
|
||||||
"listring[current_name;src]"..
|
"listring[current_name;src]"..
|
||||||
"listring[current_player;main]"..
|
"listring[current_player;main]"
|
||||||
default.get_hotbar_bg(0, 4.25)
|
|
||||||
return formspec
|
return formspec
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user