forked from Crimso777/Factorio-Access
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite the belt analyzer, and all the stuff that came up along the way
This is not clean history; I don't have the inclination to split at the moment. THis introduces a small UI framework thing, makers a bunch of small fixes, then uses all of this to rewrite the belt analyzer. The punchline as it were is scripts/ui/belt-analyzer.lua
- Loading branch information
Showing
15 changed files
with
830 additions
and
143 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[fa] | ||
# Titles for the tabs. | ||
ui-belt-analyzer-tab-local=This Belt | ||
ui-belt-analyzer-tab-total=Total Lanes | ||
ui-belt-analyzer-tab-upstream=Upstream Lanes | ||
ui-belt-analyzer-tab-downstream=Downstream Lanes | ||
|
||
ui-belt-analyzer-lane=__1__ lane | ||
# Up to 4, for each side of a belt. | ||
ui-belt-analyzer-slot=__plural_for_parameter__1__{1=first|2=second|3=third|4=fourth}__ slot | ||
ui-belt-analyzer-empty=empty | ||
|
||
# For the total tabs, we don't have lane directions. | ||
ui-belt-analyzer-left-lane=Left Lane | ||
ui-belt-analyzer-right-lane=Right Lane | ||
|
||
ui-belt-analyzer-aggregation=__1__, __2__ percent |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[fa] | ||
ui-grid-empty=Empty grid | ||
# We expect the child callbacks to provide "at", ""on", etc. | ||
ui-grid-cell-with-pos=__1__ __2__ |
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
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
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
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
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
Oops, something went wrong.