Skip to content

Commit

Permalink
fix formspec for technic upgrade slots in MineClone (mt-mods#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
nonfreegithub authored Oct 10, 2023
1 parent e93d1b0 commit 686e335
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions fleet/fleet_formspec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions formspec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 686e335

Please sign in to comment.