FreeStores

FreeStores are Lua scripts located in. FreeStores control what the enemy AI considers doing with units not assigned to goals, on both the Galactic and Tactical scale.

, for example, decides whether or not to place heroes in space or on the ground, and dictates their "home" planet to defend. , however, tries to put other units on the frontline as a defense.

Freestore ServiceRates
The rate at which the AI "services" the script (i.e. "checking" the script) is defined in the  function, with   and.

The integers equate how many seconds between each time the AI services the script. On, these two rates are used. The former controls how often function  is called, and the latter controls how often function   is called.

Warning
Occasionally, Petroglyph leaves misspelled variables in certain scripts as mistakes, or hardcoded values. However, the default  has a variable error, which breaks servicing of function.

The  variable is misspelled as. The script likely doesn't reservice  every eight seconds, like it should.