#1 13.01.2015 17:58:49

wieder
Administrator
Posts: 1,626

A small :P problem with the ruleset

Small wonders seem to have a global effect or so I was told. Does anyone have idea how is this possible? I'm trying to figure it out but no luck yet.

Offline

#2 13.01.2015 18:18:36

HanduMan
Player
Posts: 108

Re: A small :P problem with the ruleset

For example?

Offline

#3 13.01.2015 18:42:57

wieder
Administrator
Posts: 1,626

Re: A small :P problem with the ruleset

I was told that there is no -1 penalty in despotism since the other players have built the pyramids.

Offline

#4 13.01.2015 19:28:46

HanduMan
Player
Posts: 108

Re: A small :P problem with the ruleset

Or maybe someone invented railroad?

Offline

#5 13.01.2015 23:13:28

wieder
Administrator
Posts: 1,626

Re: A small :P problem with the ruleset

Apparently some effects were missing. Those were added to the ruleset and synced to github. Restart tomorrow.

Offline

#6 14.01.2015 06:25:49

HanduMan
Player
Posts: 108

Re: A small :P problem with the ruleset

Those missing effects will not fix the pyramids issue though. There is a problem with the definition of the penalty effects. In effects.ruleset, the regs are ANDed but nregs are ORed.

The effect for Despotism is:

; Railroad because makes Pyramids obsolete
[effect_gov_tile_penalty_despotism]
name    = "Output_Penalty_Tile"
value   = 2
reqs    =
    { "type", "name", "range"
      "Gov", "Despotism", "Player"
    }
nreqs   =
    { "type", "name", "range"
      "Building", "Pyramids", "Player"
      "Tech", "Railroad", "World"
    }

So, there is a -1 penalty on worked tile with resource value more than 2 if player is running their civilization on Despotism.
The effect is cancelled if the player has built the pyramids OR any player has invented the railroad tech.

I think the railroad should be removed from nreqs and new effects (for both despo & tribal) added to re-instate the effect in case of pyramids gone obsolete:

; The basic penalty effect cancelled by pyramids
[effect_gov_tile_penalty_despotism]
name    = "Output_Penalty_Tile"
value   = 2
reqs    =
    { "type", "name", "range"
      "Gov", "Despotism", "Player"
    }
nreqs   =
    { "type", "name", "range"
      "Building", "Pyramids", "Player"
    }

; Railroad makes Pyramids obsolete
[effect_gov_tile_penalty_despotism_0]
name    = "Output_Penalty_Tile"
value   = 2
reqs    =
    { "type", "name", "range"
      "Gov", "Despotism", "Player"
      "Building", "Pyramids", "Player"
      "Tech", "Railroad", "World"
    }
;nreqs   =
;    { "type", "name", "range"
;    }

Offline

#7 14.01.2015 09:24:38

wieder
Administrator
Posts: 1,626

Re: A small :P problem with the ruleset

Thanks for figuring it out!

Since it's that simple, I guess we don't really need to do anything now. Maybe for the next game but not for LT34. It would be highly unlikely that we could have rails and someone still in despotism while not having built the pyramids.

Offline

Board footer

Powered by FluxBB