diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-22 22:08:42 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 05e812c325e9fbc8bca497652f5cf77b8ab947e9 (patch) | |
tree | 554ef1180373c75baaa913fe3e5c537684ae2040 /rules.js | |
parent | 2b4bec34881da3611597099f32c2df45ffaebd8e (diff) | |
download | andean-abyss-05e812c325e9fbc8bca497652f5cf77b8ab947e9.tar.gz |
Combine resources from Cities and Depts in Shaded 64.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9389,12 +9389,14 @@ CODE[64 * 2 + 0] = [ // SHADED 64 CODE[64 * 2 + 1] = [ [ vm_if, ()=>AUTOMATIC ], + [ vm_asm, ()=>game.vm.total = 0 ], [ vm_count_pieces, (p,s)=>is_cartels_base(p) && is_city(s) ], [ vm_log, ()=>`${game.vm.count} Cartels Bases in Cities.` ], - [ vm_resources, CARTELS, ()=>(2*game.vm.count) ], + [ vm_asm, ()=>game.vm.total += 2 * game.vm.count ], [ vm_count_pieces, (p,s)=>is_cartels_base(p) && is_dept(s) ], [ vm_log, ()=>`${game.vm.count} Cartels Bases in Departments.` ], - [ vm_resources, CARTELS, ()=>(game.vm.count) ], + [ vm_asm, ()=>game.vm.total += game.vm.count ], + [ vm_resources, CARTELS, ()=>(game.vm.total) ], [ vm_else ], [ vm_prompt, "Cartels Resources +2 for each Cartels Base in a City." ], [ vm_piece, false, 999, 999, (p,s)=>is_cartels_base(p) && is_city(s) ], |