Where is the script located that generates recruits for castles and town ??

正在查看此主题的用户

dzorro

Knight at Arms
Can some one please tell me where in module_scripts the generations takes place how a castle or town garrisons soldiers ??
 
Hi dzorro! :grin:
The main script is "cf_reinforce_party". I will have to take a deep look at it since it seems that it is related to which units your vassals have.

There' s a trigger that fires this script every 24 hours for every town or castle. In "simple_triggers.py" is located here:
插入代码块:
  #Hiring men with hero wealths (once a day)
  #Hiring men with center wealths (once a day)
  (24,
 
Topper 说:
Hi dzorro! :grin:
The main script is "cf_reinforce_party". I will have to take a deep look at it since it seems that it is related to which units your vassals have.

There' s a trigger that fires this script every 24 hours for every town or castle. In "simple_triggers.py" is located here:
插入代码块:
  #Hiring men with hero wealths (once a day)
  #Hiring men with center wealths (once a day)
  (24,

Thanks that is why could not find it. i was looking in the wrong module. :mrgreen:
 
dzorro 说:
Thanks that is why could not find it. i was looking in the wrong module. :mrgreen:

Well the script is in the "scripts.py" file but it is executed from many other places. I just suggested you to look in the "simple_triggers.py" too, because that trigger executes the script every day.
 
后退
顶部 底部