Conversation
Osaka & GoldenGate had wrong effect: PowerPlant Correct: PowerGrid -- compare ItaipuDam and AkademikLomonosov PowerPlant = adds another +1 range around the tile, making range 2 effectively range 3.
|
This fix is wrong. The description says 2-tile range, and it adds power plants with 1-tile range (which is in effect 2-tile range). |
This is what makes maintaining the code hard ... two wonders have "range -1 with powerPlant" while two others have "range with powerGrid". When I changed "grid.getRange ..." in the whole file to the buildingRange ... Osaka and GoldenGate became wrong because of this inconsistent coding. Changing it from "range -1 with powerPlant" to "range with powerGrid" will make future changes easier because the real range is in the code.
|
(fixed it, see detailed comment on 763b7c1) |
|
Your change is not synced in this PR. |
|
Also I would advise against making the change because there're subtle differences and this change might break someone's setup. |
I do not understand this. The PR shows 4 changed lines. That's what is intended.
It makes all 4 Wonders with power supply effect work the same way. What kind of setup can be broken the way how ItaipuDam and AkademikLomonosov work compared to GoldenGateBridge + OsakaCastle? |
|
Sorry I was reading an outdated webpage. I don't remember exactly why it's done this way but I remember there's a reason because I had the same question as you a while ago but decided to keep it. Maybe the scenario no longer applies since electricity has been completely refactored. If we were to adopt the change, it would need to be thoroughly tested in beta. |
|
I'd suggest then that you ask your moderator community like Devonin & co if they know of any difference regarding power supply from the four wonders, specifically from the older two versus newer two as pointed out above. From my understanding there is no difference. I applied the change in my MOD. But again, my understanding can be uncomplete. Until then this PR should just stay open to remind us on that question. |
Osaka & GoldenGate had wrong effect: PowerPlant
Correct: PowerGrid -- compare ItaipuDam and AkademikLomonosov
PowerPlant = adds another +1 range around the tile, making range 2 effectively range 3.