fine-tune vessels slot positions

This commit is contained in:
Vanessa Dannenberg 2021-03-24 23:46:59 -04:00
parent 2c0cd84488
commit 46c59ad9ae
3 changed files with 10 additions and 10 deletions

View File

@ -269,8 +269,8 @@ sed -i "/size\[8,8.5\]/ {
a \\\t\tdreambuilder_theme.single_slot_v1(2.75, 0.45, false)..
a \\\t\tdreambuilder_theme.single_slot_v1(2.75, 2.45, false)..
a \\\t\tdreambuilder_theme.make_inv_img_grid_v1(4.75, 0.92, 2, 2, false)..
a \\\t\tdreambuilder_theme.make_inv_img_grid_v1(0, 4.22, 8, 1, true)..
a \\\t\tdreambuilder_theme.make_inv_img_grid_v1(0, 5.45, 8, 3, false)..
a \\\t\tdreambuilder_theme.make_inv_img_grid_v1(0, 4.22, 8, 1, true)..
a \\\t\tdreambuilder_theme.make_inv_img_grid_v1(0, 5.45, 8, 3, false)..
a \\\t\t$LISTCOLORS_HIDE_SLOTS
}" $workdir"/mods/pipeworks/compat-furnaces.lua"
@ -284,8 +284,8 @@ sed -i "0, /depends = /s//depends = dreambuilder_theme_settings, /" $workdir"/mo
sed -i "/size\[8,7;\]/ {
a \\\t$LISTCOLORS_HIDE_SLOTS
a \\\tdreambuilder_theme.make_inv_img_grid_v1(0, 0.25, 8, 2, false)..
a \\\tdreambuilder_theme.make_inv_img_grid_v1(0, 2.8, 8, 1, true)..
a \\\tdreambuilder_theme.make_inv_img_grid_v1(0, 4.05, 8, 3, false)..
a \\\tdreambuilder_theme.make_inv_img_grid_v1(0, 2.82, 8, 1, true)..
a \\\tdreambuilder_theme.make_inv_img_grid_v1(0, 4.03, 8, 3, false)..
}" $workdir"/mods/vessels/init.lua"
sed -i 's/vessels_shelf_slot.png/"..dreambuilder_theme.name.."_vessels_shelf_slot.png/' \

View File

@ -15,8 +15,8 @@ local function active_formspec(fuel_percent, item_percent, pos, meta)
dreambuilder_theme.single_slot_v1(2.75, 0.45, false)..
dreambuilder_theme.single_slot_v1(2.75, 2.45, false)..
dreambuilder_theme.make_inv_img_grid_v1(4.75, 0.92, 2, 2, false)..
dreambuilder_theme.make_inv_img_grid_v1(0, 4.22, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 5.45, 8, 3, false)..
dreambuilder_theme.make_inv_img_grid_v1(0, 4.22, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 5.45, 8, 3, false)..
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000]"..
default.gui_bg..
default.gui_bg_img..
@ -53,8 +53,8 @@ local function inactive_formspec(pos, meta)
dreambuilder_theme.single_slot_v1(2.75, 0.45, false)..
dreambuilder_theme.single_slot_v1(2.75, 2.45, false)..
dreambuilder_theme.make_inv_img_grid_v1(4.75, 0.92, 2, 2, false)..
dreambuilder_theme.make_inv_img_grid_v1(0, 4.22, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 5.45, 8, 3, false)..
dreambuilder_theme.make_inv_img_grid_v1(0, 4.22, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 5.45, 8, 3, false)..
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000]"..
default.gui_bg..
default.gui_bg_img..

View File

@ -11,8 +11,8 @@ local vessels_shelf_formspec =
"size[8,7;]" ..
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000]"..
dreambuilder_theme.make_inv_img_grid_v1(0, 0.25, 8, 2, false)..
dreambuilder_theme.make_inv_img_grid_v1(0, 2.8, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 4.05, 8, 3, false)..
dreambuilder_theme.make_inv_img_grid_v1(0, 2.82, 8, 1, true)..
dreambuilder_theme.make_inv_img_grid_v1(0, 4.03, 8, 3, false)..
"list[context;vessels;0,0.3;8,2;]" ..
"list[current_player;main;0,2.85;8,1;]" ..
"list[current_player;main;0,4.08;8,3;8]" ..