News

[Bug] Event Beautiful Sunsets

Posted on Monday, January 5, 2015

Beginning to mod my own events, I noticed one of the vanilla events is bugged.

I can't tell which value as i've just started but I assume the first as it is inverse:

 

For:

<StringTable>

<Label>BeautifulSunsets_Merciless_Bonus_Dec</Label>
<String>+10 Malevolent, +40% Tourism, -10% Approval</String>
</StringTable>

 


You have:

<Trigger>
<OnEvent>OnEventChoice</OnEvent>
<Target>
<TargetType>Planet</TargetType>
</Target>
<Lifetime>Target</Lifetime>
<Modifier>
<EffectType>GoodsAndServices</EffectType>
<Target>
<TargetType>Colony</TargetType>
</Target>
<BonusType>Multiplier</BonusType>
<Value>0.1</Value>
</Modifier>
</Trigger>

 

For

 

<StringTable>
<Label>BeautifulSunsets_Neutral_Bonus_Dec</Label>
<String>+10 Pragmatic, +30% Tourism, -5% Approval</String>
</StringTable>

 
You have

<Trigger>
<OnEvent>OnEventChoice</OnEvent>
<Target>
<TargetType>Planet</TargetType>
</Target>
<Lifetime>Target</Lifetime>
<Modifier>
<EffectType>GoodsAndServices</EffectType>
<Target>
<TargetType>Colony</TargetType>
</Target>
<BonusType>Multiplier</BonusType>
<Value>-0.05</Value>
</Modifier>
</Trigger>

 

 Hope it helps.

I don't know how to add codeboxes to the forum or if we can, else this would be syntaxed for you.