|
|
@@ -6,19 +6,19 @@ from rival_regions_calc import Item, WorkProduction
|
|
|
|
|
|
|
|
|
DEPARTMENTS = None
|
|
|
-with open('departments.json') as file:
|
|
|
+with open('departments.json') as file:
|
|
|
DEPARTMENTS = json.load(file)
|
|
|
|
|
|
PRICE = None
|
|
|
-with open('prices.json') as file:
|
|
|
+with open('prices.json') as file:
|
|
|
PRICE = json.load(file)
|
|
|
|
|
|
REGIONS = None
|
|
|
-with open('regions.json') as file:
|
|
|
+with open('regions.json') as file:
|
|
|
REGIONS = json.load(file)
|
|
|
|
|
|
RESOURCES = None
|
|
|
-with open('resources.json') as file:
|
|
|
+with open('resources.json') as file:
|
|
|
RESOURCES = json.load(file)
|
|
|
|
|
|
|
|
|
@@ -49,7 +49,7 @@ def all_factories():
|
|
|
factory_dict = {}
|
|
|
for factories in RESOURCES.values():
|
|
|
factory_dict.update(factories)
|
|
|
- return factory_dict
|
|
|
+ return factory_dict
|
|
|
|
|
|
|
|
|
def print_per_resource():
|