From 46c59ad9ae4930b1b664c952a8133e6fe27b9faf Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 24 Mar 2021 23:46:59 -0400 Subject: [PATCH] fine-tune vessels slot positions --- mods/dreambuilder_extras/customize-dreambuilder-game.sh | 8 ++++---- mods/pipeworks/compat-furnaces.lua | 8 ++++---- mods/vessels/init.lua | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mods/dreambuilder_extras/customize-dreambuilder-game.sh b/mods/dreambuilder_extras/customize-dreambuilder-game.sh index ca9a451b..2fccd911 100755 --- a/mods/dreambuilder_extras/customize-dreambuilder-game.sh +++ b/mods/dreambuilder_extras/customize-dreambuilder-game.sh @@ -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/' \ diff --git a/mods/pipeworks/compat-furnaces.lua b/mods/pipeworks/compat-furnaces.lua index 884748fa..08ed9672 100644 --- a/mods/pipeworks/compat-furnaces.lua +++ b/mods/pipeworks/compat-furnaces.lua @@ -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.. diff --git a/mods/vessels/init.lua b/mods/vessels/init.lua index 162e2595..bdbc0567 100644 --- a/mods/vessels/init.lua +++ b/mods/vessels/init.lua @@ -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]" ..