Interface WinCondition
The win condition can either be exclusiveenum WinConditionTypes.EXCLUSIVEstructures/role/WinConditionTypes or inclusiveenum WinConditionTypes.INCLUSIVEstructures/role/WinConditionTypes.
- If the win condition is exclusive, then no other roles / factions with an exclusive win condition can win. Exclusive win conditions aren't even called if there is more than 1 win condition in the game which is exclusive.
- Inclusive win conditions are checked only when there is 1 exclusive win condition and that win condition returns a list of players and not false or undefined. Every inclusive win condition must return a list of players which win with the rest of the players.
Every faction's and role's win condition gets executed at the end of every phase.