<commit_before>GameRules.GameMode = class({})

-- game mode file
require('gamemode')

-- entry point
function Activate()
    GameRules.GameMode:InitGameMode()
end

-- precache resources
function Precache( context )
    --// particles //--
    -- team portals
    PrecacheResource("particle", "particles/econ/events/fall_major_2015/teleport_end_fallmjr_2015_lvl2.vpcf", context)
    PrecacheResource("particle", "particles/units/unit_greevil/loot_greevil_tgt_end.vpcf", context)


    --// units //--
    -- traps
    PrecacheUnitByNameSync("npc_trapwars_floor_spikes", context)
    PrecacheUnitByNameSync("npc_trapwars_fire_vent", context)
    PrecacheUnitByNameSync("npc_trapwars_wood_fence", context)
    PrecacheUnitByNameSync("npc_trapwars_stone_wall", context)
    -- lane creeps
    PrecacheUnitByNameSync("npc_trapwars_supply_trooper_1", context)
    PrecacheUnitByNameSync("npc_trapwars_supply_trooper_2", context)
    PrecacheUnitByNameSync("npc_trapwars_supply_trooper_3", context)
    PrecacheUnitByNameSync("npc_trapwars_spear_trooper_1", context)
    PrecacheUnitByNameSync("npc_trapwars_spear_trooper_2", context)
    PrecacheUnitByNameSync("npc_trapwars_spear_trooper_3", context)
    PrecacheUnitByNameSync("npc_trapwars_shield_bearer_1", context)
    PrecacheUnitByNameSync("npc_trapwars_shield_bearer_2", context)
    PrecacheUnitByNameSync("npc_trapwars_shield_bearer_3", context)
    PrecacheUnitByNameSync("npc_trapwars_priest_1", context)
    PrecacheUnitByNameSync("npc_trapwars_priest_2", context)<commit_msg>forgot to add precache for the new portal particles, derp<commit_after>GameRules.GameMode = class({})

-- game mode file
require('gamemode')

-- entry point
function Activate()
    GameRules.GameMode:InitGameMode()
end

-- precache resources
function Precache( context )
    --// particles //--
    -- team portals
    PrecacheResource("particle", "particles/portal/portal.vpcf", context)
    PrecacheResource("particle", "particles/units/unit_greevil/loot_greevil_tgt_end.vpcf", context)


    --// units //--
    -- traps
    PrecacheUnitByNameSync("npc_trapwars_floor_spikes", context)
    PrecacheUnitByNameSync("npc_trapwars_fire_vent", context)
    PrecacheUnitByNameSync("npc_trapwars_wood_fence", context)
    PrecacheUnitByNameSync("npc_trapwars_stone_wall", context)
    -- lane creeps
    PrecacheUnitByNameSync("npc_trapwars_supply_trooper_1", context)
    PrecacheUnitByNameSync("npc_trapwars_supply_trooper_2", context)
    PrecacheUnitByNameSync("npc_trapwars_supply_trooper_3", context)
    PrecacheUnitByNameSync("npc_trapwars_spear_trooper_1", context)
    PrecacheUnitByNameSync("npc_trapwars_spear_trooper_2", context)
    PrecacheUnitByNameSync("npc_trapwars_spear_trooper_3", context)
    PrecacheUnitByNameSync("npc_trapwars_shield_bearer_1", context)
    PrecacheUnitByNameSync("npc_trapwars_shield_bearer_2", context)
    PrecacheUnitByNameSync("npc_trapwars_shield_bearer_3", context)
    PrecacheUnitByNameSync("npc_trapwars_priest_1", context)
    PrecacheUnitByNameSync("npc_trapwars_priest_2", context)
{'fraction_non_alphanumeric': 0.09690048939641109, 'fraction_numerical': 0.010114192495921697, 'mean_word_length': 6.265402843601896, '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': '256726', 'n_tokens_mistral': 1125, 'n_tokens_neox': 1112, 'n_words': 128}