def new_game(self): print "starting new game" #Do all the stuff involved with starting a cult here. print '"In a cult, there is someone at the top who knows the whole thing is a scam.' print 'In a religion, that person is dead. - Anonymous"' print print "You have had a revelation." print "Maybe it was contact with the Space Brothers." print "Maybe it was a message from Jesus." print "Perhaps it was a spontaneous upwelling from the Collective Subconscious." print "Maybe it was that there's a lot of gullible people out there with money." print "Whatever it was, you have decided to start your own cult!" print "So, tell us a bit about yourself." leader = Person() leader.name = '' while len(leader.name) == 0: print "What is your name?" leader.name = raw_input() b_year = self.interface.numberPrompt("What year were you born in?", 1900, date.today().year - 15) b_month = self.interface.numberPrompt("What month were you born in?", 1, 12) leader.birthday = date(b_year, b_month, 1) leader.rank = Person.RANK_LEADER leader.skills['recruit'] = 25 #You're better at it than average. leader.skills['doctrine'] = 25 #You wrote it. cult = Cult() cult.membership = [leader] cult.fame = 0 cult.popularity = 0 cult.wealth = 1000 cult.doctrine = 10 cult.weirdness = 0 cult.leader = leader doctrine_choices = [] for d in doctrine_list: doctrine_choices.append((d, d.name)) doctrine_choices.append((False, "Nothing but my own delusions")) d_choice = self.interface.numbermenu( "What sort of cult are you starting, %s?" % leader.name, doctrine_choices, 0) if (d_choice): cult.doctrines.append(d_choice) print "What is the name of your cult?" cult.name = '' while len(cult.name) == 0: cult.name = raw_input() f_choice = self.interface.numbermenu( "Do you actually believe this stuff?", ((10, "No. It's just a scam."), (40, "I... think so?"), (70, "Yes. This is THE TRUTH!"))) leader.fanaticism = f_choice if f_choice == 10: print "How cynical of you." elif f_choice == 40: print "How openminded of you." else: print "How certain of you." leader.joined_date = date.today().replace(day=1) cult.founding_date = date.today().replace(day=1) #get things started. cult.current_date = date.today().replace(day=1) self.cult = cult self.main_loop() pass
Maybe it was contact with the Space Brothers. Maybe it was a message from Jesus. Perhaps it was a spontaneous upwelling from the Collective Subconscious. Maybe it was that there's a lot of gullible people out there with money. Whatever it was, you have decided to start your own cult!""" print "So, tell us a bit about yourself." leader = Person() leader.name = '' while len(leader.name) == 0: print "What is your name?" leader.name = raw_input() leader.rank = 'leader' leader.charisma = 2 cult = Cult() cult.membership = [leader] cult.fame = 0 cult.popularity = 0 cult.wealth = 1000 cult.doctrine = 10 cult.weirdness = 0 cult.leader = leader reply = '' while not reply in ('1','2','3','4','5','6','7','8','9'): print "What sort of cult are you starting, %s?" % leader.name print "1: Christian" print "2: Magjickk" print "3: New Age" print "4: Pagan"
Maybe it was contact with the Space Brothers. Maybe it was a message from Jesus. Perhaps it was a spontaneous upwelling from the Collective Subconscious. Maybe it was that there's a lot of gullible people out there with money. Whatever it was, you have decided to start your own cult!""" print "So, tell us a bit about yourself." leader = Person() leader.name = '' while len(leader.name) == 0: print "What is your name?" leader.name = raw_input() leader.rank = 'leader' leader.charisma = 2 cult = Cult() cult.membership = [leader] cult.fame = 0 cult.popularity = 0 cult.wealth = 1000 cult.doctrine = 10 cult.weirdness = 0 cult.leader = leader reply = '' while not reply in ('1', '2', '3', '4', '5', '6', '7', '8', '9'): print "What sort of cult are you starting, %s?" % leader.name print "1: Christian" print "2: Magjickk" print "3: New Age" print "4: Pagan"
def new_game(self): print "starting new game" # Do all the stuff involved with starting a cult here. print '"In a cult, there is someone at the top who knows the whole thing is a scam.' print 'In a religion, that person is dead. - Anonymous"' print print "You have had a revelation." print "Maybe it was contact with the Space Brothers." print "Maybe it was a message from Jesus." print "Perhaps it was a spontaneous upwelling from the Collective Subconscious." print "Maybe it was that there's a lot of gullible people out there with money." print "Whatever it was, you have decided to start your own cult!" print "So, tell us a bit about yourself." leader = Person() leader.name = "" while len(leader.name) == 0: print "What is your name?" leader.name = raw_input() b_year = self.interface.numberPrompt("What year were you born in?", 1900, date.today().year - 15) b_month = self.interface.numberPrompt("What month were you born in?", 1, 12) leader.birthday = date(b_year, b_month, 1) leader.rank = Person.RANK_LEADER leader.skills["recruit"] = 25 # You're better at it than average. leader.skills["doctrine"] = 25 # You wrote it. cult = Cult() cult.membership = [leader] cult.fame = 0 cult.popularity = 0 cult.wealth = 1000 cult.doctrine = 10 cult.weirdness = 0 cult.leader = leader doctrine_choices = [] for d in doctrine_list: doctrine_choices.append((d, d.name)) doctrine_choices.append((False, "Nothing but my own delusions")) d_choice = self.interface.numbermenu( "What sort of cult are you starting, %s?" % leader.name, doctrine_choices, 0 ) if d_choice: cult.doctrines.append(d_choice) print "What is the name of your cult?" cult.name = "" while len(cult.name) == 0: cult.name = raw_input() f_choice = self.interface.numbermenu( "Do you actually believe this stuff?", ((10, "No. It's just a scam."), (40, "I... think so?"), (70, "Yes. This is THE TRUTH!")), ) leader.fanaticism = f_choice if f_choice == 10: print "How cynical of you." elif f_choice == 40: print "How openminded of you." else: print "How certain of you." leader.joined_date = date.today().replace(day=1) cult.founding_date = date.today().replace(day=1) # get things started. cult.current_date = date.today().replace(day=1) self.cult = cult self.main_loop() pass