Good Production is sometimes a penalty not a bonus

Describe your experience with the latest version of FreeOrion to help us improve it.

Moderator: Oberlus

Forum rules
Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Post Reply
Message
Author
User avatar
OllyG
Space Kraken
Posts: 151
Joined: Wed Jul 20, 2011 12:03 pm

Good Production is sometimes a penalty not a bonus

#1 Post by OllyG »

I am playing a game using 'FreeOrion-6497-Test-Win32-Setup'

I tried to attach my save game but the forum tells me 'The extension sav is not allowed.'

I have captured a Gysache planet and set it to Industry
  • Target Industry: 0.00
    Xenophobic Harrassment: Eaxaw -1.00
    Gysache Industry Focus +0.46
    Gysache Good Industry -0.27
3 jumps away, roughly 350 uu, is my Eaxaw homeworld. (It's turn 13 and I haven't researched any production techs.)

AndrewW
Juggernaut
Posts: 791
Joined: Mon Feb 04, 2013 10:15 pm

Re: Good Production is sometimes a penalty not a bonus

#2 Post by AndrewW »

OllyG wrote:I am playing a game using 'FreeOrion-6497-Test-Win32-Setup'

I tried to attach my save game but the forum tells me 'The extension sav is not allowed.'
You can compress the file, .zip extensions are allowed.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Good Production is sometimes a penalty not a bonus

#3 Post by Dilvish »

hmm, I suppose we should probably rework these bonuses/maluses to use the absolute value as was recently done with population modifiers. I think a compatible form for these modifiers could be something like

Code: Select all

effects = SetTargetIndustry Value + Abs(Value * ([[GOOD_MULTIPLIER]] - 1))
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Post Reply