From 686e335a1d411679c9893de96903985df56b2990 Mon Sep 17 00:00:00 2001 From: "Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org" Date: Tue, 10 Oct 2023 06:55:11 +0200 Subject: [PATCH] fix formspec for technic upgrade slots in MineClone (#110) --- fleet/fleet_formspec.lua | 4 ++-- formspec.lua | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fleet/fleet_formspec.lua b/fleet/fleet_formspec.lua index f04bdc3..cdb0522 100644 --- a/fleet/fleet_formspec.lua +++ b/fleet/fleet_formspec.lua @@ -13,8 +13,8 @@ if minetest.get_modpath("mcl_formspec") then player_inv_fs = "".. "list[current_player;main;0,4.9;9,3;9]".. mcl_formspec.get_itemslot_bg(0,4.9,9,3).. - "list[current_player;main;0,8.14;9,1;]".. - mcl_formspec.get_itemslot_bg(0,8.14,9,1) + "list[current_player;main;0,8.05;9,1;]".. + mcl_formspec.get_itemslot_bg(0,8.05,9,1) listring_fs = "listring[current_player;main]" end diff --git a/formspec.lua b/formspec.lua index 803e1de..82406e9 100644 --- a/formspec.lua +++ b/formspec.lua @@ -14,10 +14,10 @@ if minetest.get_modpath("mcl_formspec") then inv_width = 9 mcl_fs = mcl_formspec.get_itemslot_bg(0,3.25,8,1) player_inv_fs = "".. - "list[current_player;main;0,4.4;9,3;9]".. - mcl_formspec.get_itemslot_bg(0,4.4,9,3).. - "list[current_player;main;0,7.64;9,1;]".. - mcl_formspec.get_itemslot_bg(0,7.64,9,1) + "list[current_player;main;0,5.6;9,3;9]".. + mcl_formspec.get_itemslot_bg(0,5.6,9,3).. + "list[current_player;main;0,8.74;9,1;]".. + mcl_formspec.get_itemslot_bg(0,8.74,9,1) if has_technic then mcl_fs = mcl_fs.. mcl_formspec.get_itemslot_bg(4,4.5,4,1)