fix ufo theme depends, tweak positions

This commit is contained in:
Vanessa Dannenberg 2021-03-24 23:41:19 -04:00
parent 26c666758b
commit ebf54d670a
4 changed files with 10 additions and 10 deletions

View File

@ -485,13 +485,13 @@ sed -i "/default.gui_slots/ {
##########
sed -i "/size\[8,5.5\]/ {
a \\\t\t$LISTCOLORS_HIDE_SLOTS
a \\\t\tdreambuilder_theme.make_inv_img_grid_v1(0, 1.42, 8, 1, true)..
a \\\t\tdreambuilder_theme.make_inv_img_grid_v1(0, 2.58, 8, 3, false)..
a \\\t\tdreambuilder_theme.single_slot_v1(3.4, 0, false)..
a \\\t$LISTCOLORS_HIDE_SLOTS
a \\\tdreambuilder_theme.make_inv_img_grid_v1(0, 1.46, 8, 1, true)..
a \\\tdreambuilder_theme.make_inv_img_grid_v1(0, 2.46, 8, 3, false)..
a \\\tdreambuilder_theme.single_slot_v1(3.5, -0.03, false)..
}" $workdir"/mods/ufos/furnace.lua"
echo "dreambuilder_theme_settings" >> $workdir"/mods/ufos/mod.conf"
echo "dreambuilder_theme_settings" >> $workdir"/mods/ufos/depends.txt"
##########

View File

@ -1 +1,2 @@
default
dreambuilder_theme_settings

View File

@ -4,10 +4,10 @@ ufos.fuel_time = 10
ufos.furnace_inactive_formspec =
"size[8,5.5]"..
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000]"..
dreambuilder_theme.make_inv_img_grid_v1(0, 1.42, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 2.58, 8, 3, false)..
dreambuilder_theme.single_slot_v1(3.4, 0, false)..
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000]"..
dreambuilder_theme.make_inv_img_grid_v1(0, 1.46, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 2.46, 8, 3, false)..
dreambuilder_theme.single_slot_v1(3.5, -0.03, false)..
"list[current_name;fuel;3.5,0;1,1;]"..
"list[current_player;main;0,1.5;8,4;]"..
"label[4.5,0;Fuel needed: "..ufos.fuel.."]"..

View File

@ -1 +0,0 @@
dreambuilder_theme_settings