diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-29 23:53:25 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-29 23:53:25 +0000 |
commit | ed03fc83ec2b8c1c3f78ab083a4dd880c7036d32 (patch) | |
tree | 07db3fbc59592292366af62962e2b3c2f2cf5061 /rules.js | |
parent | 8c035960a9a0c2042c900cd530b68c9b2de3b120 (diff) | |
download | 1989-dawn-of-freedom-ed03fc83ec2b8c1c3f78ab083a4dd880c7036d32.tar.gz |
Update prompt for Nomenklatura
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7345,6 +7345,10 @@ states.vm_nomenklatura = { prompt() { view.prompt = 'Nomenklatura: Choose to remove all Democratic SPs from Elite spaces or place 3 SPs in any Elite space(s).' gen_action('remove') + let dem_elites = spaces.filter((space) => space.socio === SOCIO_ELITE && game.demInfl[space.space_id] > 0).length + if (dem_elites === 0) { + view.actions.remove = 0 + } gen_action('add') }, remove() { |