turn off window darkening for all formspecs

(I still want the pause menu to darken but not practical now)
This commit is contained in:
Vanessa Dannenberg 2021-02-25 22:54:23 -05:00
parent bf3c4c868d
commit e3286b55f1
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ minetest.register_on_joinplayer(function(player)
local formspec = [[
bgcolor[#080808BB;true]
listcolors[#FFFFFF30;#B0B0B0;#606060;#A0A0A0;#FFF]
bgcolor[#F0F0F0FF;false]
style_type[button;bgcolor=#B0B0B0FF]
style_type[button_exit;bgcolor=#B0B0B0FF]
style_type[image_button;bgcolor=#B0B0B0FF;border=false]

View File

@ -246,6 +246,7 @@ sed -i 's/"field\[.*")/ \
$workdir"/mods/technic/machines/register/battery_box.lua"
sed -i "s/listcolors\[.*\]/listcolors[#FFFFFF30;#B0B0B0;#606060;#A0A0A0;#FFF] \
\n\t\t\tbgcolor["$form_bgcolor";false] \
\n\t\t\tstyle_type[button;bgcolor="$btn_color"] \
\n\t\t\tstyle_type[button_exit;bgcolor="$btn_color"] \
\n\t\t\tstyle_type[image_button;bgcolor="$btn_color";border=false] \