mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-29 21:30:26 +02:00
Make gui part of default
This commit is contained in:
@ -12,9 +12,9 @@ LIGHT_MAX = 14
|
||||
default = {}
|
||||
|
||||
-- GUI related stuff
|
||||
gui_bg = "bgcolor[#080808BB;true]"
|
||||
gui_bg_img = "background[5,5;1,1;gui_formbg.png;true]"
|
||||
gui_slots = "listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]"
|
||||
default.gui_bg = "bgcolor[#080808BB;true]"
|
||||
default.gui_bg_img = "background[5,5;1,1;gui_formbg.png;true]"
|
||||
default.gui_slots = "listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]"
|
||||
|
||||
function default.get_hotbar_bg(x,y)
|
||||
local out = ""
|
||||
@ -24,10 +24,10 @@ function default.get_hotbar_bg(x,y)
|
||||
return out
|
||||
end
|
||||
|
||||
gui_suvival_form = "size[8,8.5]"..
|
||||
gui_bg..
|
||||
gui_bg_img..
|
||||
gui_slots..
|
||||
default.gui_suvival_form = "size[8,8.5]"..
|
||||
default.gui_bg..
|
||||
default.gui_bg_img..
|
||||
default.gui_slots..
|
||||
"list[current_player;main;0,4.25;8,1;]"..
|
||||
"list[current_player;main;0,5.5;8,3;8]"..
|
||||
"list[current_player;craft;1.75,0.5;3,3;]"..
|
||||
|
Reference in New Issue
Block a user