Page 1 of 1

Design summary detection & BioAdaptive Hull

Posted: Tue May 26, 2015 12:11 am
by MatGB
In the preview for most other hull types, it correctly shows the base detection strength, but for the Bioadaptive it doesn't. Given that it's one of the main strengths of the hull and it's probably the best stealth scout hull in the game, that's a minor problem.

For the Ravenous Hull, it works corretly, code is:

Code: Select all

    effectsgroups = [
        EffectsGroup
            scope = Source
            activation = Source
            effects = SetDetection value = Value + 75
For the BioAdaptive it's a combined group

Code: Select all

    effectsgroups = [
        EffectsGroup
            scope = Source
            activation = Turn low = Source.CreationTurn + 1
            effects = [
                SetStructure value = Target.MaxStructure
                SetFuel value = Value + 0.2
                SetDetection value = Value + 75
            ]
I'm guessing it's because it's in the same group as the full repair effect and thus doesn't apply on turn one, yes?

I like the new feature, need to understand what it's looking at to make sure it works properly for any future effects.