diff options
-rw-r--r-- | events.txt | 2 | ||||
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 28 |
3 files changed, 17 insertions, 15 deletions
@@ -122,7 +122,7 @@ roundtable_talks CARD 18 - Poszgay Defends the Revolution # Place Communist SPs in 4 spaces in Hungary not under Democratic control. poszgay -prompt 'spaces in Hungary not under Democratic control' +prompt 'to 4 spaces in Hungary not under Democratic control' add_limited_infl 4 1 permanently_remove @@ -62,7 +62,7 @@ <div id="log"></div>
</aside>
-<main data-min-zoom="1">
+<main data-min-zoom="0.5" data-max-zoom = "2.0>
<!-- MAP, EVENTS -->
<section id="sec_map">
@@ -5237,7 +5237,7 @@ states.vm_dash_for_the_west = { let com_control = check_presence('East_Germany').com_spaces
if (roll > com_control) {
- log(`More than the ${com_control} controlled spaces in East Germany`)
+ log(`More than the ${com_control} Communist controlled spaces in East Germany`)
log('+1 VP')
game.vp++
check_vp()
@@ -5311,7 +5311,7 @@ states.vm_deutsche_marks = { return `resolve ${cards[20].name}.`
},
prompt() {
- if(cards[game.temp].side === 'C' && game.playable_cards[game.temp].playable === 1) {
+ if(cards[game.vm_event].side === 'C' && game.playable_cards[game.vm_event].playable === 1) {
view.prompt = `You must play ${clean_name(cards[this_card()].name)} for the event.`
gen_action('event')
} else {
@@ -5324,28 +5324,28 @@ states.vm_deutsche_marks = { }
},
event() {
- log(`Played C${cards[game.temp].number} for the event`)
+ log(`Played C${cards[game.vm_event].number} for the event`)
game.return === game.active
- goto_vm(game.temp)
+ goto_vm(game.vm_event)
},
influence() {
push_undo()
- log(`Played C${cards[game.temp].number} for influence`)
- game.vm_available_ops = cards[game.temp].ops
+ log(`Played C${cards[game.vm_event].number} for influence`)
+ game.vm_available_ops = cards[game.vm_event].ops
if (game.persistent_events['perestroika']) {game.vm_available_ops++ }
valid_spaces_infl()
game.state = 'vm_add_infl'
},
support_check() {
push_undo()
- log(`Played C${cards[game.temp].number} for support checks`)
+ log(`Played C${cards[game.vm_event].number} for support checks`)
game.vm_available_ops = 2
game.state='vm_support_check_prep'
valid_spaces_sc()
},
tst() {
push_undo()
- log(`Played C${cards[game.temp].number} to the Tiananmen Square Track`)
+ log(`Played C${cards[game.vm_event].number} to the Tiananmen Square Track`)
game.state='vm_tiananmen_square_attempt'
}
}
@@ -5748,20 +5748,22 @@ states.vm_switch_infl = { gen_action_infl(spaces[space_id].name_unique);
//}
}
- } else {
- view.prompt = 'Inluence replaced.'
+ } /*else {
+ view.prompt = 'Influence replaced.'
gen_action('done')
- }
+ }*/
},
infl(space) {
+ push_undo()
vm_switch_infl(space)
if (game.vm_available_ops === 0) {
game.valid_spaces = []
}
+ vm_next()
},
- done() {
+ /*done() {
vm_next()
- }
+ }*/
}
states.vm_malta_summit = {
|