E: NVM, found the problem. No idea why I put |tf_guarantee_ranged in the items 
As soon as I select this troop in the party menu, it causes a crash. I can't figure out why.

As soon as I select this troop in the party menu, it causes a crash. I can't figure out why.
Code:
["khudan_veteran_skirmisher","Khudan Veteran Skirmisher","Khudan Veteran Skirmishers",tf_guarantee_armor|tf_guarantee_boots|tf_guarantee_ranged,0,0,fac_kingdom_17,
[itm_spear,itm_sword_medieval_a,itm_winged_mace,itm_maul,itm_short_bow,itm_arrows,
itm_leather_jerkin,itm_leather_armor,itm_padded_cloth,itm_padded_leather,itm_nomad_boots,itm_gambeson,itm_narf_gambeson,itm_leather_boots|tf_guarantee_ranged,itm_leather_gloves],
def_attrib|level(20),wp_melee(80)|wp_archery(100),knows_common|knows_power_strike_1|knows_ironflesh_3|knows_athletics_5|knows_power_draw_2,vaegir_face_younger_1, vaegir_face_old_2],