Esempio n. 1
0
def reset_penis_data():
    global PENIS_SETTING_SOFT_PENIS_AUTHOR, PENIS_SETTING_HARD_PENIS_AUTHOR, PENIS_SETTING_RANDOM, PENIS_SETTING_RANDOM_INCLUDE_DEFAULT
    PENIS_SETTING_SOFT_PENIS_AUTHOR = 'Penis_Default'
    PENIS_SETTING_HARD_PENIS_AUTHOR = 'Penis_Default'
    PENIS_SETTING_RANDOM = False
    PENIS_SETTING_RANDOM_INCLUDE_DEFAULT = True
    update_basic_save_data(get_basic_penis_save_data())
Esempio n. 2
0
 def set_callback(dialog):
     global PENIS_SETTING_RANDOM, PENIS_SETTING_RANDOM_INCLUDE_DEFAULT
     if not dialog.accepted:
         open_penis_settings(sim_info)
         return
     penis_author = dialog.get_result_tags()[-1]
     PENIS_SETTING_RANDOM = False
     PENIS_SETTING_RANDOM_INCLUDE_DEFAULT = True
     update_basic_save_data(get_basic_penis_save_data())
     sim_ev(sim_info).outfit_hard_penis_author = penis_author
     dress_up_outfit(sim_info)
     set_sim_penis_state(sim_info, False, 0)
     update_nude_body_data(sim_info, force_update=True)
     open_sim_hard_penis_picker(sim_info)
def update_relationship_settings_to_basic_save_data():
    disable_jealousy_broadcasters(
        get_relationship_setting(RelationshipSetting.JEALOUSY_STATE,
                                 variable_type=bool))
    unlock_incest_for_interactions(not get_relationship_setting(
        RelationshipSetting.INCEST_STATE, variable_type=bool))
    remove_romance_age_restrictions(
        get_relationship_setting(
            RelationshipSetting.ROMANCE_AGE_RESTRICTION_STATE,
            variable_type=bool))
    unlock_polygamy_for_interactions(
        get_relationship_setting(RelationshipSetting.POLYGAMY_STATE,
                                 variable_type=bool))
    general_dict = dict()
    general_dict['relationships'] = RELATIONSHIP_SETTINGS_DICT
    update_basic_save_data(general_dict)
Esempio n. 4
0
def apply_basic_penis_save_data():
    global PENIS_SETTING_SOFT_PENIS_AUTHOR, PENIS_SETTING_HARD_PENIS_AUTHOR, PENIS_SETTING_RANDOM, PENIS_SETTING_RANDOM_INCLUDE_DEFAULT
    basic_save_data = get_basic_save_data()
    if 'penis_data' in basic_save_data:
        penis_dict = basic_save_data['penis_data']
        PENIS_SETTING_SOFT_PENIS_AUTHOR = str(
            penis_dict.get('default_soft_penis_author',
                           PENIS_SETTING_SOFT_PENIS_AUTHOR))
        PENIS_SETTING_HARD_PENIS_AUTHOR = str(
            penis_dict.get('default_hard_penis_author',
                           PENIS_SETTING_HARD_PENIS_AUTHOR))
        PENIS_SETTING_RANDOM = bool(
            penis_dict.get('random_penis_flag', PENIS_SETTING_RANDOM))
        PENIS_SETTING_RANDOM_INCLUDE_DEFAULT = bool(
            penis_dict.get('random_penis_include_default_flag',
                           PENIS_SETTING_RANDOM_INCLUDE_DEFAULT))
    update_basic_save_data(get_basic_penis_save_data())
Esempio n. 5
0
 def set_callback(dialog):
     global PENIS_SETTING_HARD_PENIS_AUTHOR, PENIS_SETTING_RANDOM, PENIS_SETTING_RANDOM_INCLUDE_DEFAULT
     if not dialog.accepted:
         open_penis_settings(creator_sim_info)
         return
     penis_author = dialog.get_result_tags()[-1]
     PENIS_SETTING_HARD_PENIS_AUTHOR = penis_author
     PENIS_SETTING_RANDOM = False
     PENIS_SETTING_RANDOM_INCLUDE_DEFAULT = True
     update_basic_save_data(get_basic_penis_save_data())
     for sim_info in TurboManagerUtil.Sim.get_all_sim_info_gen(humans=True,
                                                               pets=False):
         if sim_info is None:
             continue
         sim_ev(sim_info).outfit_hard_penis_author = penis_author
         dress_up_outfit(sim_info)
         set_sim_penis_state(sim_info, False, 0)
         update_nude_body_data(sim_info, force_update=True)
     open_all_sims_hard_penis_picker(creator_sim_info)
Esempio n. 6
0
def randomized_all_sims_penis_models(sim_identifier,
                                     include_default_penis=False):
    global PENIS_SETTING_RANDOM, PENIS_SETTING_RANDOM_INCLUDE_DEFAULT
    creator_sim_info = TurboManagerUtil.Sim.get_sim_info(sim_identifier)
    PENIS_SETTING_RANDOM = True
    PENIS_SETTING_RANDOM_INCLUDE_DEFAULT = include_default_penis
    update_basic_save_data(get_basic_penis_save_data())
    penis_author_keys = get_penis_author_keys(
        include_default_author_key=include_default_penis)
    if len(penis_author_keys) == 0:
        open_penis_settings(creator_sim_info)
        return
    for sim_info in TurboManagerUtil.Sim.get_all_sim_info_gen(humans=True,
                                                              pets=False):
        if sim_info is None:
            continue
        random_penis_author = random.choice(penis_author_keys)
        sim_ev(sim_info).outfit_soft_penis_author = random_penis_author
        sim_ev(sim_info).outfit_hard_penis_author = random_penis_author
        dress_up_outfit(sim_info)
        set_sim_penis_state(sim_info, False, 0)
        update_nude_body_data(sim_info, force_update=True)
    open_penis_settings(creator_sim_info)
Esempio n. 7
0
def update_nudity_settings_to_basic_save_data():
    general_dict = dict()
    general_dict['exhibitionism'] = NUDITY_SETTINGS_DICT
    update_basic_save_data(general_dict)