-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: apparently working detection of FIRS economy using industry f…
…ingerprinting
- Loading branch information
1 parent
ab15ba6
commit f5fcf32
Showing
5 changed files
with
127 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
GIT_VERSION <- "${git_info.get_version()}"; |
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,20 @@ | ||
firs <- {}; | ||
|
||
firs.industries <- {}; | ||
|
||
<tal:industries repeat="industry registered_industries"> | ||
local industry = {}; | ||
industry.numeric_id <- ${industry.numeric_id}; | ||
industry.economy_variations <- {} | ||
<tal:economies repeat="economy registered_economies"> | ||
industry.economy_variations[${economy.numeric_id}] <- {}; | ||
industry.economy_variations[${economy.numeric_id}].accept_cargo_types <- [${gs_helper.get_accept_cargos_as_array_contents(industry, economy)}]; | ||
</tal:economies> | ||
firs["industries"]["${industry.id}"] <- industry; | ||
</tal:industries> | ||
|
||
firs.economy_fingerprints <- {} | ||
<tal:economies repeat="economy registered_economies"> | ||
firs.economy_fingerprints[${economy.numeric_id}] <- "${gs_helper.get_economy_fingerprint(registered_industries, economy)}"; | ||
</tal:economies> | ||
|
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 +1 @@ | ||
STR_WELCOME :Hello {COMPANY}!{}{}You are playing a game with Minimal GS - a boilerplate for GS authors. | ||
STR_WELCOME :Hello {COMPANY}!{}{}You are playing a game with FIRS test GS{}{}Git version of this GS is {NUM} |
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