Where can I find a good explanation of how 'effectsgroup' works?
Also, looking through some of the files, there must be a way to write things more concise. More 'code-like' maybe. I'll give an example below.
And some files would probably be better of in XML format. For instance, the techs.txt file would be much more readable and editable if it was a nicely structed XML file you could edit in exel (or related software).
I'm obviously very new to this forum, so I don't know. How open is this kind of stuff for debate?
Currently the species.txt folder reads
Code: Select all
effectsgroups = [
EffectsGroup
scope = Source
activation = And [
Planet environment = Good
Planet size = Huge
]
effects = [
SetTargetPopulation Value + 18
SetTargetHealth Value + 25
]
EffectsGroup
scope = Source
activation = And [
Planet environment = Good
Planet size = Large
]
effects = [
SetTargetPopulation Value + 12
SetTargetHealth Value + 25
]
EffectsGroup
scope = Source
activation = And [
Planet environment = Good
Planet size = Medium
]
effects = [
SetTargetPopulation Value + 8
SetTargetHealth Value + 25
]
EffectsGroup
scope = Source
activation = And [
Planet environment = Good
Planet size = Small
]
effects = [
SetTargetPopulation Value + 5
SetTargetHealth Value + 25
]
EffectsGroup
scope = Source
activation = And [
Planet environment = Good
Planet size = Tiny
]
effects = [
SetTargetPopulation Value + 3
SetTargetHealth Value + 25
]
Code: Select all
effectsgroups = [
EffectsGroup
scope = Source
activation = For All Planet environment = Good
[
Planet size = Huge
effects = [ SetTargetPopulation Value + 18
SetTargetHealth Value + 25 ]
Planet size = Large
effects = [ SetTargetPopulation Value + 12
SetTargetHealth Value + 25 ]
Planet size = Medium
effects = [ SetTargetPopulation Value + 8
SetTargetHealth Value + 25 ]
Planet size = Small
effects = [ SetTargetPopulation Value + 5
SetTargetHealth Value + 25 ]
Planet size = Tiny
effects = [ SetTargetPopulation Value + 3
SetTargetHealth Value + 25 ]
]