summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-29 15:32:50 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-29 15:34:43 +0100
commit34290b89f1c6e09d8a67f9e9c2768b964e960bca (patch)
tree765402e7491fee075d4ab2558884ea506c3b4139
parent0f17a6aed085a815bcff0ecb1a81772e6e714766 (diff)
download1989-dawn-of-freedom-34290b89f1c6e09d8a67f9e9c2768b964e960bca.tar.gz
more capitalization and add -> place
-rw-r--r--events.txt8
-rw-r--r--rules.js159
2 files changed, 84 insertions, 83 deletions
diff --git a/events.txt b/events.txt
index bf0e68b..488dff5 100644
--- a/events.txt
+++ b/events.txt
@@ -261,7 +261,7 @@ heal_our_bleeding_wounds
CARD 36 - Dash for the West*
# Roll a die. If the die roll exceeds the number of Communist controlled spaces in Germany, +1 VP and select any Blue Event with asterisk(*) from the discard pile. The event occurs immediately.
permanently_remove
-prompt 'Dash for the West: select any Democratic Event with an asterix(*) from the discard pile. Event occurs immediately'
+prompt 'Dash for the West: Select any Democratic Event with an asterix(*) from the discard pile. Event occurs immediately'
dash_for_the_west
@@ -501,7 +501,7 @@ add_limited_infl 3 1
CARD 67 - Reformer Rehabilitated*
# If you are ahead on the Tiananmen Square track, draw any card in the discard pile. The event takes place immediately.
-prompt 'Reformer Rehabilitated: chose any non-scoring card in the discard pile. Event takes place immediately'
+prompt 'Reformer Rehabilitated: Choose any non-scoring card in the discard pile. Event takes place immediately.'
reformer_rehabilitated
@@ -613,7 +613,7 @@ add_x_infl 3
CARD 80 - Nepotism*
-# Roll a die. 1-2: Place 4 Communist SPs in Worker spaces in the Balkans. 3-4: add 3 SPs in Worker spaces in the Balkans. 5-6: add 1 SP to a Worker space in the Balkans.
+# Roll a die. 1-2: Place 4 Communist SPs in Worker spaces in the Balkans. 3-4: Place 3 SPs in Worker spaces in the Balkans. 5-6: Place 1 SP in a Worker space in the Balkans.
permanently_remove
nepotism
valid_spaces_region_socio 'Balkans', 4
@@ -697,7 +697,7 @@ CARD 89 - Domino Theory*
# If the Democrat holds Power in at least 2 counties, he may retrieve any Power Struggle - card from the discard pile and play it immediately as an event. The Democrat receives a -1 drm to his dice rolls for this Power Struggle.
permanently_remove
if !is_auto_resolve(C_DOMINO_THEORY)
-prompt 'Domino Theory: choose a Power Struggle card to play from the discard pile'
+prompt 'Domino Theory: Choose a Power Struggle card to play from the discard pile.'
domino_theory
else
domino_theory_pass
diff --git a/rules.js b/rules.js
index 8aa3358..3437e77 100644
--- a/rules.js
+++ b/rules.js
@@ -826,7 +826,7 @@ states.resolve_opponent_event = {
}
states.add_influence = {
- inactive: 'add SPs',
+ inactive: 'place SPs',
prompt() {
if (game.available_ops <= 0) {
view.prompt = 'Place SPs done.'
@@ -858,7 +858,7 @@ states.add_influence = {
}
states.tiananmen_square_attempt = {
- inactive: 'do Tiananmen Square Attempt',
+ inactive: 'Tiananmen Square Attempt',
prompt() {
view.prompt = 'Tiananmen Square Attempt: Roll a die.'
gen_action('roll')
@@ -871,7 +871,7 @@ states.tiananmen_square_attempt = {
}
states.tiananmen_square_attempt_success = {
- inactive: 'do Tiananmen Square Attempt',
+ inactive: 'Tiananmen Square Attempt',
prompt() {
if (game.vm_event > 200) { // TODO magic number
view.prompt = 'Tiananmen Square Attempt: Successful. Claim award.'
@@ -892,7 +892,7 @@ states.tiananmen_square_attempt_success = {
}
states.tiananmen_square_attempt_fail = {
- inactive: 'do Tiananmen Square Attempt',
+ inactive: 'Tiananmen Square Attempt',
prompt() {
view.prompt = 'Tiananmen Square Attempt: Failed.'
gen_action('end_round')
@@ -904,7 +904,7 @@ states.tiananmen_square_attempt_fail = {
}
states.tiananmen_square_attempt_done = {
- inactive: 'do Tiananmen Square Attempt',
+ inactive: 'Tiananmen Square Attempt',
prompt() {
view.prompt = 'Tiananmen Square Attempt: Done.'
gen_action('end_round')
@@ -915,7 +915,7 @@ states.tiananmen_square_attempt_done = {
}
states.tst_goddess = {
- inactive: 'choose whether to discard a card',
+ inactive: 'claim Tiananmen Square award',
prompt() {
// TODO: at start of turn?
view.prompt = 'Tiananmen Square Award: Discard non-Scoring Card, and draw replacement card.'
@@ -937,7 +937,7 @@ states.tst_goddess = {
}
states.tst_goddess_draw = {
- inactive: 'choose whether to discard a card',
+ inactive: 'claim Tiananmen Square award',
prompt() {
view.prompt = 'Tiananmen Square Award: Draw a replacement card.'
gen_action('draw')
@@ -5961,7 +5961,7 @@ states.vm_add_infl_free = {
prompt_event("No available spaces remaining.")
gen_action('done')
} else if (game.vm_available_ops > 0) {
- prompt_event(`Place ${game.vm_available_ops} SPs to ${event_prompt()}.`)
+ prompt_event(`Place ${game.vm_available_ops} SPs in ${event_prompt()}.`)
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
@@ -6001,7 +6001,7 @@ states.vm_add_x_infl = {
prompt_event("The Romanian Elite space no longer exists.")
gen_action('done')
} else if (game.vm_available_ops > 0) {
- prompt_event(`Place ${game.vm_available_ops} SPs to ${event_prompt()}.`)
+ prompt_event(`Place ${game.vm_available_ops} SPs in ${event_prompt()}.`)
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
@@ -6030,7 +6030,7 @@ states.vm_add_limited_infl = {
prompt_event(`Place ${pluralize(game.vm_max_infl,'SP')} ${event_prompt()}.`)
}
else {
- prompt_event(`Place ${pluralize(game.vm_available_ops,'SP')} to ${event_prompt()}.`)
+ prompt_event(`Place ${pluralize(game.vm_available_ops,'SP')} in ${event_prompt()}.`)
}
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
@@ -6420,7 +6420,7 @@ states.vm_central_committee_reshuffle = {
view.prompt = 'Central Committee Reshuffle: No countries to choose.'
gen_action('pass')
} else {
- view.prompt = 'Central Committee Reshuffle: Choose a country to add SPs.'
+ view.prompt = 'Central Committee Reshuffle: Choose a country to place SPs.'
if (!game.revolutions[0]) {gen_action('poland')}
if (!game.revolutions[1]) {gen_action('hungary')}
if (!game.revolutions[2]) {gen_action('east_germany')}
@@ -6480,7 +6480,7 @@ states.vm_central_committee_reshuffle = {
states.vm_common_european_home_choose = {
prompt() {
- view.prompt = `Common European Home: play an opponent's card, event does not occur.`
+ view.prompt = `Common European Home: Play an opponent's card; Event does not occur.`
for (let card of game.valid_cards) {
gen_action_card(card)
}
@@ -6530,7 +6530,7 @@ states.vm_common_european_home_play = {
states.vm_dash_for_the_west = {
prompt() {
- view.prompt = 'Dash for the West: roll a die'
+ view.prompt = 'Dash for the West: Roll a die.'
gen_action('roll')
},
roll() {
@@ -6593,10 +6593,10 @@ states.vm_play_event_from_discard = {
states.vm_deutsche_marks_prep = {
prompt() {
if (game.valid_cards.length === 0) {
- view.prompt = 'Deutsche Marks: no cards to give.'
+ view.prompt = 'Deutsche Marks: No cards to give.'
gen_action('pass')
} else {
- view.prompt = 'Deutsche Marks: choose a card to give.'
+ view.prompt = 'Deutsche Marks: Choose a card to give.'
for (let card of game.valid_cards) {
gen_action_card(card)
}
@@ -6618,7 +6618,7 @@ states.vm_deutsche_marks_prep = {
states.vm_deutsche_marks_confirm = {
prompt() {
- view.prompt = `Deutsche Marks: gave ${cards[game.vm_event].name}.`
+ view.prompt = `Deutsche Marks: Gave ${quoted_card_name[game.vm_event]}.`
gen_action('done')
},
done() {
@@ -6633,11 +6633,10 @@ states.vm_deutsche_marks_confirm = {
states.vm_deutsche_marks = {
prompt() {
- if(cards[game.vm_event].side === 'C' && (cards[game.vm_event].playable || game.playable_cards.includes(game.vm_event))) {
- view.prompt = `Deutsche Marks: you must play ${card_name[this_card()]} for the event.`
+ view.prompt = `Deutsche Marks: Play ${quoted_card_name[this_card()]}.`
+ if (cards[game.vm_event].side === 'C' && (cards[game.vm_event].playable || game.playable_cards.includes(game.vm_event))) {
gen_action('event')
} else {
- view.prompt = `Deutsche Marks: play ${card_name[this_card()]} for:`
gen_action('influence')
gen_action('support_check')
if (game.com_tst_attempted_this_turn === 0) {
@@ -6676,7 +6675,7 @@ states.vm_deutsche_marks = {
states.vm_exit_visas = {
prompt() {
- view.prompt = 'Exit Visas: you may discard cards from your hand and draw replacements.'
+ view.prompt = 'Exit Visas: You may discard cards from your hand and draw replacements.'
for (let card of game.democrat_hand) {
gen_action_card(card)
}
@@ -6705,10 +6704,10 @@ states.vm_exit_visas = {
states.vm_exit_visas_finish = {
prompt() {
if (game.temp > 0) {
- view.prompt = 'Exit Visas: draw replacement cards.'
+ view.prompt = 'Exit Visas: Draw replacement cards.'
gen_action('draw')
} else {
- view.prompt = 'Exit Visas: done.'
+ view.prompt = 'Exit Visas: Done.'
gen_action('done')
}
},
@@ -6804,6 +6803,7 @@ states.vm_goodbye_lenin = {
},
}
+// TODO: rename/reuse for shared effect with vm_tst_8
states.vm_goodbye_lenin_ops = {
prompt() {
view.prompt = `Play ${quoted_card_name[this_card()]}.`
@@ -6842,10 +6842,10 @@ states.vm_goodbye_lenin_ops = {
states.vm_honecker = {
prompt() {
if (game.valid_cards.length === 0 && game.temp === 0) {
- view.prompt = 'Honecker: no valid cards to choose.'
+ view.prompt = 'Honecker: No valid cards to choose.'
gen_action('pass')
} else if (game.temp === 0) {
- view.prompt = 'Honecker: choose a card to add to your hand.'
+ view.prompt = 'Honecker: Choose a card to add to your hand.'
for (let card of game.valid_cards) {
gen_action_card(card)
gen_action('pass')
@@ -6872,10 +6872,10 @@ states.vm_honecker = {
states.vm_inflationary_currency = {
prompt() {
if ((game.active === COM && game.revolutions.every(n => n === false)) || (game.active === DEM && game.revolutions.every(n => n === true))) {
- view.prompt = 'Inflationary Currency: no countries to choose.'
+ view.prompt = 'Inflationary Currency: No countries to choose.'
gen_action('pass')
} else {
- view.prompt = 'Inflationary Currency: choose a country where your opponent has power.'
+ view.prompt = 'Inflationary Currency: Choose a country where your opponent has power.'
if (game.active === DEM) {
if (!game.revolutions[0]) {gen_action('poland')}
if (!game.revolutions[1]) {gen_action('hungary')}
@@ -6938,10 +6938,10 @@ states.vm_inflationary_currency = {
states.vm_inflationary_currency_discard = {
prompt() {
if (game.valid_cards.length === 0) {
- view.prompt = 'Inflationary Currency: no valid cards to discard. You must pass.'
+ view.prompt = 'Inflationary Currency: No valid cards to discard. You must pass.'
gen_action('pass')
} else {
- view.prompt = 'Inflationary Currency: you may discard a 3 op or higher value card to cancel the Support Check.'
+ view.prompt = 'Inflationary Currency: You may discard a 3 op or higher value card to cancel the Support Check.'
gen_action('pass')
for (let card of game.valid_cards) {
gen_action_card(card)
@@ -6976,7 +6976,7 @@ states.vm_kiss_of_death = {
view.prompt = 'Kiss of Death. No cards to discard.'
gen_action('pass')
} else {
- view.prompt = 'Kiss of Death: you must randomly discard a card.'
+ view.prompt = 'Kiss of Death: You must randomly discard a card.'
gen_action('discard')
}
},
@@ -7206,7 +7206,7 @@ states.vm_switch_infl = {
states.vm_malta_summit = {
prompt() {
- view.prompt = 'Malta Summit: roll a die.'
+ view.prompt = 'Malta Summit: Roll a die.'
gen_action('roll')
},
roll() {
@@ -7242,7 +7242,7 @@ states.vm_malta_summit = {
states.vm_modrow = {
prompt() {
- view.prompt = `Modrow: roll a die.`
+ view.prompt = `Modrow: Roll a die.`
gen_action('roll')
},
roll() {
@@ -7264,7 +7264,7 @@ states.vm_modrow = {
states.vm_nepotism = {
prompt() {
- view.prompt = 'Nepotism: roll a die.'
+ view.prompt = 'Nepotism: Roll a die.'
gen_action('roll')
},
roll() {
@@ -7317,7 +7317,7 @@ states.vm_new_years_eve_party = {
states.vm_nomenklatura = {
prompt() {
- view.prompt = 'Nomenklatura: choose to remove all Democratic SPs from Elite spaces or add 3 SPs to any Elite space(s).'
+ view.prompt = 'Nomenklatura: Choose to remove all Democratic SPs from Elite spaces or place 3 SPs in any Elite space(s).'
gen_action('remove')
gen_action('add')
},
@@ -7352,10 +7352,10 @@ states.vm_nomenklatura = {
states.vm_nomenklatura_remove = {
prompt() {
if (game.valid_spaces.length === 0) {
- view.prompt = 'Nomenklatura. No SPs to remove: pass.'
+ view.prompt = 'Nomenklatura: No SPs to remove.'
gen_action('pass')
} else {
- view.prompt = 'Nomenklatura: remove all Democratic SPs from Elite spaces.'
+ view.prompt = 'Nomenklatura: Remove all Democratic SPs from Elite spaces.'
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
@@ -7377,7 +7377,7 @@ states.vm_nomenklatura_remove = {
states.vm_nomenklatura_add = {
prompt() {
- view.prompt = `Nomenklatura: add 3 SPs to any Elite space(s). ${pluralize(game.vm_available_ops, 'SP')} remaining.`
+ view.prompt = `Nomenklatura: Place ${pluralize(game.vm_available_ops, 'SP') in any Elite space(s).`
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
}
@@ -7394,7 +7394,7 @@ states.vm_nomenklatura_add = {
states.vm_samizdat = {
prompt() {
- view.prompt = 'Samizdat: you may set aside a card from your hand and draw a replacement.'
+ view.prompt = 'Samizdat: You may set aside a card from your hand and draw a replacement.'
for (let card of game.democrat_hand) {
gen_action_card(card)
}
@@ -7429,11 +7429,11 @@ states.vm_samizdat_finish = {
states.vm_shock_therapy = {
prompt() {
if (game.revolutions.every(n => n === false)) {
- view.prompt = 'Shock Therapy: no countries to choose.'
+ view.prompt = 'Shock Therapy: No countries to choose.'
gen_action('pass')
} else {
if (!game.vm_active_country || game.vm_active_country === '') {
- view.prompt = 'Shock Therapy: choose a country where you hold Power:'
+ view.prompt = 'Shock Therapy: Choose a country where you hold Power.'
if (game.revolutions[0]) {gen_action('poland')}
if (game.revolutions[1]) {gen_action('hungary')}
if (game.revolutions[2]) {gen_action('east_germany')}
@@ -7442,7 +7442,7 @@ states.vm_shock_therapy = {
if (game.revolutions[5]) {gen_action('romania')}
}
else {
- view.prompt = 'Shock Therapy: roll a die.'
+ view.prompt = 'Shock Therapy: Roll a die.'
gen_action('roll')
}
}
@@ -7516,10 +7516,10 @@ states.vm_shock_therapy = {
states.vm_social_democratic_platform_adopted = {
prompt() {
if (game.revolutions.every(n => n === false)) {
- view.prompt = 'Social Democratic Platform Adopted: no countries to choose.'
+ view.prompt = 'Social Democratic Platform Adopted: No countries to choose.'
gen_action('pass')
} else {
- view.prompt = 'Select a country where the Democrat holds Power.'
+ view.prompt = 'Social Democratic Platform Adopted: Select a country where the Democrat holds Power.'
if (game.revolutions[0]) {gen_action('poland')}
if (game.revolutions[1]) {gen_action('hungary')}
if (game.revolutions[2]) {gen_action('east_germany')}
@@ -7572,7 +7572,7 @@ states.vm_social_democratic_platform_adopted = {
states.vm_systematization = {
prompt() {
- view.prompt = 'Systematization: eliminate a space in Romania.'
+ view.prompt = 'Systematization: Eliminate a space in Romania.'
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
}
@@ -7589,7 +7589,7 @@ states.vm_systematization = {
states.vm_the_chinese_solution = {
prompt() {
- view.prompt = 'The Chinese Solution: you may give up 3 VP to conduct Support Checks in a country where you hold power.'
+ view.prompt = 'The Chinese Solution: You may give up 3 VP to conduct Support Checks in a country where you hold power.'
if (!game.revolutions[0]) {gen_action('poland')}
if (!game.revolutions[1]) {gen_action('hungary')}
if (!game.revolutions[2]) {gen_action('east_germany')}
@@ -7682,7 +7682,7 @@ states.vm_the_tyrant_is_gone = {
gen_action_space(space_id)
}
} else {
- view.prompt = 'The Tyrant is Gone: done.'
+ view.prompt = 'The Tyrant is Gone: Done.'
gen_action('done')
}
},
@@ -7795,16 +7795,16 @@ states.vm_warsaw_pact_summit = {
states.vm_we_are_the_people_remove = {
prompt() {
if (game.demInfl[S_LUTHERAN_CHURCH] === 0 && game.vm_available_ops > 0) {
- view.prompt = '"We are the People!": no SPs to remove.'
+ view.prompt = '"We are the People!": No SPs to remove.'
gen_action('done')
} else if (game.vm_available_ops > 0) {
- view.prompt = '"We are the People!": remove up to 4 SPs from the Lutherian Church.'
+ view.prompt = '"We are the People!": Remove up to 4 SPs from the Lutherian Church.'
gen_action('done')
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
}
} else {
- view.prompt = '"We are the People!" Remove SPs: done.'
+ view.prompt = '"We are the People!": Remove SPs done.'
gen_action('done')
}
},
@@ -7827,7 +7827,7 @@ states.vm_we_are_the_people_remove = {
}
states.vm_we_are_the_people_add = {
prompt() {
- view.prompt = `"We are the People!": you must add the ${pluralize(game.vm_available_ops,'SP')} to spaces in Germany.`
+ view.prompt = `"We are the People!": You must place ${pluralize(game.vm_available_ops,'SP')} in Germany.`
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
}
@@ -7845,11 +7845,11 @@ states.vm_we_are_the_people_add = {
states.vm_workers_revolt = {
prompt() {
if (game.valid_spaces.length === 0) {
- view.prompt = 'Workers Revolt: no valid spaces to select.'
+ view.prompt = 'Workers Revolt: No valid spaces.'
gen_action('pass')
return
}
- view.prompt = 'Workers Revolt: select a Worker Space in a country your opponent has power.'
+ view.prompt = 'Workers Revolt: Select a Worker Space in a country your opponent has power.'
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
}
@@ -7892,12 +7892,13 @@ states.vm_workers_revolt_finish = {
vm_next()
},
}
+
// ==================== TIANANMEN SQUARE TRACK STATES =====================
states.vm_tst_3_prep = {
- inactive: 'resolve Tiananmen Square Track award',
+ inactive: 'claim Tiananmen Square award',
prompt() {
- view.prompt = 'Tiananmen Square Track award: draw 3 cards.'
+ view.prompt = 'Tiananmen Square Award: Draw 3 cards.'
gen_action('draw')
},
draw() {
@@ -7936,7 +7937,7 @@ states.vm_tst_3_prep = {
}
states.vm_tst_3 = {
- inactive: 'resolve Tiananmen Square Track bonus',
+ inactive: 'claim Tiananmen Square award',
prompt() {
if (game.temp < 2) {
view.prompt = `Discard 2 of the drawn cards.`
@@ -7957,14 +7958,14 @@ states.vm_tst_3 = {
}
states.vm_tst_4 = {
- inactive: 'remove SPs',
+ inactive: 'claim Tiananmen Square award',
prompt() {
if (game.vm_available_ops === 0 || game.valid_spaces.length === 0) {
- view.prompt = 'Tiananmen Square Track award. Remove SPs: done.'
+ view.prompt = 'Tiananmen Square Award: Remove SPs done.'
gen_action('done')
return
}
- view.prompt = `Tiananmen Square Track award: remove ${pluralize(game.vm_available_ops,'SP')}.`
+ view.prompt = `Tiananmen Square Award: Remove ${pluralize(game.vm_available_ops,'SP')}.`
for (let space_id of game.valid_spaces) {
gen_action_space(space_id)
@@ -7986,7 +7987,7 @@ states.vm_tst_4 = {
states.vm_tst_6 = {
inactive: 'make their free Support Check',
prompt() {
- view.prompt = 'Tiananmen Square Track award: you have a free 2 Ops Support Check.'
+ view.prompt = 'Tiananmen Square Award: A free 2 Ops Support Check.'
for (let space_id of game.valid_spaces) {
if (space_id) {
gen_action_space(space_id)
@@ -8010,7 +8011,7 @@ states.vm_tst_6 = {
states.vm_tst_6_sc = {
inactive: 'do Support Check',
prompt() {
- view.prompt = `Support Check: ${spaces[game.selected_space].name_unique}. Roll a die`
+ view.prompt = `Support Check in ${spaces[game.selected_space].name_unique}: Roll a die`
gen_action('roll')
},
roll() {
@@ -8025,23 +8026,23 @@ states.vm_tst_6_sc = {
}
states.vm_tst_8 = {
- inactive: 'use Tiananmen Square Track award',
+ inactive: 'claim Tiananmen Square award',
prompt() {
if (game.vm_event_to_do && game.vm_infl_to_do) {
- view.prompt = 'Choose whether to play for event or operations first.'
+ view.prompt = 'Tiananmen Square Award: Play for both Ops and Event.'
gen_action('event')
gen_action('ops')
}
else if (!game.vm_event_to_do && game.vm_infl_to_do) {
- view.prompt = 'Event resolved. Use card for operations.'
+ view.prompt = 'Tiananmen Square Award: Event resolved. Use Ops.'
gen_action('ops')
}
else if (game.vm_event_to_do && !game.vm_infl_to_do) {
- view.prompt = 'Operations resolved. Use card for event.'
+ view.prompt = 'Tiananmen Square Award: Operations resolved. Use Event.'
gen_action('event')
}
else if (!game.vm_event_to_do && !game.vm_infl_to_do) {
- view.prompt = 'Event and operations: done.'
+ view.prompt = 'Tiananmen Square Award: Done.'
gen_action('end_round')
}
},
@@ -8137,7 +8138,7 @@ states.vm_scare_tactics = {
states.vm_support_surges_1 = {
inactive: 'draw cards',
prompt() {
- view.prompt = 'Support Surges: draw a card.'
+ view.prompt = 'Support Surges: Draw a card.'
gen_action('draw')
},
draw() {
@@ -8168,15 +8169,15 @@ states.vm_support_surges_2 = {
inactive: 'draw cards',
prompt() {
if (wildcards.includes(game.temp)) {
- view.prompt = `Support Surges: you drew ${power_cards[game.temp].name}. Draw a second card.`
+ view.prompt = `Support Surges: You drew ${power_cards[game.temp].name}. Draw a second card.`
}
else if (elite_leaders.includes(game.temp)) {
- view.prompt = `Support Surges: you drew an ${power_cards[game.temp].name}. Draw a second card.`
+ view.prompt = `Support Surges: You drew an ${power_cards[game.temp].name}. Draw a second card.`
}
else if (numberless_cards.includes(game.temp)) {
- view.prompt = `Support Surges: you drew a ${power_cards[game.temp].name}. Draw a second card.`
+ view.prompt = `Support Surges: You drew a ${power_cards[game.temp].name}. Draw a second card.`
} else {
- view.prompt = `Support Surges: you drew a ${power_cards[game.temp].name} ${power_cards[game.temp].value}. Draw a second card.`
+ view.prompt = `Support Surges: You drew a ${power_cards[game.temp].name} ${power_cards[game.temp].value}. Draw a second card.`
}
gen_action('draw')
},
@@ -8208,15 +8209,15 @@ states.vm_support_surges_3 = {
inactive: 'draw cards',
prompt() {
if (wildcards.includes(game.temp)) {
- view.prompt = `Support Surges: you drew ${power_cards[game.temp].name}. Done.`
+ view.prompt = `Support Surges: You drew ${power_cards[game.temp].name}. Done.`
}
else if (elite_leaders.includes(game.temp)) {
- view.prompt = `Support Surges: you drew an ${power_cards[game.temp].name}. Done.`
+ view.prompt = `Support Surges: You drew an ${power_cards[game.temp].name}. Done.`
}
else if (numberless_cards.includes(game.temp)) {
- view.prompt = `Support Surges: you drew a ${power_cards[game.temp].name}. Done.`
+ view.prompt = `Support Surges: You drew a ${power_cards[game.temp].name}. Done.`
} else {
- view.prompt = `Support Surges: you drew a ${power_cards[game.temp].name} ${power_cards[game.temp].value}. Done.`
+ view.prompt = `Support Surges: You drew a ${power_cards[game.temp].name} ${power_cards[game.temp].value}. Done.`
}
gen_action('done')
},
@@ -8236,13 +8237,13 @@ states.vm_support_falters = {
(game.active === DEM && game.dem_pwr_hand.length === 0) ||
(game.active === COM && game.com_pwr_hand.length === 0)
) {
- view.prompt = 'Support Falters: no remaining cards to discard.'
+ view.prompt = 'Support Falters: No remaining cards to discard.'
gen_action('pass')
} else if (game.vm_available_ops > 0) {
- view.prompt = 'Support Falters: discard a card.'
+ view.prompt = 'Support Falters: Discard a card.'
gen_action('discard')
} else {
- view.prompt = 'Support Falters: done.'
+ view.prompt = 'Support Falters: Done.'
gen_action('done')
}
},
@@ -8532,7 +8533,7 @@ CODE[35] = [ // Heal our Bleeding Wounds*
CODE[36] = [ // Dash for the West*
[ vm_permanently_remove ],
- [ vm_prompt, 'Dash for the West: select any Democratic Event with an asterix(*) from the discard pile. Event occurs immediately' ],
+ [ vm_prompt, 'Dash for the West: Select any Democratic Event with an asterix(*) from the discard pile. Event occurs immediately' ],
[ vm_dash_for_the_west ],
[ vm_return ],
]
@@ -8772,7 +8773,7 @@ CODE[66] = [ // New Forum
]
CODE[67] = [ // Reformer Rehabilitated*
- [ vm_prompt, 'Reformer Rehabilitated: chose any non-scoring card in the discard pile. Event takes place immediately' ],
+ [ vm_prompt, 'Reformer Rehabilitated: Choose any non-scoring card in the discard pile. Event takes place immediately.' ],
[ vm_reformer_rehabilitated ],
[ vm_return ],
]
@@ -8968,7 +8969,7 @@ CODE[88] = [ // Adamec*
CODE[89] = [ // Domino Theory*
[ vm_permanently_remove ],
[ vm_if, ()=>!is_auto_resolve(C_DOMINO_THEORY) ],
- [ vm_prompt, 'Domino Theory: choose a Power Struggle card to play from the discard pile' ],
+ [ vm_prompt, 'Domino Theory: Choose a Power Struggle card to play from the discard pile.' ],
[ vm_domino_theory ],
[ vm_else ],
[ vm_domino_theory_pass ],