new specs:
Code: Select all
TECH_REPEATABLE, // the tech is not added to already-invented techs list -> so it is re-inventable (more like an effect than real tech).
TECH_AFFECTS_WHEN_RESEARCHED, //this tech will only affect actually existing units (so a newly trained unit will not be affected) (more like an effect than real tech).
TECH_RESEARCHED_IN_PARALLEL, //this tech (needs to be TECH_REPEATABLE kind) can be invented in multiple factories at the same time (as they are some kind of local effects)
EXECUTE_EFFECTS_ON_SPAWN, //the trnEffectsToExecute contains effects to run. on spawn or on inventing it, these will be executed in that order.