diff options
Diffstat (limited to 'diplomacy/utils/strings.py')
-rw-r--r-- | diplomacy/utils/strings.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/diplomacy/utils/strings.py b/diplomacy/utils/strings.py index 65efb64..80b83a3 100644 --- a/diplomacy/utils/strings.py +++ b/diplomacy/utils/strings.py @@ -63,6 +63,7 @@ DUMMY = 'dummy' DUMMY_PLAYER = 'dummy_player' DUMMY_POWERS = 'dummy_powers' ERROR = 'error' +ERROR_TYPE = 'error_type' FOR_OMNISCIENCE = 'for_omniscience' FORCED = 'forced' FORCED_ORDERS = 'forced_orders' @@ -235,8 +236,9 @@ def role_is_special(role): def switch_special_role(role): """ Return opposite special role of given special role: - - observer role if omniscient role is given - - omniscient role if observer role is given + + - observer role if omniscient role is given + - omniscient role if observer role is given """ if role == OBSERVER_TYPE: return OMNISCIENT_TYPE |