-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alpha v3.0.9 - item displayed on tranfer unit without schematic count…
… and reverse navigation
- Loading branch information
1 parent
6a65262
commit b5c7fe2
Showing
6 changed files
with
52 additions
and
47 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
if Ctrl_pressed == true then | ||
if selected_index < #elementsTypes then | ||
selected_index = selected_index + 1 | ||
selected_type = elementsTypes[selected_index] | ||
selected_machine_index = 1 | ||
page = 1 | ||
Storage.clear() | ||
craft_quantity_digits = {"0","0","0","0","0","0","0","0"} | ||
selectedElementsId = {} | ||
hud_machines_rows = {} | ||
elements = {} | ||
selectedElementsId = {} | ||
temp_selectedElementsId = {} | ||
temp_elements_for_sorting = {} | ||
temp_elements = {} | ||
temp_refresh_id_list = {} | ||
machineLoaded = false | ||
reloadMachinesOnTypeChange() | ||
else | ||
selected_index = 1 | ||
reloadMachinesOnTypeChange() | ||
end | ||
else | ||
if selected_machine_index < #elements then | ||
selected_machine_index = selected_machine_index + 1 | ||
craft_quantity_digits = {"0","0","0","0","0","0","0","0"} | ||
else | ||
selected_machine_index = 1 | ||
end | ||
craft_quantity_digits = {"0","0","0","0","0","0","0","0"} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
if page > 1 then | ||
page = page - 1 | ||
selected_machine_index = 1 | ||
Storage.clear() | ||
hud_machines_rows = {} | ||
elements = {} | ||
temp_elements_for_sorting = {} | ||
temp_elements = {} | ||
temp_refresh_id_list = {} | ||
reloadMachinesOnPageChange() | ||
elseif page ~= maxPage then | ||
page = maxPage | ||
reloadMachinesOnPageChange() | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
if page < maxPage then | ||
page = page + 1 | ||
selected_machine_index = 1 | ||
Storage.clear() | ||
hud_machines_rows = {} | ||
elements = {} | ||
temp_elements_for_sorting = {} | ||
temp_elements = {} | ||
temp_refresh_id_list = {} | ||
reloadMachinesOnPageChange() | ||
elseif page ~= 1 then | ||
page = 1 | ||
reloadMachinesOnPageChange() | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
if Ctrl_pressed == true then | ||
if selected_index > 1 then | ||
selected_index = selected_index - 1 | ||
selected_type = elementsTypes[selected_index] | ||
selected_machine_index = 1 | ||
page = 1 | ||
Storage.clear() | ||
craft_quantity_digits = {"0","0","0","0","0","0","0","0"} | ||
selectedElementsId = {} | ||
hud_machines_rows = {} | ||
elements = {} | ||
selectedElementsId = {} | ||
temp_selectedElementsId = {} | ||
temp_elements_for_sorting = {} | ||
temp_elements = {} | ||
temp_refresh_id_list = {} | ||
machineLoaded = false | ||
reloadMachinesOnTypeChange() | ||
else | ||
selected_index = #elementsTypes | ||
reloadMachinesOnTypeChange() | ||
end | ||
else | ||
if selected_machine_index > 1 then | ||
selected_machine_index = selected_machine_index - 1 | ||
craft_quantity_digits = {"0","0","0","0","0","0","0","0"} | ||
else | ||
selected_machine_index = #elements | ||
end | ||
craft_quantity_digits = {"0","0","0","0","0","0","0","0"} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters