Estepki
Recruit

I have put this code into the modules_troops file (the code in between the #### ####)
and down the bottom
now when I upgrade troops to this new class, my game crashes.... anyone know why?
["mercenaries_end","mercenaries_end","mercenaries_end",0,no_scene,reserved,fac_commoners,
[],
def_attrib|level(4),wp(60),knows_common,mercenary_face_1, mercenary_face_2],
####
["ranger","Ranger","Rangers",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_gloves|tf_guarantee_ranged,0,0,fac_neutral,
[itm_long_bow,itm_khergit_arrows,itm_arrows, itm_barbed_arrows, itm_bodkin_arrows,itm_sword_medieval_b_small,
itm_splinted_greaves,itm_black_greaves,itm_leather_boots,itm_leather_gloves,itm_black_hood,itm_black_hood,itm_black_hood,itm_robe],
def_attrib|level(25),wp_archery(300),wp(200),knows_common|knows_athletics_4|knows_power_draw_7,swadian_face_middle_1, swadian_face_older_2],
####
#peasant - retainer - footman - man-at-arms - knight
["swadian_recruit","Swadian Recruit","Swadian Recruits",tf_guarantee_armor,0,0,fac_neutral,
[itm_scythe,itm_hatchet,itm_pickaxe,itm_club,itm_stones,itm_tab_shield_heater_a,itm_leather_cap,itm_felt_hat,itm_felt_hat,
itm_shirt,itm_coarse_tunic,itm_leather_apron,itm_nomad_boots,itm_wrapping_boots],
def_attrib|level(4),wp(60),knows_common,swadian_face_younger_1, swadian_face_middle_2],
[],
def_attrib|level(4),wp(60),knows_common,mercenary_face_1, mercenary_face_2],
####
["ranger","Ranger","Rangers",tf_guarantee_boots|tf_guarantee_armor|tf_guarantee_gloves|tf_guarantee_ranged,0,0,fac_neutral,
[itm_long_bow,itm_khergit_arrows,itm_arrows, itm_barbed_arrows, itm_bodkin_arrows,itm_sword_medieval_b_small,
itm_splinted_greaves,itm_black_greaves,itm_leather_boots,itm_leather_gloves,itm_black_hood,itm_black_hood,itm_black_hood,itm_robe],
def_attrib|level(25),wp_archery(300),wp(200),knows_common|knows_athletics_4|knows_power_draw_7,swadian_face_middle_1, swadian_face_older_2],
####
#peasant - retainer - footman - man-at-arms - knight
["swadian_recruit","Swadian Recruit","Swadian Recruits",tf_guarantee_armor,0,0,fac_neutral,
[itm_scythe,itm_hatchet,itm_pickaxe,itm_club,itm_stones,itm_tab_shield_heater_a,itm_leather_cap,itm_felt_hat,itm_felt_hat,
itm_shirt,itm_coarse_tunic,itm_leather_apron,itm_nomad_boots,itm_wrapping_boots],
def_attrib|level(4),wp(60),knows_common,swadian_face_younger_1, swadian_face_middle_2],
and down the bottom
upgrade(troops,"mercenary_horseman","mercenary_cavalry")
####
upgrade(troops,"mercenary_cavalry","ranger")
upgrade(troops,"mercenary_crossbowman","ranger")
upgrade(troops,"hired_blade","ranger")
upgrade(troops,"swadian_sharpshooter","ranger")
upgrade(troops,"swadian_knight","ranger")
upgrade(troops,"swadian_sergeant","ranger")
####
upgrade(troops,"swadian_recruit","swadian_militia")
####
upgrade(troops,"mercenary_cavalry","ranger")
upgrade(troops,"mercenary_crossbowman","ranger")
upgrade(troops,"hired_blade","ranger")
upgrade(troops,"swadian_sharpshooter","ranger")
upgrade(troops,"swadian_knight","ranger")
upgrade(troops,"swadian_sergeant","ranger")
####
upgrade(troops,"swadian_recruit","swadian_militia")
now when I upgrade troops to this new class, my game crashes.... anyone know why?