Documentdoc("Change the properties of what this race's colonizers look like.");
Argumentname(AT_Locale,"#COLONY_SHIP",doc="Name of a colonizer.");
Argumentmodel(AT_Custom,EMPTY_DEFAULT,doc="Model to use for the colonizer.");
Argumentmaterial(AT_Custom,EMPTY_DEFAULT,doc="Material to use for the colonizer.");
voidinit(Empire&emp,any@data)constoverride{
emp.ColonizerName=name.str;
if(model.str.length!=0){
emp.ColonizerModel=model.str;
emp.ColonizerMaterial=material.str;
}
}
};
tidyfinalclassIfHaveTrait:TraitEffect{
Documentdoc("Only apply the inner hook if the empire also has another trait. Cannot be used for continuous effects, only ones applied once at game start.");
Argumenttrait(AT_Trait,doc="Trait to check for.");
Documentdoc("Only apply the inner hook if the empire does not have another trait. Cannot be used for continuous effects, only ones applied once at game start.");
Argumenttrait(AT_Trait,doc="Trait to check for.");