summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-16 12:21:33 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-16 12:21:33 +0200
commit227dca6e6e4c2f2d5a16527507810bc373b758ec (patch)
treec1284345f1116e42d7e15c8e7bc6cde684f35df9 /rules.js
parent55927b36e1f17183c6f63b3b106d838e5a0c15de (diff)
downloadred-flag-over-paris-227dca6e6e4c2f2d5a16527507810bc373b758ec.tar.gz
Add special panels for Karl Marx and Jules Ducatel events.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index ca48ad6..458584d 100644
--- a/rules.js
+++ b/rules.js
@@ -3415,7 +3415,7 @@ states.reveal_commune_hand = {
inactive: "look at Commune player's hand",
prompt() {
event_prompt("Revealing Commune player's hand.")
- view.hand = game.red_hand
+ view.jules_ducatel = game.red_hand
view.actions.done = 1
},
done() {
@@ -3478,7 +3478,7 @@ states.karl_marx_discard = {
inactive: "discard a card",
prompt() {
event_prompt("Discard 2 cards, then play or discard the last card.")
- view.hand = game.vm.cards
+ view.karl_marx = game.vm.cards
for (let c of game.vm.cards)
gen_action_card(c)
},
@@ -3496,7 +3496,7 @@ states.karl_marx_play = {
inactive: "play or discard a card",
prompt() {
event_prompt("Play or discard the last card.")
- view.hand = game.vm.cards
+ view.karl_marx = game.vm.cards
if (can_play_event(game.vm.cards[0]))
view.actions.event = 1
else
@@ -3543,7 +3543,7 @@ states.georges_vaysset = {
inactive: "look at Commune player's hand, take a card, then give them a card",
prompt() {
event_prompt("Take a card from your opponent's hand.")
- view.hand = game.red_hand
+ view.karl_marx = game.red_hand
for (let c of game.red_hand)
gen_action_card(c)
},