init 2 python:
def init_strip_club_mod(action_mod):
return
def get_strip_club_foreclosed_last_action_day():
return mc.business.event_triggers_dict.get("foreclosed_last_action_day", 0)
def strip_club_foreclosed_event_requirement():
if time_of_day >= 3:
return False
if get_strip_club_foreclosed_stage() != 0:
return False
if mc.business.event_triggers_dict.get("strip_club_foreclosed_countdown", False):
return False
if sarah_epic_tits_progress() == 1:
return False
if cousin.event_triggers_dict.get("blackmail_level", -1) == 1:
return False
if not cousin.has_job(stripper_job):
return False
if mc.business.has_funds(60000):
return cousin.event_triggers_dict.get("seen_cousin_stripping", False)
return False
def cousin_talk_about_strip_club_requirement(person):
return not person.is_home
def starbuck_talk_about_strip_club_requirement(person):
if get_strip_club_foreclosed_stage() == 1:
if day > get_strip_club_foreclosed_last_action_day() + 2:
if starbuck in sex_store.people:
return True
return False
def strip_club_foreclosed_countdown_requirement(start_day):
if time_of_day >= 3:
return False
if sarah_epic_tits_progress() == 1:
return False
if cousin.event_triggers_dict.get("blackmail_level", -1) == 1:
return False
if day > start_day:
return True
return False
def strip_club_foreclosed_change_stripper_schedules():
for person in [x for x in mc.business.stripclub_strippers]:
person.set_override_schedule(person.home, day_slots = [0, 1, 2, 3, 4, 5, 6], time_slots = [3, 4])
return
def add_cousin_talk_about_strip_club_action():
cousin_talk_about_strip_club_action = Action("Cousin talk about strip club", cousin_talk_about_strip_club_requirement, "cousin_talk_about_strip_club_label")
cousin.add_unique_on_room_enter_event(cousin_talk_about_strip_club_action)
return
def add_starbuck_talk_about_strip_club_action():
starbuck_talk_about_strip_club_action = Action("Starbuck talk about strip club", starbuck_talk_about_strip_club_requirement, "starbuck_talk_about_strip_club_label")
starbuck.add_unique_on_room_enter_event(starbuck_talk_about_strip_club_action)
return
def add_start_strip_club_foreclosed_countdown_action():
strip_club_closes_down_action = Action("Strip Club closes down", strip_club_foreclosed_countdown_requirement, "strip_club_closes_down_label", requirement_args = day + renpy.random.randint(10, 16))
mc.business.add_mandatory_crisis(strip_club_closes_down_action)
return
strip_club_foreclosed_mod_action = ActionMod("Strip Club Story Line", strip_club_foreclosed_event_requirement, "club_foreclosed_event_label",
menu_tooltip = "At a certain point the strip club is closed and you get the chance to buy it.", category = "Misc",
initialization = init_strip_club_mod, is_mandatory_crisis = True)