Initial commit
This commit is contained in:
19
aoe/production.py
Normal file
19
aoe/production.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from aoe.types import *
|
||||
|
||||
|
||||
|
||||
class Production():
|
||||
|
||||
|
||||
# assumes for now each unit can be built in only one type of building
|
||||
def __init__(self):
|
||||
self.building = {
|
||||
Units.VILLAGER: Buildings.TOWNCENTER,
|
||||
Units.TRADECART: Buildings.MARKET,
|
||||
Units.SPEARMAN: Buildings.BARRACKS,
|
||||
Units.MILITIA: Buildings.BARRACKS,
|
||||
Units.SCOUT: Buildings.STABLE,
|
||||
Units.KNIGHT: Buildings.STABLE,
|
||||
Units.SKIRMISHER: Buildings.ARCHERYRANGE,
|
||||
Units.ARCHER: Buildings.ARCHERYRANGE,
|
||||
}
|
||||
Reference in New Issue
Block a user