mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Add incomes for WW2 villages and camps.
This commit is contained in:
parent
9bd6f9ef47
commit
568655d503
@ -317,6 +317,8 @@ REWARDS = {
|
|||||||
"comms": 10,
|
"comms": 10,
|
||||||
"oil": 10,
|
"oil": 10,
|
||||||
"derrick": 8,
|
"derrick": 8,
|
||||||
|
"village": 0.25,
|
||||||
|
"allycamp": 0.5,
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -14,10 +14,10 @@ class BuildingIncome:
|
|||||||
name: str
|
name: str
|
||||||
category: str
|
category: str
|
||||||
number: int
|
number: int
|
||||||
income_per_building: int
|
income_per_building: float
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def income(self) -> int:
|
def income(self) -> float:
|
||||||
return self.number * self.income_per_building
|
return self.number * self.income_per_building
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user