Estepki
Recruit

Ive just changed every troop class in the module file and when I try to build it I get a very long error message... this is a sample from it
I have also added troop upgrades
3 of these upgrades are
whats going on? any ideas?
Code:
Initializing...
Error with upgrade2 def: Unable to find troop3-id: grp1_crossbowman
Error with upgrade def: Unable to find troop1-id: grp1_longbowman
Error with upgrade def: Unable to find troop1-id: grp1_crossbowman
Error with upgrade def: Unable to find troop1-id: grp1_heavy_crossbowman
Traceback (most recent call last):
File "process_global_variables.py", line 11, in <module>
from process_operations import *
File "D:\Taleworlds\mymod\ModuleSystem mymod\process_operations.py", line 17, in <module>
from module_party_templates import *
File "D:\Taleworlds\mymod\ModuleSystem mymod\module_party_templates.py", line 108, in <module>
("kingdom_2_reinforcements_b", "kingdom_2_reinforcements_b", 0, 0, fac_commoners, 0, [(trp_grp2_javelineer,2,6),(trp_grp2_pikeman,3,5),(trp_grp2_guard,1,3)]),
NameError: name 'trp_grp2_pikeman' is not defined
Exporting strings...
I have also added troop upgrades
3 of these upgrades are
Code:
upgrade(troops,"grp1_townsman","grp1_militia")
upgrade(troops,"grp1_militia","grp1_recruit")
upgrade2(troops,"grp1_recruit","grp1_infantry","grp1_bowman")
whats going on? any ideas?