diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-02 21:46:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-02 21:46:43 +0100 |
commit | 346f21024b62b0ec3abfa19423854ab83ef230b6 (patch) | |
tree | 8a5b829cda114955e1f56f993e8ebaa649ed41cb /rules.js | |
parent | a639a166332f6d11fc00c2816882d5fb2a46f835 (diff) | |
download | maria-346f21024b62b0ec3abfa19423854ab83ef230b6.tar.gz |
Charles is Bavarian!
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -74,6 +74,26 @@ const power_class = [ "austria pragmatic saxony", ] +const turn_name = [ + "Setup", + "Turn 1", + "Turn 2", + "Turn 3", + "Winter 1741", + "Turn 4", + "Turn 5", + "Turn 6", + "Winter 1742", + "Turn 7", + "Turn 8", + "Turn 9", + "Winter 1743", + "Turn 10", + "Turn 11", + "Turn 12", + "Winter 1744", +] + const F_EMPEROR_FRANCE = 1 const F_EMPEROR_AUSTRIA = 2 const F_ITALY_FRANCE = 4 @@ -1136,30 +1156,10 @@ function eliminate_general(p, indent) { /* SEQUENCE OF PLAY */ -const TURN_NAME = [ - "Setup", - "Turn 1", - "Turn 2", - "Turn 3", - "Winter 1741", - "Turn 4", - "Turn 5", - "Turn 6", - "Winter 1742", - "Turn 7", - "Turn 8", - "Turn 9", - "Winter 1743", - "Turn 10", - "Turn 11", - "Turn 12", - "Winter 1744", -] - function goto_start_turn() { game.turn += 1 - log("# " + TURN_NAME[game.turn]) + log("# " + turn_name[game.turn]) game.selected = -1 @@ -5543,7 +5543,7 @@ states.imperial_election = { if (game.power === P_AUSTRIA || game.power === P_PRAGMATIC) view.actions.power = [ P_AUSTRIA ] else - view.actions.power = [ P_FRANCE, P_AUSTRIA ] + view.actions.power = [ P_BAVARIA, P_AUSTRIA ] } }, power(pow) { |