The ability to sign various treaties is now functional in Java MOO. You have 5 treaty options:
- Offer Peace Treaty
- Offer Non-Aggression Pact
- Offer Alliance
- Ask to Declare War on Another Race
- Ask to Break Alliance with Another Race
In addition to the player being able to ask the AI for these options, the AIs will also set up treaties amongst themselves. There will be some more AI work to finesse this logic, but what is in the game is functional. Here are some screen shots to give you a basic idea of how the menus look. The spoken text font for the races still needs some editing, though.
The Main diplomatic menu:
The “Propose Treaty” submenu is below. Note that invalid options are disabled. For example, you cannot ask to break an alliance if the race is not in an alliance.
Below is a standard refusal response. Please note that, when applicable, the AI will often give you a reason for the refusal (perhaps you stole a technology, or your ships are too close to its borders).
Next up: Setting up trade treaties and breaking existing treaties.