summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-16 00:54:48 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-28 23:33:22 +0100
commitcb7a68797acd3ecdac28e10eefc4d45c45f25222 (patch)
tree239e1a1038189a7750afca78be42ed08543439a0 /play.js
parent3806f4314837fcdb952173076b133944844f32df (diff)
downloadmaria-cb7a68797acd3ecdac28e10eefc4d45c45f25222.tar.gz
sort flags
Diffstat (limited to 'play.js')
-rw-r--r--play.js34
1 files changed, 18 insertions, 16 deletions
diff --git a/play.js b/play.js
index 6cc2045..c02620e 100644
--- a/play.js
+++ b/play.js
@@ -104,22 +104,24 @@ const DI_B_PHASE = 5
const DI_A_PROMISE = 6
const DI_B_PROMISE = 7
-const F_EMPEROR_FRANCE = 1
-const F_EMPEROR_AUSTRIA = 2
-const F_ITALY_FRANCE = 4
-const F_ITALY_AUSTRIA = 8
-const F_SILESIA_ANNEXED = 16
-const F_IMPERIAL_ELECTION = 32 // imperial election card revealed!
-const F_WAR_OF_JENKINS_EAR = 64 // -1 France TC for one turn
-const F_SAXONY_TC_ONCE = 128 // only draw TCs once per turn
-const F_FRANCE_REDUCED = 256
-const F_PRUSSIA_NEUTRAL = 512
-const F_MOVE_FLANDERS = 1024
-const F_MOVE_COOP = 2048
-const F_INTRODUCTORY = 4096
-const F_TWO_PLAYER = 8192
-const F_PLAYER_A_PICK = 16384 // picked PC card
-const F_PLAYER_B_PICK = 32768
+const F_MOVE_FLANDERS = 1
+const F_MOVE_DISPUTE = 2
+const F_SAXONY_TC_ONCE = 4
+const F_FRANCE_REDUCED = 8
+const F_EMPEROR_FRANCE = 16
+const F_EMPEROR_AUSTRIA = 32
+const F_ITALY_FRANCE = 64
+const F_ITALY_AUSTRIA = 128
+const F_SILESIA_ANNEXED = 256
+const F_IMPERIAL_ELECTION = 512
+const F_PRUSSIA_NEUTRAL = 1024
+const F_PRUSSIA_NEUTRAL_2 = 2048
+const F_WAR_OF_JENKINS_EAR = 4096
+
+const F_INTRODUCTORY = 8192
+const F_TWO_PLAYER = 16384
+const F_PLAYER_A_PICK = 32768 // picked PC card
+const F_PLAYER_B_PICK = 65536
// promise validation phases
const V_POLITICS = 1