Initial commit
This commit is contained in:
46
aoe/costs.py
Normal file
46
aoe/costs.py
Normal file
@@ -0,0 +1,46 @@
|
||||
from aoe.types import *
|
||||
|
||||
|
||||
|
||||
class Costs():
|
||||
|
||||
|
||||
def __init__(self):
|
||||
self.costs = {
|
||||
Ages.DARK: (0, 0, 0, 0),
|
||||
Ages.FEUDAL: (500, 0, 0, 0),
|
||||
Ages.CASTLE: (800, 0, 200, 0),
|
||||
Ages.IMPERIAL: (1000, 0, 800, 0),
|
||||
Buildings.HOUSE: (0, 25, 0, 0),
|
||||
Buildings.LUMBERCAMP: (0, 100, 0, 0),
|
||||
Buildings.MILL: (0, 100, 0, 0),
|
||||
Buildings.FARM: (0, 60, 0, 0),
|
||||
Buildings.MININGCAMP: (0, 100, 0, 0),
|
||||
Buildings.DOCK: (0, 150, 0, 0),
|
||||
Buildings.BARRACKS: (0, 175, 0, 0),
|
||||
Buildings.PALISADEWALL: (0, 3, 0, 0),
|
||||
Buildings.PALISADEGATE: (0, 30, 0, 0),
|
||||
Buildings.TOWNCENTER: (0, 275, 0, 100),
|
||||
Buildings.BLACKSMITH: (0, 200, 0, 0),
|
||||
Buildings.WATCHTOWER: (0, 35, 0, 125),
|
||||
Buildings.STONEWALL: (0, 0, 0, 5),
|
||||
Buildings.GATE: (0, 25, 0, 0),
|
||||
Buildings.DONJON: (0, 50, 0, 175),
|
||||
Buildings.FISHTRAP: (0, 100, 0, 0),
|
||||
Buildings.MARKET: (0, 175, 0, 0),
|
||||
Buildings.ARCHERYRANGE: (0, 175, 0, 0),
|
||||
Buildings.STABLE: (0, 175, 0, 0),
|
||||
Units.VILLAGER: (50, 0, 0, 0),
|
||||
Units.TRADECART: (0, 100, 50, 0),
|
||||
Units.SPEARMAN: (35, 25, 0, 0),
|
||||
Units.MILITIA: (60, 0, 20, 0),
|
||||
Units.SCOUT: (80, 0, 0, 0),
|
||||
Units.KNIGHT: (60, 0, 75, 0),
|
||||
Units.SKIRMISHER: (25, 35, 0, 0),
|
||||
Units.ARCHER: (0, 25, 45, 0),
|
||||
}
|
||||
|
||||
|
||||
#def update_research(self, research):
|
||||
#case research:
|
||||
#match Bowsaw:
|
||||
Reference in New Issue
Block a user