Page 1 of 1

[SOLVED] Output_Penalty_Tile Not Quite Working

Posted: Wed Jul 10, 2019 1:42 pm
by Corbeau
Any idea why this isn't working?

Code: Select all

[effect_gov_tile_penalty_tribal]
type    = "Output_Penalty_Tile"
value   = 2
reqs    =
    { "type", "name", "range"
      "Gov", "Tribal", "Player"
    }
The government is, obviously, Tribal, there are no negations. There are more other Output_Penalty_Tile effects, but they shouldn't interfere, if I understand it correctly (and besides, they don't appy to this situation).

Re: Output_Penalty_Tile Not Quite Working

Posted: Wed Jul 10, 2019 5:32 pm
by cazfi
Just to be sure: you do know what the value of the Output_Penalty_Tile effect does, and not expect it to be amount of penalty? See README.effects.

Re: Output_Penalty_Tile Not Quite Working

Posted: Wed Jul 10, 2019 5:49 pm
by cazfi
Oh, I now remember that relatively recently was client-side display of the output value updated to take in to account player-specific effects of the player. Don't know the details (whose effects it uses - is it always client's owner or can it be territory owner, whether it applies to city dialog and/or main map output display)

Re: Output_Penalty_Tile Not Quite Working

Posted: Wed Jul 10, 2019 6:21 pm
by Corbeau
If I got it right, value=2 means "if it is more than 2, decrease it by 1".

However, on the first turn I make a city. Effect should apply because of the primitive government. Wheat nearby gives 3 food and hill-coal gives 3 production (both are 3 by default so should be 2). It's not a display matter because next turn the granary grows according to the display.

EDIT: Mystery solved. More effects add up. So I had two active at the same time making value 4. Case closed.