def __init__(self): CrudeObservable.__init__(self) self.name = "cult" self.short_name = "cult" self.members_name = "cult" self.founding_date = None self.date = None self.membership = [] self.ex_members = [] self.enemies = [] self.departments = {} self.addLaborPool(labor_pool_street_preaching) self.addLaborPool( LaborPool("meditation", "Transcendental Medication", "Sitting around doing nothing.")) self.addLaborPool(labor_pool_indoctrinating_recruits) max = LaborPool("10max", "10 Max", "Only 10 people at a time.") max.setMaxPeople(10) self.addLaborPool(max) self.addLaborPool(labor_pool_write_scripture) self.fame = 0 self.max_fame = 0 self.popularity = 0 self.funds = 1000 #starting money self.doctrines = [] #no starting doctrines? self.authoritarianism = 0 self.recruit_base_morale_min = 40 #need ways to avoid this... self.recruit_base_morale_max = 80 #need ways to avoid this... self.dogma = 10 self.spent_dogma = 0 self.supplies = {} #Pamphlets, books and so on. self.last_month_fame = 0 self.last_month_popularity = 0 self.last_month_funds = 0 self.last_month_morale = 0 self.financial_log = { datetime.date(1998, 4, 1): (("starting funds", 999, 0), ("people buying crap", 1, 0), ("End of month total", 1000, 0)) } #Date: (tuple of (name, gain, loss))? Should work.... self.last_month_membership_count = 1 self.shopping_list = {}
def __init__(self): CrudeObservable.__init__(self) self.name = "cult" self.short_name = "cult" self.members_name = "cult" self.founding_date = None self.date = None self.membership = [] self.ex_members = [] self.enemies = [] self.departments = {} self.addLaborPool(labor_pool_street_preaching) self.addLaborPool(LaborPool("meditation","Transcendental Medication", "Sitting around doing nothing.")) self.addLaborPool(labor_pool_indoctrinating_recruits) max = LaborPool("10max", "10 Max", "Only 10 people at a time.") max.setMaxPeople(10) self.addLaborPool(max) self.addLaborPool(labor_pool_write_scripture) self.fame = 0 self.max_fame = 0 self.popularity = 0 self.funds = 1000 #starting money self.doctrines = [] #no starting doctrines? self.authoritarianism = 0 self.recruit_base_morale_min = 40 #need ways to avoid this... self.recruit_base_morale_max = 80 #need ways to avoid this... self.dogma = 10 self.spent_dogma = 0 self.supplies = {} #Pamphlets, books and so on. self.last_month_fame = 0 self.last_month_popularity = 0 self.last_month_funds = 0 self.last_month_morale = 0 self.financial_log = {datetime.date(1998,4,1): (("starting funds", 999, 0), ("people buying crap", 1, 0),("End of month total", 1000,0))} #Date: (tuple of (name, gain, loss))? Should work.... self.last_month_membership_count = 1 self.shopping_list = {}