Added coastal defenses sites generator for Iran and China.

This commit is contained in:
Khopa
2021-02-05 00:15:06 +01:00
committed by Simon Clark
parent c5ae872787
commit 6a74c3faeb
23 changed files with 212 additions and 65 deletions

View File

@@ -39,6 +39,7 @@ def generate_ship_group(game, ground_object, faction_name: str):
gen = random.choice(faction.navy_generators)
if gen in SHIP_MAP.keys():
generator = SHIP_MAP[gen](game, ground_object, faction)
print(generator.position)
generator.generate()
return generator.get_generated_group()
else: