<commit_before>/*
 * Set up the gun stores.
 */

_store = _this select 0;

if(isServer) then
{
    _storeDirection = getDir _store;
    _storeTable = createVehicle ["Land_Pallets_stack_F", (getPos _store), [], 0, "CAN_COLLIDE"];
    _storeTable setDir _storeDirection;
    _store attachTo [_storeTable, [0,0.2,0.6]]; 

    _store allowDamage false;
    _storeTable allowDamage false;
};

if(hasInterface) then
{
    _store addAction ["Open Gun Store", "client\dialogs\vehicleStore\openVehicleStore.sqf", [vehicleVarName _store], 1.5, false, false, "", "_this distance _target < 3"];

    _storeBox = createVehicleLocal ["", (getPos _store)];
    _storeBox attachTo[_store, [0,0.9,-0.9]];

    _store setVariable ["R3F_LOG_disabled", true];
    _storeBox setVariable ["R3F_LOG_disabled", true];
    if (!isNull attachedTo _store) then {
        (attachedTo _store) setVariable ["R3F_LOG_disabled", true];
    };
};<commit_msg>fix gun store ammo box<commit_after>/*
 * Set up the gun stores.
 */

_store = _this select 0;

if(isServer) then
{
    _storeDirection = getDir _store;
    _storeTable = createVehicle ["Land_Pallets_stack_F", (getPos _store), [], 0, "CAN_COLLIDE"];
    _storeTable setDir _storeDirection;
    _store attachTo [_storeTable, [0,0.2,0.6]]; 

    _store allowDamage false;
    _storeTable allowDamage false;
};

if(hasInterface) then
{
    _store addAction ["Open Gun Store", "client\dialogs\vehicleStore\openVehicleStore.sqf", [vehicleVarName _store], 1.5, false, false, "", "_this distance _target < 3"];

    _storeBox = "Box_NATO_WpsSpecial_F" createVehicleLocal (getPos _store);
    _storeBox attachTo[_store, [0,0.9,-0.9]];

    _store setVariable ["R3F_LOG_disabled", true];
    _storeBox setVariable ["R3F_LOG_disabled", true];
    if (!isNull attachedTo _store) then {
        (attachedTo _store) setVariable ["R3F_LOG_disabled", true];
    };
};
{'fraction_non_alphanumeric': 0.13052743740010656, 'fraction_numerical': 0.019179541822056473, 'mean_word_length': 4.3201133144475925, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4985578', 'n_tokens_mistral': 674, 'n_tokens_neox': 649, 'n_words': 159}