summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events.txt10
-rw-r--r--rules.js12
2 files changed, 17 insertions, 5 deletions
diff --git a/events.txt b/events.txt
index 88afc7c..7f587f6 100644
--- a/events.txt
+++ b/events.txt
@@ -364,10 +364,16 @@ SHADED 34
log "NOT IMPLEMENTED"
EVENT 35
- log "NOT IMPLEMENTED"
+ current REBEL_FACTIONS
+ add_influence (game.current)
+ prompt `Place a ${PIECE_FACTION_TYPE_NAME[game.current][ELITE]} in up to 3 Provinces with ${PIECE_FACTION_TYPE_NAME[other_rebel_faction(game.current)][ELITE]}.`
+ space_opt 3 has_piece(s, other_rebel_faction(game.current), ELITE) && can_place_piece(s, game.current, ELITE)
+ auto_place (game.current) ELITE
+ endspace
SHADED 35
- log "NOT IMPLEMENTED"
+ remove_influence BK
+ remove_influence VE
EVENT 36
current VE
diff --git a/rules.js b/rules.js
index 1a209cb..1b3a69e 100644
--- a/rules.js
+++ b/rules.js
@@ -258,7 +258,7 @@ exports.setup = function (seed, scenario, _options) {
}
function setup_deck() {
- game.deck = [ 36, 29, 28, 27, 32, 23, 8, 7, 6, 5, 3, 36, 10, 37, 11, 2, 10, 1, 12, 13, 14 ]
+ game.deck = [ 35, 29, 28, 27, 32, 23, 8, 7, 6, 5, 3, 36, 10, 37, 11, 2, 10, 1, 12, 13, 14 ]
}
function setup_standard() {
@@ -4574,13 +4574,19 @@ CODE[34 * 2 + 1] = [
// EVENT 35
CODE[35 * 2 + 0] = [
- [ vm_log, "NOT IMPLEMENTED" ],
+ [ vm_current, REBEL_FACTIONS ],
+ [ vm_add_influence, ()=>(game.current) ],
+ [ vm_prompt, ()=>`Place a ${PIECE_FACTION_TYPE_NAME[game.current][ELITE]} in up to 3 Provinces with ${PIECE_FACTION_TYPE_NAME[other_rebel_faction(game.current)][ELITE]}.` ],
+ [ vm_space, true, 0, 3, (s)=>has_piece(s, other_rebel_faction(game.current), ELITE) && can_place_piece(s, game.current, ELITE) ],
+ [ vm_auto_place, false, 0, false, ()=>(game.current), ELITE ],
+ [ vm_endspace ],
[ vm_return ],
]
// SHADED 35
CODE[35 * 2 + 1] = [
- [ vm_log, "NOT IMPLEMENTED" ],
+ [ vm_remove_influence, BK ],
+ [ vm_remove_influence, VE ],
[ vm_return ],
]