Compare commits

..

No commits in common. "73bdf9b28a5b6725ecb2ca8064cf28ad71557cdf" and "fce3b46407aed0b966f9149d76da4a38ab280128" have entirely different histories.

3 changed files with 6 additions and 19 deletions

@ -1 +1 @@
Subproject commit 30c292d51e6a289c2f33bb5f0ad9f3774289a018
Subproject commit 10970201c9961fc34158b68dd14ff1e073e1124e

View file

@ -1,3 +1,2 @@
name = map_maker
depends = ctf_map_core
optional_depends = worldedit
depends = ctf_map_core, worldedit

View file

@ -10,22 +10,10 @@ default.LIGHT_MAX = 14
-- GUI related stuff
minetest.register_on_joinplayer(function(player)
-- Set formspec prepend
local formspec = [[
player:set_formspec_prepend([[
bgcolor[#080808BB;true]
listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]
]]
local name = player:get_player_name()
local info = minetest.get_player_information(name)
if info.formspec_version > 1 then
formspec = formspec .. "background9[5,5;1,1;gui_formbg.png;true;10]"
else
formspec = formspec .. "background[5,5;1,1;gui_formbg.png;true]"
end
player:set_formspec_prepend(formspec)
background[5,5;1,1;gui_formbg.png;true]
listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF] ]])
end)
function default.get_hotbar_bg(x,y)