ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

Check Treaty Effects #1697

Closed GoogleFrog closed 6 years ago

GoogleFrog commented 7 years ago

I have modified the database to contain the following treaty effects:

These effects are configured in the database in the way that makes sense but I am not sure that they do what I said they do. The code should be checked to make sure that benefactor and recipient are not the wrong way around. If the code has places where it is the wrong way around I think the code should be changed for consistency. The consistency rule is that the benefactor of an effect is always the one giving something to the recipient, whether it be resources, extra wormhole access, safety from being attacked or aid in defense.

GoogleFrog commented 7 years ago

The Defend Planet, Bomber Staging Point and Invasion Staging Point are treaty effects that did not previously exist. They can be defined in the database in a coherent way but the mechanics for them may not be implemented properly.