Skip to content
Snippets Groups Projects

Develop

Merged Kaden requested to merge develop into master
11 files
+ 120
123
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 6
49
init -1 python:
def baby_fever_get_people():
list = []
temp_list = []
final_list = []
for person in known_people_in_the_game():
if person not in [lily, mom, cousin, aunt]:
@@ -9,11 +9,11 @@ init -1 python:
if person.event_triggers_dict.get("last_birth", 0) < 1: # no baby
if person.event_triggers_dict.get("baby_fever_chat", 0) < day -14: # no recent talk
if pregnant_people(person):
list.append(person)
if list:
temp_list.append(person)
if temp_list:
while len(final_list) < 1:
target = mc.business.event_triggers_dict.get("baby_fever", -4)
for person in list:
for person in temp_list:
if person.get_opinion_score("creampies") + person.get_opinion_score("bareback sex") == target:
final_list.append(person)
if not final_list:
@@ -23,49 +23,6 @@ init -1 python:
mc.business.event_triggers_dict["baby_fever"] = target + 1
return final_list
def get_existing_friends(self, person):
return_list = []
for relationship in self.get_relationship_type_list(person, types = ["Friend", "Best Friend"]):
return_list.append(relationship[0])
return return_list
def pregnant_family(person):
the_mothers = []
if len(get_family_members(town_relationships, person)) > 0:
for x in get_family_members(town_relationships, person):
if x.event_triggers_dict.get("preg_knows", False):
if x.event_triggers_dict.get("preg_tits_date", 999) < day-5:
the_mothers.append(x)
return the_mothers
def pregnant_friends(person):
the_mothers = []
if len(get_existing_friends(town_relationships, person)) > 0:
for x in get_existing_friends(town_relationships, person):
if x.event_triggers_dict.get("preg_knows", False):
if x.event_triggers_dict.get("preg_tits_date", 999) < day-5:
the_mothers.append(x)
return the_mothers
def pregnant_enemies(person):
the_mothers = []
if len(get_existing_rivals(town_relationships, person)) > 0:
for x in get_existing_rivals(town_relationships, person):
if x.event_triggers_dict.get("preg_knows", False):
if x.event_triggers_dict.get("preg_tits_date", 999) < day-5:
the_mothers.append(x)
return the_mothers
def pregnant_people(person): #change to body type check
the_mothers = []
if pregnant_family(person):
the_mothers.extend(pregnant_family(person))
if pregnant_friends(person):
the_mothers.extend(pregnant_friends(person))
if pregnant_enemies(person):
the_mothers.extend(pregnant_enemies(person))
return the_mothers
def crisis_baby_fever_requirement():
if mc.business.event_triggers_dict.get("baby_fever_chat", 0) < day - 5:
if baby_fever_get_people():
@@ -209,7 +166,7 @@ label crisis_baby_fever_label():
the_person "...[the_person.mc_title]?"
$ the_person.tits = tit_size
$ the_person.body_type = body_type
if the_person.is_at_work():
if the_person.is_employee() and the_person.is_at_work():
$ the_person.wear_uniform()
else:
$ the_person.apply_planned_outfit()
@@ -268,7 +225,7 @@ label crisis_baby_fever_label():
$ the_person.draw_person(position = "kissing", special_modifier = "kissing")
"You put your arms around her waist and she kisses you immediately. When you break the kiss she's grinning ear to ear."
$ the_person.draw_person(emotion = "happy")
$ ex_title = so_title[:4] #Get's only the first 4 characters of any title for some hesitant-sounding speach.
$ ex_title = so_title[:4]
the_person "It feels so good to not have to hide anything anymore! I'll break the news to my [ex_title]... My ex-[so_title] later today."
else:
the_person "You can't be serious. I already have a [so_title]. Do you really think I'd leave him for you just to have a kid?"
Loading