def _wickedwhims_register_nudity_outfit_change_callback_on_new_sim(sim_info):
    if is_game_loading():
        return
    if TurboSimUtil.Species.is_human(sim_info):
        TurboSimUtil.CAS.register_for_outfit_changed_callback(
            sim_info, _on_sim_outfit_change)
        TurboSimUtil.CAS.register_for_appearance_tracker_changed_callback(
            sim_info, _on_sim_appearance_tracker_change)
def _wickedwhims_register_basemental_drugs_callback_on_new_sim(sim_info):
    if is_game_loading():
        return
    if not get_sex_setting(SexSetting.MISCARRIAGE_SWITCH, variable_type=bool):
        return
    if TurboSimUtil.Species.is_human(sim_info):
        if not has_sim_trait(
                sim_info, SimTrait.GENDEROPTIONS_PREGNANCY_CANBEIMPREGNATED
        ) or has_sim_trait(
                sim_info,
                SimTrait.GENDEROPTIONS_PREGNANCY_CANNOT_BEIMPREGNATED):
            return
        if has_sim_trait(sim_info, SimTrait.WW_INFERTILE):
            return
        TurboSimUtil.Buff.register_for_buff_added_callback(
            sim_info, _on_sim_basemental_drugs_buff_added)
Exemple #3
0
def _wickedwhims_register_pregnancy_labor_buff_callback_on_new_sim(sim_info):
    if is_game_loading():
        return
    if TurboSimUtil.Species.is_human(sim_info):
        TurboSimUtil.Buff.register_for_buff_added_callback(sim_info, _clear_teen_sims_pregnancy_reaction_data)
        TurboSimUtil.Buff.register_for_buff_removed_callback(sim_info, _clear_teen_sims_pregnancy_reaction_data)
def _wickedwooooh_register_pregnancy_buff_callback_on_new_sim(sim_info):
    if is_game_loading():
        return
    if TurboSimUtil.Species.is_human(sim_info):
        TurboSimUtil.Buff.register_for_buff_added_callback(sim_info, _on_sim_pregnancy_buff_added_and_removed)
        TurboSimUtil.Buff.register_for_buff_removed_callback(sim_info, _on_sim_pregnancy_buff_added_and_removed)
def _wickedwhims_register_towel_outfit_change_callback_on_new_sim(sim_info):
    if is_game_loading():
        return
    if TurboSimUtil.Species.is_human(sim_info):
        TurboSimUtil.CAS.register_for_outfit_changed_callback(
            sim_info, _on_sim_towel_outfit_change)
Exemple #6
0
def _wickedwhims_update_sim_data_on_new_sim(sim_info):
    if is_game_loading():
        return
    if TurboSimUtil.Species.is_human(sim_info):
        _update_sim_data(sim_info)