Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Level script - fixed alliances #776
In KeeperFX this is the current script command to create alliances:
Setting it to '0' breaks the alliance, setting it to 1 creates the alliance. However, setting up the alliance between a player and a computer player, this still allows the player to break the alliance whenever he wants, and reset it whenever he wants. This allows a player to take some rooms/creatures from his ally, and there's nothing a mapmaker can do about this. (preceding the command with a NEXT_COMMAND_REUSABLE command only makes it a bit more inconvenient).
Additionally, it would be very nice to allow a mapmaker to allow a player to break the alliance, but not reset it. (So if the player decides to betray his ally, he needs to live with the consequences.)