diff --git a/mods/beds/init.lua b/mods/beds/init.lua index a1a46ce9..a9d98f74 100644 --- a/mods/beds/init.lua +++ b/mods/beds/init.lua @@ -13,7 +13,7 @@ beds.get_translator = S beds.formspec = "size[8,11;true]" .. "no_prepend[]" .. - "bgcolor[#080808BB;true]" .. + "" .. "button_exit[2,10;4,0.75;leave;" .. esc(S("Leave Bed")) .. "]" local modpath = minetest.get_modpath("beds") diff --git a/mods/default/init.lua b/mods/default/init.lua index c84a9029..990f5587 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -16,9 +16,8 @@ default.get_translator = S minetest.register_on_joinplayer(function(player) -- Set formspec prepend 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] diff --git a/mods/dreambuilder_extras/customize-dreambuilder-game.sh b/mods/dreambuilder_extras/customize-dreambuilder-game.sh index 5ab4885d..20a1a219 100755 --- a/mods/dreambuilder_extras/customize-dreambuilder-game.sh +++ b/mods/dreambuilder_extras/customize-dreambuilder-game.sh @@ -245,8 +245,16 @@ sed -i 's/"field\[.*")/ \ \t\t\t\t\t)/' \ $workdir"/mods/technic/machines/register/battery_box.lua" +sed -i 's/INSERT_BGCOLOR/default.gui_bg = "bgcolor['"$form_bgcolor"';false]"/' \ + $workdir"/mods/dreambuilder_extras/init.lua" + +sed -i "s/bgcolor\[.*\]//" \ + $workdir"/mods/default/init.lua" + +sed -i "s/bgcolor\[.*\]//" \ + $workdir"/mods/beds/init.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] \ @@ -257,8 +265,7 @@ sed -i "s/listcolors\[.*\]/listcolors[#FFFFFF30;#B0B0B0;#606060;#A0A0A0;#FFF] \ $workdir"/mods/default/init.lua" sed -i 's/"style_type\[.*\]"/"style_type[label,textarea;font=mono]" \ -\t\t.."style_type[textarea;textcolor='"$editor_text_color"';border=false]" \ -\t\t.."bgcolor['"$form_bgcolor"';false]"/' \ +\t\t.."style_type[textarea;textcolor='"$editor_text_color"';border=false]"/' \ $workdir"/mods/mesecons_luacontroller/init.lua" sed -i 's/"size\[8,9\]" \.\./"size[8,9]" .. \ @@ -272,7 +279,6 @@ sed -i 's/"size\[8,8.5\]"\.\./"size[8,8.5]".. \ $workdir"/mods/pipeworks/compat-furnaces.lua" sed -i 's/"size\[8,7;\]" ../"size[8,7]" .. \ -\t"bgcolor['"$form_bgcolor"';false]" .. \ \t"image[-0.39,-0.4;10.7,9.1;vessels_inv_bg.png]" .. \ \t'"$inv_slot_colors"'/' \ $workdir"/mods/vessels/init.lua" diff --git a/mods/dreambuilder_extras/init.lua b/mods/dreambuilder_extras/init.lua index e2ee62f7..ed4de81e 100644 --- a/mods/dreambuilder_extras/init.lua +++ b/mods/dreambuilder_extras/init.lua @@ -3,7 +3,7 @@ -- -- by Vanessa Dannenberg -default.gui_bg = "bgcolor[#08080899;false]" +default.gui_bg = "bgcolor[#F0F0F0FF;false]" default.gui_survival_form = "size[8,8.5]".. default.gui_bg.. diff --git a/mods/mesecons_luacontroller/init.lua b/mods/mesecons_luacontroller/init.lua index e7a359be..550ac4d2 100644 --- a/mods/mesecons_luacontroller/init.lua +++ b/mods/mesecons_luacontroller/init.lua @@ -665,8 +665,7 @@ local function reset_formspec(meta, code, errmsg) errmsg = minetest.formspec_escape(tostring(errmsg or "")) meta:set_string("formspec", "size[12,10]" .."style_type[label,textarea;font=mono]" - .."style_type[textarea;textcolor=#000000FF;border=false]" - .."bgcolor[#F0F0F0FF;false]" + .."style_type[textarea;textcolor=#000000FF;border=false]" .."background[-0.2,-0.25;12.4,10.75;jeija_luac_background.png]" .."label[0.1,8.3;"..errmsg.."]" .."textarea[0.2,0.2;12.2,9.5;code;;"..code.."]" diff --git a/mods/vessels/init.lua b/mods/vessels/init.lua index 67a55a69..947da0a3 100644 --- a/mods/vessels/init.lua +++ b/mods/vessels/init.lua @@ -9,7 +9,6 @@ local S = minetest.get_translator("vessels") local vessels_shelf_formspec = "size[8,7]" .. - "bgcolor[#F0F0F0FF;false]" .. "image[-0.39,-0.4;10.7,9.1;vessels_inv_bg.png]" .. "listcolors[#00000000;#00000000;#00000000;#A0A0A0;#FFF]" .. "list[context;vessels;0,0.3;8,2;]" ..