summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.css1
-rw-r--r--play.js4
-rw-r--r--rules.js4
3 files changed, 4 insertions, 5 deletions
diff --git a/play.css b/play.css
index 862f51c..7eac657 100644
--- a/play.css
+++ b/play.css
@@ -115,6 +115,7 @@
#log .h.austria { background-color: var(--color-light-austria); }
#log .h.imperial { background-color: var(--color-light-imperial); }
#log .h.france { background-color: var(--color-light-france); }
+#log .h.imaginary { background-color: var(--color-light-clock); }
#log .q { font-style: italic; }
diff --git a/play.js b/play.js
index dde9f1e..5436ba4 100644
--- a/play.js
+++ b/play.js
@@ -67,8 +67,8 @@ for (let s of data.type.objective1_imperial) set_add(objective1[P_IMPERIAL], s)
for (let s of data.type.objective2_imperial) set_add(objective2[P_IMPERIAL], s)
for (let s of data.type.objective_france) set_add(objective1[P_FRANCE], s)
-const power_class = [ "prussia", "hanover", "russia", "sweden", "austria", "imperial", "france" ]
-const power_name = [ "Prussia", "Hanover", "Russia", "Sweden", "Austria", "Imperial Army", "France" ]
+const power_class = [ "prussia", "hanover", "russia", "sweden", "austria", "imperial", "france", "imaginary" ]
+const power_name = [ "Prussia", "Hanover", "Russia", "Sweden", "Austria", "Imperial Army", "France", "Imaginary" ]
const GENERAL_POWER = [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 5, 6, 6, 6 ]
diff --git a/rules.js b/rules.js
index 90a8ed8..c982f49 100644
--- a/rules.js
+++ b/rules.js
@@ -1781,8 +1781,6 @@ states.move_give = {
function end_move_piece() {
game.selected = null
- delete game.move_major
- delete game.move_minor
game.state = "movement"
}
@@ -3015,7 +3013,7 @@ function goto_clock_of_fate() {
delete game.ia_attack
if (game.scenario === 1 || game.scenario === 2) {
- log("Imaginary player drew 5 TC.")
+ log("=7")
draw_tc(5)
}