summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-09-19 01:01:16 +0200
committerTor Andersson <tor@ccxvii.net>2024-09-19 01:05:14 +0200
commit6512998ee5cfa9e5b7e6e5489a732543b43315b6 (patch)
tree26b6efe835166c64da453f9b614255f0c280e316
parentbb8f2a9b219d0a67933ce1f687fc46248cf06bab (diff)
downloadwilderness-war-6512998ee5cfa9e5b7e6e5489a732543b43315b6.tar.gz
Cherokee Uprising - confirm player switch.
-rw-r--r--rules.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 8abb294..7f61f45 100644
--- a/rules.js
+++ b/rules.js
@@ -7532,6 +7532,16 @@ events.cherokee_uprising = {
play() {
delete game.events.cherokees
game.events.cherokee_uprising = 1
+ game.state = 'cherokee_uprising_confirm'
+ },
+}
+
+states.cherokee_uprising_confirm = {
+ prompt() {
+ view.prompt = `Cherokee Uprising: Britain must eliminate 2 regulars, 1 southern provincials, and all Cherokee.`
+ view.actions.next = 1
+ },
+ next() {
set_active_enemy()
game.state = 'cherokee_uprising'
game.uprising = {