summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data.js2
-rw-r--r--info/cards.html4
-rw-r--r--rules.js33
-rw-r--r--tools/flavor.csv77
-rw-r--r--tools/gendata.js92
5 files changed, 173 insertions, 35 deletions
diff --git a/data.js b/data.js
index d8fe4cf..4c72a23 100644
--- a/data.js
+++ b/data.js
@@ -1,2 +1,2 @@
-const data = {"first_space":0,"first_pop":0,"first_city":0,"last_city":10,"first_dept":11,"last_pop":22,"last_dept":26,"first_foreign":27,"last_foreign":28,"first_loc":29,"last_loc":46,"last_space":46,"coastal_spaces":[11,12,13,17],"card_name":[null,"1st Division","Ospina & Mora","Tapias","Caño Limón - Coveñas","Occidental & Ecopetrol","Oil Spill","7th Special Forces","Fuerza Aérea Colombiana","High Mountain Battalions","Blackhawks","National Defense & Security Council","Plan Colombia","Plan Meteoro","Tres Esquinas","War Tax","Coffee Prices","Madrid Donors","NSPD-18","General Offensive","Mono Jojoy","Raúl Reyes","Alfonso Cano","DoD Contractors","Operación Jaque","Ejército de Liberación Nacional","Gramaje","Misil Antiaéreo","Hugo Chávez","Kill Zone","Peace Commission","Betancourt","Secuestrados","Sucumbíos","Airdropped AKs","Crop Substitution","Zona de Convivencia","Former Military","National Coordination Center","Soldados Campesinos","Demobilization","Mancuso","Senado & Cámara","Calima Front","Colombia Nueva","Los Derechos Humanos","Limpieza","Pinto & del Rosario","Unión Sindical Obrera","Bloques","Carabineros","Pipeline Repairs","Castaño","Criminal Air Force","Deserters & Defectors","DEA Agents","Drogas La Rebaja","Op Millennium","General Serrano","Salcedo","The Chess Player","Air Bridge","Amazonía","Narco-War","Cocaine Labs","Poppies","Tingo María","Mexican Traffickers","Narco-Subs","Riverines & Fast Boats","Ayahuasca Tourism","Darién","Sicarios","Propaganda!","Propaganda!","Propaganda!","Propaganda!"],"card_order":[null,[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,3,2],[0,1,3,2],[0,1,3,2],[0,2,1,3],[0,2,1,3],[0,2,1,3],[0,2,3,1],[0,2,3,1],[0,2,3,1],[0,3,1,2],[0,3,1,2],[0,3,1,2],[0,3,2,1],[0,3,2,1],[0,3,2,1],[1,0,2,3],[1,0,2,3],[1,0,2,3],[1,0,3,2],[1,0,3,2],[1,0,3,2],[1,2,0,3],[1,2,0,3],[1,2,0,3],[1,2,3,0],[1,2,3,0],[1,2,3,0],[1,3,0,2],[1,3,0,2],[1,3,0,2],[1,3,2,0],[1,3,2,0],[1,3,2,0],[2,0,1,3],[2,0,1,3],[2,0,1,3],[2,0,3,1],[2,0,3,1],[2,0,3,1],[2,1,0,3],[2,1,0,3],[2,1,0,3],[2,1,3,0],[2,1,3,0],[2,1,3,0],[2,3,0,1],[2,3,0,1],[2,3,0,1],[2,3,1,0],[2,3,1,0],[2,3,1,0],[3,0,1,2],[3,0,1,2],[3,0,1,2],[3,0,2,1],[3,0,2,1],[3,0,2,1],[3,1,0,2],[3,1,0,2],[3,1,0,2],[3,1,2,0],[3,1,2,0],[3,1,2,0],[3,2,0,1],[3,2,0,1],[3,2,0,1],[3,2,1,0],[3,2,1,0],[3,2,1,0],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3]],"space_name":["Bogotá","Cali","Medellín","Bucaramanga","Ibagué","Santa Marta","Cartagena","Cúcuta","Neiva","Pasto","Sincelejo","Atlántico","Chocó","Nariño","Meta West","Guaviare","Putumayo","Cesar","Antioquia","Santander","Huila","Arauca","Meta East","Vichada","Guainía","Vaupés","Amazonas","Ecuador","Panamá","Santa Marta / Cartagena","Cali / Pasto","Neiva / Pasto","Bogotá / San José","Pasto / Tumaco","Cali / Buenaventura","Cartagena / Sincelejo","Sincelejo / Medellín","Medellín / Ibagué","Ibagué / Cali","Bucaramanga / Ibagué / Bogotá","Bogotá / Neiva","Cúcuta / Arauca","Bogotá / Yopal","Santa Marta / Ayacucho","Bucaramanga / Ayacucho","Sincelejo / Ayacucho","Cúcuta / Ayacucho"],"spaces":[{"type":"city","id":"Bogota","pop":8,"adjacent":[14,19,20,22,32,39,40,42]},{"type":"city","id":"Cali","pop":3,"adjacent":[12,13,20,30,34,38]},{"type":"city","id":"Medellin","pop":3,"adjacent":[12,18,36,37]},{"type":"city","id":"Bucaramanga","pop":2,"adjacent":[18,19,39,44]},{"type":"city","id":"Ibague","pop":2,"adjacent":[12,18,20,37,38,39]},{"type":"city","id":"Santa Marta","pop":2,"adjacent":[11,17,29,43]},{"type":"city","id":"Cartagena","pop":1,"adjacent":[11,29,35]},{"type":"city","id":"Cucuta","pop":1,"adjacent":[19,41,46]},{"type":"city","id":"Neiva","pop":1,"adjacent":[14,16,20,31,40]},{"type":"city","id":"Pasto","pop":1,"adjacent":[13,16,20,27,30,31,33]},{"type":"city","id":"Sincelejo","pop":1,"adjacent":[11,12,18,35,36,45]},{"type":"forest","id":"Atlantico","pop":1,"adjacent":[5,6,10,17,18,19,29,35,43,44,45,46]},{"type":"forest","id":"Choco","pop":1,"adjacent":[1,2,4,10,13,18,20,28,34,36,37,38]},{"type":"forest","id":"Narino","pop":1,"adjacent":[1,9,12,20,27,30,33,34]},{"type":"forest","id":"Meta West","pop":1,"adjacent":[0,8,15,16,20,22,32,40]},{"type":"forest","id":"Guaviare","pop":1,"adjacent":[14,16,22,23,24,25,32]},{"type":"forest","id":"Putumayo","pop":1,"adjacent":[8,9,14,15,20,25,26,27,31]},{"type":"mountain","id":"Cesar","pop":1,"adjacent":[5,11,18,19,43,44,45,46]},{"type":"mountain","id":"Antioquia","pop":2,"adjacent":[2,3,4,10,11,12,17,19,20,36,37,39,43,44,45,46]},{"type":"mountain","id":"Santander","pop":2,"adjacent":[0,3,7,11,17,18,20,21,22,39,41,42,43,44,45,46]},{"type":"mountain","id":"Huila","pop":2,"adjacent":[0,1,4,8,9,12,13,14,16,18,19,30,31,38,39,40]},{"type":"grassland","id":"Arauca","pop":1,"adjacent":[19,22,23,41,42]},{"type":"grassland","id":"Meta East","pop":1,"adjacent":[0,14,15,19,21,23,32,42]},{"type":"grassland","id":"Vichada","pop":0,"adjacent":[15,21,22,24]},{"type":"forest","id":"Guainia","pop":0,"adjacent":[15,23,25]},{"type":"forest","id":"Vaupes","pop":0,"adjacent":[15,16,24,26]},{"type":"forest","id":"Amazonas","pop":0,"adjacent":[16,25]},{"type":"foreign","id":"Ecuador","pop":0,"adjacent":[9,13,16,33]},{"type":"foreign","id":"Panama","pop":0,"adjacent":[12]},{"type":"road","id":"Santa Marta / Cartagena","econ":1,"adjacent":[5,6,11]},{"type":"road","id":"Cali / Pasto","econ":1,"adjacent":[1,9,13,20]},{"type":"road","id":"Neiva / Pasto","econ":1,"adjacent":[8,9,16,20]},{"type":"road","id":"Bogota / San Jose","econ":1,"adjacent":[0,14,15,22]},{"type":"road","id":"Pasto / Tumaco","econ":1,"adjacent":[9,13,27]},{"type":"pipeline","id":"Cali / Buenaventura","econ":1,"adjacent":[1,12,13]},{"type":"pipeline","id":"Cartagena / Sincelejo","econ":1,"adjacent":[6,10,11]},{"type":"pipeline","id":"Sincelejo / Medellin","econ":2,"adjacent":[2,10,12,18]},{"type":"pipeline","id":"Medellin / Ibague","econ":1,"adjacent":[2,4,12,18]},{"type":"pipeline","id":"Ibague / Cali","econ":1,"adjacent":[1,4,12,20]},{"type":"pipeline","id":"Bucaramanga / Ibague / Bogota","econ":2,"adjacent":[0,3,4,18,19,20]},{"type":"pipeline","id":"Bogota / Neiva","econ":2,"adjacent":[0,8,14,20]},{"type":"pipeline","id":"Cucuta / Arauca","econ":3,"adjacent":[7,19,21,21]},{"type":"pipeline","id":"Bogota / Yopal","econ":2,"adjacent":[0,19,21,22]},{"type":"pipeline","id":"Santa Marta / Ayacucho","econ":2,"adjacent":[5,11,17,18,19,44,45,46]},{"type":"pipeline","id":"Bucaramanga / Ayacucho","econ":2,"adjacent":[3,11,17,18,19,43,45,46]},{"type":"pipeline","id":"Sincelejo / Ayacucho","econ":3,"adjacent":[10,11,17,18,19,43,44,46]},{"type":"pipeline","id":"Cucuta / Ayacucho","econ":3,"adjacent":[7,11,17,18,19,43,44,45]}],"adjacent_patrol":[[32,39,40,42],[30,34,38],[36,37],[39,44],[37,38,39],[29,43],[29,35],[41,46],[31,40],[30,31,33],[35,36,45],[5,6,10,29,35,43,44,45,46],[1,2,4,10,34,36,37,38],[1,9,30,33,34],[0,8,32,40],[32],[8,9,31],[5,43,44,45,46],[2,3,4,10,36,37,39,43,44,45,46],[0,3,7,39,41,42,43,44,45,46],[0,1,4,8,9,30,31,38,39,40],[41,42],[0,32,42],[],[],[],[],[9,33],[],[5,6],[1,9],[8,9],[0],[9],[1],[6,10],[2,10],[2,4],[1,4],[0,3,4],[0,8],[7],[0],[5,44,45,46],[3,43,45,46],[10,43,44,46],[7,43,44,45]],"first_piece":[[0,3,3,33,0],[63,72],[102,108],[126,141]],"last_piece":[[2,2,32,62,-1],[71,101],[107,125],[140,152]]}
+const data = {"first_space":0,"first_pop":0,"first_city":0,"last_city":10,"first_dept":11,"last_pop":22,"last_dept":26,"first_foreign":27,"last_foreign":28,"first_loc":29,"last_loc":46,"last_space":46,"coastal_spaces":[11,12,13,17],"card_order":[null,[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,3,2],[0,1,3,2],[0,1,3,2],[0,2,1,3],[0,2,1,3],[0,2,1,3],[0,2,3,1],[0,2,3,1],[0,2,3,1],[0,3,1,2],[0,3,1,2],[0,3,1,2],[0,3,2,1],[0,3,2,1],[0,3,2,1],[1,0,2,3],[1,0,2,3],[1,0,2,3],[1,0,3,2],[1,0,3,2],[1,0,3,2],[1,2,0,3],[1,2,0,3],[1,2,0,3],[1,2,3,0],[1,2,3,0],[1,2,3,0],[1,3,0,2],[1,3,0,2],[1,3,0,2],[1,3,2,0],[1,3,2,0],[1,3,2,0],[2,0,1,3],[2,0,1,3],[2,0,1,3],[2,0,3,1],[2,0,3,1],[2,0,3,1],[2,1,0,3],[2,1,0,3],[2,1,0,3],[2,1,3,0],[2,1,3,0],[2,1,3,0],[2,3,0,1],[2,3,0,1],[2,3,0,1],[2,3,1,0],[2,3,1,0],[2,3,1,0],[3,0,1,2],[3,0,1,2],[3,0,1,2],[3,0,2,1],[3,0,2,1],[3,0,2,1],[3,1,0,2],[3,1,0,2],[3,1,0,2],[3,1,2,0],[3,1,2,0],[3,1,2,0],[3,2,0,1],[3,2,0,1],[3,2,0,1],[3,2,1,0],[3,2,1,0],[3,2,1,0],[0,1,2,3],[0,1,2,3],[0,1,2,3],[0,1,2,3]],"card_name":[null,"1st Division","Ospina & Mora","Tapias","Caño Limón - Coveñas","Occidental & Ecopetrol","Oil Spill","7th Special Forces","Fuerza Aérea Colombiana","High Mountain Battalions","Blackhawks","National Defense & Security Council","Plan Colombia","Plan Meteoro","Tres Esquinas","War Tax","Coffee Prices","Madrid Donors","NSPD-18","General Offensive","Mono Jojoy","Raúl Reyes","Alfonso Cano","DoD Contractors","Operación Jaque","Ejército de Liberación Nacional","Gramaje","Misil Antiaéreo","Hugo Chávez","Kill Zone","Peace Commission","Betancourt","Secuestrados","Sucumbíos","Airdropped AKs","Crop Substitution","Zona de Convivencia","Former Military","National Coordination Center","Soldados Campesinos","Demobilization","Mancuso","Senado & Cámara","Calima Front","Colombia Nueva","Los Derechos Humanos","Limpieza","Pinto & del Rosario","Unión Sindical Obrera","Bloques","Carabineros","Pipeline Repairs","Castaño","Criminal Air Force","Deserters & Defectors","DEA Agents","Drogas La Rebaja","Op Millennium","General Serrano","Salcedo","The Chess Player","Air Bridge","Amazonía","Narco-War","Cocaine Labs","Poppies","Tingo María","Mexican Traffickers","Narco-Subs","Riverines & Fast Boats","Ayahuasca Tourism","Darién","Sicarios","Propaganda!","Propaganda!","Propaganda!","Propaganda!"],"card_flavor":[null,"Jointness","COIN experts take charge","CO tightens civil-military bonds","Profitable pipeline","Oil company security","Rebels blamed","Infrastructure protection training","COIN strike aircraft","Elites guard high-altitude corridors","US helos delivered","Military-police jointness","US \"War on Drugs\"","Transport protection units","Forward base","Defense budget shot in the arm","They're up","Aid conference generous","US \"War on Terror\" takes on FARC",null,"KIA puts FARC in disarray","FARC Deputy killed","FARC leader killed in military strike","US provides aircrew","Dramatic hostage rescue","ELN and FARC jockey","FARC protection rejected","FARC MANPADs deemed a myth","Caracas controls border","Army sniffs out FARC trap","FARC accused in Commissioner's killing","Sympathy for famous hostage","Fed up with hostage-taking","Ecuadoran buffer zone","Insurgents scammed by Russian criminals","Government initiative","ELN gets its DMZ","Ties that bind","New command fights paramilitaries","Local forces platoons","Negotiated reintegration","AUC No.2 extradited","Unity behind Presidential war policy","Suspect leftists massacred","Anti-corruption campaign","Officers disciplined","Ruthless elimination","Human rights investigators","AUC targets oil labor organizers","Militias defy Castaño","National police field forces","Speedy patching","AUC leader's memoir a best seller","Insurgent access to small aircraft",null,"Law enforcement assistance","Cali cartel's drugstore chain seized","Colombian-US strike at Bernal syndicate","National Police hammer cartels","Cartel informant","Kingpin strategy scores","Peruvian coca supply controlled","Brasília's Op Cobra blocks border","Rival syndicates go for the throat","FARC taps suppliers","Growers and Government eradication focus on heroin source","Coca crop fails","Major shipment busted en route","Submersibles seized",null,"Eco-tourism helps trade balance","Arms traffic interdicted","Hired drug guns unreliable"],"card_flavor_shaded":[null,"Service parochialism","COIN strategy eludes Army","Civil-military rivalries fester","Pipeline draws attacks","Industry thought exploitative","Multinationals make mess","US training ineffective","Budget diverted to expensive jets","Equipment not delivered","Delivery of US helos delayed","Military-police rivalry","US aid focuses on drug war","Transport security deemphasized","Base overrun","Middle class resents cost of war","They're down","EU aid focuses on reconstruction","US focused on Mid-East and South Asia",null,"Military strategist","FARC Deputy channels foreign support","Ideologue","Plane down - hostage search and evasion","Hostage rescue goes awry","ELN and FARC coordinate ops","Schedule of fees","MANPADs feared","Caracas aids rebels","Tactics lure enemy in","Peace bid","Hostage negotiations forum for FARC","Ransoming highly profitable","Cross-border war","Covert weapons delivery","FARC proposals lauded",null,"Ex-officers advise paramilitaries","Sympathizers alert AUC","Local forces augment autodefensas","Talks a ruse, fighters recycled","AUC drug lord","Insurgent sympathies","Brutality blamed on Army","Political campaign divisive","International human rights cartel",null,"Prosecutors killed","Labor backs FARC","Independent militias join AUC","National police corruption","Security concerns hinder maintenance","Charismatic AUC political leader",null,null,"Más Yanquis","Retail empire","Investigation penetrated","Officials on cartel payroll","Cali cartel security chief","Cali's Gilberto Rodríguez Orejuela expands empire","Colombian coca growers fill Peruvian void","Jungle landing strips",null,"Well-oiled industry",null,"Hearty coca variety","New routes to US market","Littoral stealth",null,"Eco-tourists taken","Border sanctuary","Unemployed ready to work for syndicates"],"space_name":["Bogotá","Cali","Medellín","Bucaramanga","Ibagué","Santa Marta","Cartagena","Cúcuta","Neiva","Pasto","Sincelejo","Atlántico","Chocó","Nariño","Meta West","Guaviare","Putumayo","Cesar","Antioquia","Santander","Huila","Arauca","Meta East","Vichada","Guainía","Vaupés","Amazonas","Ecuador","Panamá","Santa Marta / Cartagena","Cali / Pasto","Neiva / Pasto","Bogotá / San José","Pasto / Tumaco","Cali / Buenaventura","Cartagena / Sincelejo","Sincelejo / Medellín","Medellín / Ibagué","Ibagué / Cali","Bucaramanga / Ibagué / Bogotá","Bogotá / Neiva","Cúcuta / Arauca","Bogotá / Yopal","Santa Marta / Ayacucho","Bucaramanga / Ayacucho","Sincelejo / Ayacucho","Cúcuta / Ayacucho"],"spaces":[{"type":"city","id":"Bogota","pop":8,"adjacent":[14,19,20,22,32,39,40,42]},{"type":"city","id":"Cali","pop":3,"adjacent":[12,13,20,30,34,38]},{"type":"city","id":"Medellin","pop":3,"adjacent":[12,18,36,37]},{"type":"city","id":"Bucaramanga","pop":2,"adjacent":[18,19,39,44]},{"type":"city","id":"Ibague","pop":2,"adjacent":[12,18,20,37,38,39]},{"type":"city","id":"Santa Marta","pop":2,"adjacent":[11,17,29,43]},{"type":"city","id":"Cartagena","pop":1,"adjacent":[11,29,35]},{"type":"city","id":"Cucuta","pop":1,"adjacent":[19,41,46]},{"type":"city","id":"Neiva","pop":1,"adjacent":[14,16,20,31,40]},{"type":"city","id":"Pasto","pop":1,"adjacent":[13,16,20,27,30,31,33]},{"type":"city","id":"Sincelejo","pop":1,"adjacent":[11,12,18,35,36,45]},{"type":"forest","id":"Atlantico","pop":1,"adjacent":[5,6,10,17,18,19,29,35,43,44,45,46]},{"type":"forest","id":"Choco","pop":1,"adjacent":[1,2,4,10,13,18,20,28,34,36,37,38]},{"type":"forest","id":"Narino","pop":1,"adjacent":[1,9,12,20,27,30,33,34]},{"type":"forest","id":"Meta West","pop":1,"adjacent":[0,8,15,16,20,22,32,40]},{"type":"forest","id":"Guaviare","pop":1,"adjacent":[14,16,22,23,24,25,32]},{"type":"forest","id":"Putumayo","pop":1,"adjacent":[8,9,14,15,20,25,26,27,31]},{"type":"mountain","id":"Cesar","pop":1,"adjacent":[5,11,18,19,43,44,45,46]},{"type":"mountain","id":"Antioquia","pop":2,"adjacent":[2,3,4,10,11,12,17,19,20,36,37,39,43,44,45,46]},{"type":"mountain","id":"Santander","pop":2,"adjacent":[0,3,7,11,17,18,20,21,22,39,41,42,43,44,45,46]},{"type":"mountain","id":"Huila","pop":2,"adjacent":[0,1,4,8,9,12,13,14,16,18,19,30,31,38,39,40]},{"type":"grassland","id":"Arauca","pop":1,"adjacent":[19,22,23,41,42]},{"type":"grassland","id":"Meta East","pop":1,"adjacent":[0,14,15,19,21,23,32,42]},{"type":"grassland","id":"Vichada","pop":0,"adjacent":[15,21,22,24]},{"type":"forest","id":"Guainia","pop":0,"adjacent":[15,23,25]},{"type":"forest","id":"Vaupes","pop":0,"adjacent":[15,16,24,26]},{"type":"forest","id":"Amazonas","pop":0,"adjacent":[16,25]},{"type":"foreign","id":"Ecuador","pop":0,"adjacent":[9,13,16,33]},{"type":"foreign","id":"Panama","pop":0,"adjacent":[12]},{"type":"road","id":"Santa Marta / Cartagena","econ":1,"adjacent":[5,6,11]},{"type":"road","id":"Cali / Pasto","econ":1,"adjacent":[1,9,13,20]},{"type":"road","id":"Neiva / Pasto","econ":1,"adjacent":[8,9,16,20]},{"type":"road","id":"Bogota / San Jose","econ":1,"adjacent":[0,14,15,22]},{"type":"road","id":"Pasto / Tumaco","econ":1,"adjacent":[9,13,27]},{"type":"pipeline","id":"Cali / Buenaventura","econ":1,"adjacent":[1,12,13]},{"type":"pipeline","id":"Cartagena / Sincelejo","econ":1,"adjacent":[6,10,11]},{"type":"pipeline","id":"Sincelejo / Medellin","econ":2,"adjacent":[2,10,12,18]},{"type":"pipeline","id":"Medellin / Ibague","econ":1,"adjacent":[2,4,12,18]},{"type":"pipeline","id":"Ibague / Cali","econ":1,"adjacent":[1,4,12,20]},{"type":"pipeline","id":"Bucaramanga / Ibague / Bogota","econ":2,"adjacent":[0,3,4,18,19,20]},{"type":"pipeline","id":"Bogota / Neiva","econ":2,"adjacent":[0,8,14,20]},{"type":"pipeline","id":"Cucuta / Arauca","econ":3,"adjacent":[7,19,21,21]},{"type":"pipeline","id":"Bogota / Yopal","econ":2,"adjacent":[0,19,21,22]},{"type":"pipeline","id":"Santa Marta / Ayacucho","econ":2,"adjacent":[5,11,17,18,19,44,45,46]},{"type":"pipeline","id":"Bucaramanga / Ayacucho","econ":2,"adjacent":[3,11,17,18,19,43,45,46]},{"type":"pipeline","id":"Sincelejo / Ayacucho","econ":3,"adjacent":[10,11,17,18,19,43,44,46]},{"type":"pipeline","id":"Cucuta / Ayacucho","econ":3,"adjacent":[7,11,17,18,19,43,44,45]}],"adjacent_patrol":[[32,39,40,42],[30,34,38],[36,37],[39,44],[37,38,39],[29,43],[29,35],[41,46],[31,40],[30,31,33],[35,36,45],[5,6,10,29,35,43,44,45,46],[1,2,4,10,34,36,37,38],[1,9,30,33,34],[0,8,32,40],[32],[8,9,31],[5,43,44,45,46],[2,3,4,10,36,37,39,43,44,45,46],[0,3,7,39,41,42,43,44,45,46],[0,1,4,8,9,30,31,38,39,40],[41,42],[0,32,42],[],[],[],[],[9,33],[],[5,6],[1,9],[8,9],[0],[9],[1],[6,10],[2,10],[2,4],[1,4],[0,3,4],[0,8],[7],[0],[5,44,45,46],[3,43,45,46],[10,43,44,46],[7,43,44,45]],"first_piece":[[0,3,3,33,0],[63,72],[102,108],[126,141]],"last_piece":[[2,2,32,62,-1],[71,101],[107,125],[140,152]]}
if (typeof module !== 'undefined') module.exports = data
diff --git a/info/cards.html b/info/cards.html
index 6c7dc5a..8c951b8 100644
--- a/info/cards.html
+++ b/info/cards.html
@@ -74,7 +74,7 @@ body {
.card.card_48{background-image:url(../cards.1x/card_48.jpg)}
.card.card_49{background-image:url(../cards.1x/card_49.jpg)}
.card.card_50{background-image:url(../cards.1x/card_50.jpg)}
-.card.card_51{background-image:url(../cards.1x/card_11.jpg)}
+.card.card_51{background-image:url(../cards.1x/card_51.jpg)}
.card.card_52{background-image:url(../cards.1x/card_52.jpg)}
.card.card_53{background-image:url(../cards.1x/card_53.jpg)}
.card.card_54{background-image:url(../cards.1x/card_54.jpg)}
@@ -150,7 +150,7 @@ body {
.card.card_48{background-image:url(../cards.2x/card_48.jpg)}
.card.card_49{background-image:url(../cards.2x/card_49.jpg)}
.card.card_50{background-image:url(../cards.2x/card_50.jpg)}
-.card.card_51{background-image:url(../cards.2x/card_11.jpg)}
+.card.card_51{background-image:url(../cards.2x/card_51.jpg)}
.card.card_52{background-image:url(../cards.2x/card_52.jpg)}
.card.card_53{background-image:url(../cards.2x/card_53.jpg)}
.card.card_54{background-image:url(../cards.2x/card_54.jpg)}
diff --git a/rules.js b/rules.js
index 725792b..3f8669d 100644
--- a/rules.js
+++ b/rules.js
@@ -51,34 +51,6 @@ const EVT_DARIEN = 71
// Events with no shaded/unshaded variants
const single_events = [ 19, 36, 46, 53, 54, 63, 65, 69 ]
-const event_name_unshaded = {
- [CAP_1ST_DIV]: "Jointness.",
- [CAP_OSPINA]: "COIN experts take charge.",
- [CAP_TAPIAS]: "CO tightens civil-military bonds.",
- [CAP_7TH_SF]: "Infrastructure protection training.",
- [CAP_MTN_BNS]: "Elites guard high-altitude corridors.",
- [CAP_BLACK_HAWKS]: "US helos delivered.",
- [CAP_NDSC]: "Military-police jointness.",
- [CAP_METEORO]: "Transport protection units.",
-}
-
-const event_name_shaded = {
- [CAP_1ST_DIV]: "Service parochialism.",
- [CAP_OSPINA]: "COIN strategy eludes Army.",
- [CAP_TAPIAS]: "Civil-military rivalries fester.",
- [CAP_7TH_SF]: "US training ineffective.",
- [CAP_MTN_BNS]: "Equipment not delivered.",
- [CAP_BLACK_HAWKS]: "Delivery of US helos delayed.",
- [CAP_NDSC]: "Military-police rivalry.",
- [CAP_METEORO]: "Transport security deemphasized.",
- [MOM_PLAN_COLOMBIA]: "US aid focuses on drug war.",
- [MOM_MADRID_DONORS]: "EU aid focuses on reconstruction.",
- [MOM_ALFONSO_CANO]: "Ideologue.",
- [MOM_MISIL_ANTIAEREO]: "MANPADs feared.",
- [MOM_SENADO_CAMARA]: "Insurgent sympathies.",
- [MOM_MEXICAN_TRAFFICKERS]: "New routes to US market.",
-}
-
const faction_name = [ NAME_GOVT, NAME_FARC, NAME_AUC, NAME_CARTELS ]
// Factions
@@ -3606,9 +3578,9 @@ function execute_event() {
function execute_unshaded_event() {
let c = this_card()
log(`C${c} - Unshaded`)
+ log(data.card_flavor[c] + ".")
if (set_has(capability_events, c)) {
- logi(event_name_unshaded[c])
set_add(game.capabilities, c)
resume_event_card()
return
@@ -3621,6 +3593,7 @@ function execute_unshaded_event() {
function execute_shaded_event() {
let c = this_card()
log(`C${c} - Shaded`)
+ log(data.card_flavor_shaded[c] + ".")
if (c === MOM_SENADO_CAMARA) {
log("No Sweep or Assault against " + faction_name[game.current] + " until next Propaganda.")
@@ -3633,14 +3606,12 @@ function execute_shaded_event() {
set_add(game.capabilities, EVT_SUCUMBIOS)
if (set_has(capability_events, c)) {
- logi(event_name_shaded[c])
set_add(game.capabilities, -c)
resume_event_card()
return
}
if (set_has(momentum_events, c)) {
- logi(event_name_shaded[c])
set_add(game.momentum, c)
resume_event_card()
return
diff --git a/tools/flavor.csv b/tools/flavor.csv
new file mode 100644
index 0000000..a33ffe4
--- /dev/null
+++ b/tools/flavor.csv
@@ -0,0 +1,77 @@
+title,unshaded,shaded
+1. 1st Division,Jointness,Service parochialism
+2. Ospina & Mora,COIN experts take charge,COIN strategy eludes Army
+3. Tapias,CO tightens civil-military bonds,Civil-military rivalries fester
+4. Caño Limón - Coveñas,Profitable pipeline,Pipeline draws attacks
+5. Occidental & Ecopetrol,Oil company security,Industry thought exploitative
+6. Oil Spill,Rebels blamed,Multinationals make mess
+7. 7th Special Forces,Infrastructure protection training,US training ineffective
+8. Fuerza Aérea Colombiana,COIN strike aircraft,Budget diverted to expensive jets
+9. High Mountain Battalions,Elites guard high-altitude corridors,Equipment not delivered
+10. Blackhawks,US helos delivered,Delivery of US helos delayed
+11. National Defense & Security Council,Military-police jointness,Military-police rivalry
+12. Plan Colombia,"US ""War on Drugs""",US aid focuses on drug war
+13. Plan Meteoro,Transport protection units,Transport security deemphasized
+14. Tres Esquinas,Forward base,Base overrun
+15. War Tax,Defense budget shot in the arm,Middle class resents cost of war
+16. Coffee Prices,They're up,They're down
+17. Madrid Donors,Aid conference generous,EU aid focuses on reconstruction
+18. NSPD-18,"US ""War on Terror"" takes on FARC",US focused on Mid-East and South Asia
+19. General Offensive,,
+20. Mono Jojoy,KIA puts FARC in disarray,Military strategist
+21. Raúl Reyes,FARC Deputy killed,FARC Deputy channels foreign support
+22. Alfonso Cano,FARC leader killed in military strike,Ideologue
+23. DoD Contractors,US provides aircrew,Plane down - hostage search and evasion
+24. Operación Jaque,Dramatic hostage rescue,Hostage rescue goes awry
+25. Ejército de Liberación Nacional,ELN and FARC jockey,ELN and FARC coordinate ops
+26. Gramaje,FARC protection rejected,Schedule of fees
+27. Misil Antiaéreo,FARC MANPADs deemed a myth,MANPADs feared
+28. Hugo Chávez,Caracas controls border,Caracas aids rebels
+29. Kill Zone,Army sniffs out FARC trap,Tactics lure enemy in
+30. Peace Commission,FARC accused in Commissioner's killing,Peace bid
+31. Betancourt,Sympathy for famous hostage,Hostage negotiations forum for FARC
+32. Secuestrados,Fed up with hostage-taking,Ransoming highly profitable
+33. Sucumbíos,Ecuadoran buffer zone,Cross-border war
+34. Airdropped AKs,Insurgents scammed by Russian criminals,Covert weapons delivery
+35. Crop Substitution,Government initiative,FARC proposals lauded
+36. Zona de Convivencia,ELN gets its DMZ,
+37. Former Military,Ties that bind,Ex-officers advise paramilitaries
+38. National Coordination Center,New command fights paramilitaries,Sympathizers alert AUC
+39. Soldados Campesinos,Local forces platoons,Local forces augment autodefensas
+40. Demobilization,Negotiated reintegration,"Talks a ruse, fighters recycled"
+41. Mancuso,AUC No.2 extradited,AUC drug lord
+42. Senado & Cámara,Unity behind Presidential war policy,Insurgent sympathies
+43. Calima Front,Suspect leftists massacred,Brutality blamed on Army
+44. Colombia Nueva,Anti-corruption campaign,Political campaign divisive
+45. Los Derechos Humanos,Officers disciplined,International human rights cartel
+46. Limpieza,Ruthless elimination,
+47. Pinto & del Rosario,Human rights investigators,Prosecutors killed
+48. Unión Sindical Obrera,AUC targets oil labor organizers,Labor backs FARC
+49. Bloques,Militias defy Castaño,Independent militias join AUC
+50. Carabineros,National police field forces,National police corruption
+51. Pipeline Repairs,Speedy patching,Security concerns hinder maintenance
+52. Castaño,AUC leader's memoir a best seller,Charismatic AUC political leader
+53. Criminal Air Force,Insurgent access to small aircraft,
+54. Deserters & Defectors,,
+55. DEA Agents,Law enforcement assistance,Más Yanquis
+56. Drogas La Rebaja,Cali cartel's drugstore chain seized,Retail empire
+57. Op Millenium,Colombian-US strike at Bernal syndicate,Investigation penetrated
+58. General Serrano,National Police hammer cartels,Officials on cartel payroll
+59. Salcedo,Cartel informant,Cali cartel security chief
+60. The Chess Player,Kingpin strategy scores,Cali's Gilberto Rodríguez Orejuela expands empire
+61. Air Bridge,Peruvian coca supply controlled,Colombian coca growers fill Peruvian void
+62. Amazonía,Brasília's Op Cobra blocks border,Jungle landing strips
+63. Narco-War,Rival syndicates go for the throat,
+64. Cocaine Labs,FARC taps suppliers,Well-oiled industry
+65. Poppies,Growers and Government eradication focus on heroin source,
+66. Tingo María,Coca crop fails,Hearty coca variety
+67. Mexican Traffickers,Major shipment busted en route,New routes to US market
+68. Narco-Subs,Submersibles seized,Littoral stealth
+69. Riverines & Fast Boats,,
+70. Ayahuasca Tourism,Eco-tourism helps trade balance,Eco-tourists taken
+71. Darién,Arms traffic interdicted,Border sanctuary
+72. Sicarios,Hired drug guns unreliable,Unemployed ready to work for syndicates
+73. Propaganda!,,
+74. Propaganda!,,
+75. Propaganda!,,
+76. Propaganda!,,
diff --git a/tools/gendata.js b/tools/gendata.js
index f576a79..d11820b 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -130,6 +130,94 @@ def_card(74, "Propaganda!")
def_card(75, "Propaganda!")
def_card(76, "Propaganda!")
+let card_flavor = []
+let card_flavor_shaded = []
+
+function flavor(id, unshaded, shaded) {
+ id = parseInt(id)
+ if (unshaded)
+ card_flavor[id] = unshaded
+ if (shaded)
+ card_flavor_shaded[id] = shaded
+}
+
+flavor("1. 1st Division","Jointness","Service parochialism")
+flavor("2. Ospina & Mora","COIN experts take charge","COIN strategy eludes Army")
+flavor("3. Tapias","CO tightens civil-military bonds","Civil-military rivalries fester")
+flavor("4. Caño Limón - Coveñas","Profitable pipeline","Pipeline draws attacks")
+flavor("5. Occidental & Ecopetrol","Oil company security","Industry thought exploitative")
+flavor("6. Oil Spill","Rebels blamed","Multinationals make mess")
+flavor("7. 7th Special Forces","Infrastructure protection training","US training ineffective")
+flavor("8. Fuerza Aérea Colombiana","COIN strike aircraft","Budget diverted to expensive jets")
+flavor("9. High Mountain Battalions","Elites guard high-altitude corridors","Equipment not delivered")
+flavor("10. Blackhawks","US helos delivered","Delivery of US helos delayed")
+flavor("11. National Defense & Security Council","Military-police jointness","Military-police rivalry")
+flavor("12. Plan Colombia","US \"War on Drugs\"","US aid focuses on drug war")
+flavor("13. Plan Meteoro","Transport protection units","Transport security deemphasized")
+flavor("14. Tres Esquinas","Forward base","Base overrun")
+flavor("15. War Tax","Defense budget shot in the arm","Middle class resents cost of war")
+flavor("16. Coffee Prices","They're up","They're down")
+flavor("17. Madrid Donors","Aid conference generous","EU aid focuses on reconstruction")
+flavor("18. NSPD-18","US \"War on Terror\" takes on FARC","US focused on Mid-East and South Asia")
+flavor("19. General Offensive","","")
+flavor("20. Mono Jojoy","KIA puts FARC in disarray","Military strategist")
+flavor("21. Raúl Reyes","FARC Deputy killed","FARC Deputy channels foreign support")
+flavor("22. Alfonso Cano","FARC leader killed in military strike","Ideologue")
+flavor("23. DoD Contractors","US provides aircrew","Plane down - hostage search and evasion")
+flavor("24. Operación Jaque","Dramatic hostage rescue","Hostage rescue goes awry")
+flavor("25. Ejército de Liberación Nacional","ELN and FARC jockey","ELN and FARC coordinate ops")
+flavor("26. Gramaje","FARC protection rejected","Schedule of fees")
+flavor("27. Misil Antiaéreo","FARC MANPADs deemed a myth","MANPADs feared")
+flavor("28. Hugo Chávez","Caracas controls border","Caracas aids rebels")
+flavor("29. Kill Zone","Army sniffs out FARC trap","Tactics lure enemy in")
+flavor("30. Peace Commission","FARC accused in Commissioner's killing","Peace bid")
+flavor("31. Betancourt","Sympathy for famous hostage","Hostage negotiations forum for FARC")
+flavor("32. Secuestrados","Fed up with hostage-taking","Ransoming highly profitable")
+flavor("33. Sucumbíos","Ecuadoran buffer zone","Cross-border war")
+flavor("34. Airdropped AKs","Insurgents scammed by Russian criminals","Covert weapons delivery")
+flavor("35. Crop Substitution","Government initiative","FARC proposals lauded")
+flavor("36. Zona de Convivencia","ELN gets its DMZ","")
+flavor("37. Former Military","Ties that bind","Ex-officers advise paramilitaries")
+flavor("38. National Coordination Center","New command fights paramilitaries","Sympathizers alert AUC")
+flavor("39. Soldados Campesinos","Local forces platoons","Local forces augment autodefensas")
+flavor("40. Demobilization","Negotiated reintegration","Talks a ruse, fighters recycled")
+flavor("41. Mancuso","AUC No.2 extradited","AUC drug lord")
+flavor("42. Senado & Cámara","Unity behind Presidential war policy","Insurgent sympathies")
+flavor("43. Calima Front","Suspect leftists massacred","Brutality blamed on Army")
+flavor("44. Colombia Nueva","Anti-corruption campaign","Political campaign divisive")
+flavor("45. Los Derechos Humanos","Officers disciplined","International human rights cartel")
+flavor("46. Limpieza","Ruthless elimination","")
+flavor("47. Pinto & del Rosario","Human rights investigators","Prosecutors killed")
+flavor("48. Unión Sindical Obrera","AUC targets oil labor organizers","Labor backs FARC")
+flavor("49. Bloques","Militias defy Castaño","Independent militias join AUC")
+flavor("50. Carabineros","National police field forces","National police corruption")
+flavor("51. Pipeline Repairs","Speedy patching","Security concerns hinder maintenance")
+flavor("52. Castaño","AUC leader's memoir a best seller","Charismatic AUC political leader")
+flavor("53. Criminal Air Force","Insurgent access to small aircraft","")
+flavor("54. Deserters & Defectors","","")
+flavor("55. DEA Agents","Law enforcement assistance","Más Yanquis")
+flavor("56. Drogas La Rebaja","Cali cartel's drugstore chain seized","Retail empire")
+flavor("57. Op Millenium","Colombian-US strike at Bernal syndicate","Investigation penetrated")
+flavor("58. General Serrano","National Police hammer cartels","Officials on cartel payroll")
+flavor("59. Salcedo","Cartel informant","Cali cartel security chief")
+flavor("60. The Chess Player","Kingpin strategy scores","Cali's Gilberto Rodríguez Orejuela expands empire")
+flavor("61. Air Bridge","Peruvian coca supply controlled","Colombian coca growers fill Peruvian void")
+flavor("62. Amazonía","Brasília's Op Cobra blocks border","Jungle landing strips")
+flavor("63. Narco-War","Rival syndicates go for the throat","")
+flavor("64. Cocaine Labs","FARC taps suppliers","Well-oiled industry")
+flavor("65. Poppies","Growers and Government eradication focus on heroin source","")
+flavor("66. Tingo María","Coca crop fails","Hearty coca variety")
+flavor("67. Mexican Traffickers","Major shipment busted en route","New routes to US market")
+flavor("68. Narco-Subs","Submersibles seized","Littoral stealth")
+flavor("69. Riverines & Fast Boats","","")
+flavor("70. Ayahuasca Tourism","Eco-tourism helps trade balance","Eco-tourists taken")
+flavor("71. Darién","Arms traffic interdicted","Border sanctuary")
+flavor("72. Sicarios","Hired drug guns unreliable","Unemployed ready to work for syndicates")
+flavor("73. Propaganda!","","")
+flavor("74. Propaganda!","","")
+flavor("75. Propaganda!","","")
+flavor("76. Propaganda!","","")
+
let spaces = [ ]
let space_name = [ ]
@@ -391,8 +479,10 @@ for (let i = 0; i < spaces.length; ++i) {
spaces[i].adjacent.sort((a,b)=>a-b)
}
-data.card_name = card_name
data.card_order = card_order
+data.card_name = card_name
+data.card_flavor = card_flavor
+data.card_flavor_shaded = card_flavor_shaded
data.space_name = space_name
data.spaces = spaces