<commit_before>#include "hull_macros.h"

#include "\userconfig\hull3\log\settings.h"
#include "logbook.h"


hull_settings_fnc_preInit = {
    [] call hull_settings_fnc_addEventHandlers;
};

hull_settings_fnc_init = {
    [] call hull_settings_fnc_setNonStandardGeneralSettings;
    [] call hull_settings_fnc_setModuleVariables;
};

hull_settings_fnc_addEventHandlers = {
    ["player.initialized", hull_settings_fnc_setPlayerSettings] call hull_event_fnc_addEventHandler;
};

hull_settings_fnc_setNonStandardGeneralSettings = {
    if (!(["General", "enableSaving"] call hull_config_fnc_getBool)) then {
        enableSaving [false, false];
    };
};

hull_settings_fnc_setPlayerSettings = {
    player setVariable ["ace_sys_wounds_no_medical_gear", ["ACE", "ace_sys_wounds_no_medical_gear"] call hull_config_fnc_getBool];
    player addRating (["General", "addRating"] call hull_config_fnc_getNumber);
    player setVariable ["BIS_noCoreConversations", ["General", "BIS_noCoreConversations"] call hull_config_fnc_getBool];
};

hull_settings_fnc_setModuleVariables = {
    if (isNil {hull_marker_isGroupEnabled}) then {hull_marker_isGroupEnabled = ["Marker", "isGroupEnabled"] call hull_config_fnc_getBool;};
    if (isNil {hull_marker_isFireTeamEnabled}) then {hull_marker_isFireTeamEnabled = ["Marker", "isFireTeamEnabled"] call hull_config_fnc_getBool;};
};<commit_msg>Removed left in ACE setting.<commit_after>#include "hull_macros.h"

#include "\userconfig\hull3\log\settings.h"
#include "logbook.h"


hull_settings_fnc_preInit = {
    [] call hull_settings_fnc_addEventHandlers;
};

hull_settings_fnc_init = {
    [] call hull_settings_fnc_setNonStandardGeneralSettings;
    [] call hull_settings_fnc_setModuleVariables;
};

hull_settings_fnc_addEventHandlers = {
    ["player.initialized", hull_settings_fnc_setPlayerSettings] call hull_event_fnc_addEventHandler;
};

hull_settings_fnc_setNonStandardGeneralSettings = {
    if (!(["General", "enableSaving"] call hull_config_fnc_getBool)) then {
        enableSaving [false, false];
    };
};

hull_settings_fnc_setPlayerSettings = {
    player addRating (["General", "addRating"] call hull_config_fnc_getNumber);
    player setVariable ["BIS_noCoreConversations", ["General", "BIS_noCoreConversations"] call hull_config_fnc_getBool];
};

hull_settings_fnc_setModuleVariables = {
    if (isNil {hull_marker_isGroupEnabled}) then {hull_marker_isGroupEnabled = ["Marker", "isGroupEnabled"] call hull_config_fnc_getBool;};
    if (isNil {hull_marker_isFireTeamEnabled}) then {hull_marker_isFireTeamEnabled = ["Marker", "isFireTeamEnabled"] call hull_config_fnc_getBool;};
};
{'fraction_non_alphanumeric': 0.106544901065449, 'fraction_numerical': 0.00076103500761035, 'mean_word_length': 7.2933753943217665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3801627', 'n_tokens_mistral': 931, 'n_tokens_neox': 906, 'n_words': 135}