diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-28 12:37:38 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-28 12:37:38 +0100 |
commit | 83b3585684d530e6ea1b0d8017f62bc2475be5d1 (patch) | |
tree | c38e9d42a70a0baa8d23b259f1a4ae1e3b8f540c /rules.js | |
parent | 71e67158a9833bb85c41abff755b4c02bbda3dd1 (diff) | |
download | 1989-dawn-of-freedom-83b3585684d530e6ea1b0d8017f62bc2475be5d1.tar.gz |
Updates Kremlin Coup
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -5051,11 +5051,6 @@ function vm_kremlin_coup() { }
})
console.log('game.temp', game.temp)
- elite_spaces.forEach(space => {
- if (!game.revolutions[spaces[space].country] && !check_com_control(space)) {
- game.valid_spaces.push(space);
- }
- })
game.state = 'vm_kremlin_coup_choose_country'
}
@@ -5507,6 +5502,7 @@ function vm_support_falters() { }
function vm_kremlin_coup_elite() {
+ game.valid_spaces=[]
elite_spaces.forEach(space => {
if (spaces[space].country === game.vm_active_country && !check_com_control(space)) {
game.valid_spaces.push(space);
@@ -6663,7 +6659,7 @@ states.vm_kremlin_coup_take_control = { view.prompt = 'Kremlin Coup. Elite space controlled: done.'
gen_action('done')
} else {
- view.prompt = `Kremlin Coup: Take control of the Elite spaces in ${country_name(game.vm_active_country)}.`
+ view.prompt = `Kremlin Coup: Take control of the Elite space in ${country_name(game.vm_active_country)}.`
for (let space_id of game.valid_spaces) {
gen_action_infl(spaces[space_id].name_unique);
}
|