-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: WIP on FIRS GS Manufacturers
- Loading branch information
1 parent
73438f0
commit f1b522b
Showing
6 changed files
with
24 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
# firs is imported, but main is not called in this module, this relies on firs already being present in the context | ||
import firs | ||
|
||
manufacturer_types = [ | ||
"steelmaker", | ||
"automaker", | ||
"equipment_manufacturer", | ||
"chemicals_manufacturer", | ||
"building_materials_manufacturer", | ||
] | ||
|
||
def main(): | ||
test_economy = firs.economy_manager.get_economy_by_id("STEELTOWN") | ||
print("CABBAGE manufacturers test_economy.detect_cargo_flow") | ||
print(test_economy.detect_cargo_flow("GOOD")) | ||
|
||
|
||
class Manufacturer(object): | ||
# extend | ||
|
||
def __init__(self): | ||
pass |
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