Add incomes for WW2 villages and camps.

This commit is contained in:
Schneefl0cke 2021-07-02 02:04:03 +02:00 committed by GitHub
parent 9bd6f9ef47
commit 568655d503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -317,6 +317,8 @@ REWARDS = {
"comms": 10,
"oil": 10,
"derrick": 8,
"village": 0.25,
"allycamp": 0.5,
}
"""

View File

@ -14,10 +14,10 @@ class BuildingIncome:
name: str
category: str
number: int
income_per_building: int
income_per_building: float
@property
def income(self) -> int:
def income(self) -> float:
return self.number * self.income_per_building