diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-02 21:46:43 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-02 21:46:43 +0100 |
commit | 48726dd19ad8dde11a6172f30b5071987b7d09b5 (patch) | |
tree | 8b36ebc15d609d1a316ef6f98870d232ab09db6e /data.js | |
parent | e32cc3efe1c1ef5378cef422555e8c8289449938 (diff) | |
download | land-and-freedom-48726dd19ad8dde11a6172f30b5071987b7d09b5.tar.gz |
add tableaus and icon data
Diffstat (limited to 'data.js')
-rw-r--r-- | data.js | 92 |
1 files changed, 89 insertions, 3 deletions
@@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.PLAYER_WITH_MOST_HERO_POINTS = exports.ON = exports.OFF = exports.TEAMWORK_BONUS = exports.MORALE_BONUS = exports.FOREIGN_AID = exports.SOVIET_SUPPORT = exports.GOVERNMENT = exports.COLLECTIVIZATION = exports.LIBERTY = void 0; +exports.TRASH = exports.TOWARDS_CENTER = exports.SELF = exports.PLAYER_WITH_MOST_HERO_POINTS = exports.OTHER_PLAYERS = exports.ON = exports.OFF = exports.TEAMWORK_BONUS = exports.MORALE_BONUS = exports.FOREIGN_AID = exports.SOVIET_SUPPORT = exports.GOVERNMENT = exports.COLLECTIVIZATION = exports.CLOSEST_TO_VICTORY = exports.CLOSEST_TO_DEFEAT = exports.LIBERTY = exports.ANY = void 0; const LIBERTY = 0; exports.LIBERTY = LIBERTY; const COLLECTIVIZATION = 1; @@ -26,13 +26,20 @@ const MADRID = 'm'; const NORTHERN = 'n'; const SOUTHERN = 's'; const CLOSEST_TO_DEFEAT = 'd'; +exports.CLOSEST_TO_DEFEAT = CLOSEST_TO_DEFEAT; const CLOSEST_TO_VICTORY = 'v'; +exports.CLOSEST_TO_VICTORY = CLOSEST_TO_VICTORY; const TOWARDS_CENTER = 10; +exports.TOWARDS_CENTER = TOWARDS_CENTER; const AWAY_FROM_CENTER = 11; const ANY = 'any'; +exports.ANY = ANY; const SELF = 'self'; +exports.SELF = SELF; const OTHER_PLAYERS = 'other'; +exports.OTHER_PLAYERS = OTHER_PLAYERS; const TRASH = 'trash'; +exports.TRASH = TRASH; function create_effect(type, target, value) { return { type, @@ -49,6 +56,7 @@ const data = { create_effect('track', FOREIGN_AID, 2), create_effect('track', SOVIET_SUPPORT, -1), ], + icons: ['foreign_aid', 'add_to_front', 'd_soviet_support'], strength: 1, title: 'CLANDESTINE FRENCH ARMS', type: 'pc', @@ -60,6 +68,7 @@ const data = { create_effect('front', ANY, 3), create_effect('track', LIBERTY, -2), ], + icons: ['foreign_aid', 'add_to_front', 'd_liberty'], strength: 2, title: 'POPULAR ARMY OF THE REPUBLIC', type: 'pc', @@ -70,6 +79,7 @@ const data = { create_effect('front', CLOSEST_TO_DEFEAT, 3), create_effect('draw_card', SELF, 1), ], + icons: ['add_to_front', 'government', 'draw_card'], strength: 2, title: 'MEXICAN GUNS', type: 'pc', @@ -81,6 +91,7 @@ const data = { create_effect('track', FOREIGN_AID, 1), create_effect('swap_card_tableau_hand', ANY, 1), ], + icons: ['add_to_front', 'foreign_aid'], strength: 1, title: 'BATTLE OF GUADALAJARA', type: 'pc', @@ -93,6 +104,7 @@ const data = { create_effect('draw_card', SELF, 3), create_effect('draw_card', OTHER_PLAYERS, 1), ], + icons: ['teamwork_on', 'add_to_front', 'draw_card'], strength: 1, title: '"SI ME OUIERES ESCRIBIR"', type: 'pc', @@ -104,6 +116,7 @@ const data = { create_effect('track', GOVERNMENT, 1), create_effect('draw_card', SELF, 1), ], + icons: ['teamwork_on', 'add_to_front', 'government', 'draw_card'], strength: 2, title: 'XYZ LINE', type: 'pc', @@ -117,6 +130,12 @@ const data = { create_effect('track', GOVERNMENT, 2), create_effect('hero_points', SELF, 1), ], + icons: [ + 'add_to_front', + 'foreign_aid', + 'd_collectivization', + 'government', + ], strength: 3, title: 'INDALECIO PRIETO', type: 'pc', @@ -127,6 +146,7 @@ const data = { create_effect('bonus', ANY, ON), create_effect('front', ANY, 3), ], + icons: ['teamwork_on', 'add_to_front'], strength: 1, title: "PEOPLE'S OLYMPIAD", type: 'pc', @@ -139,6 +159,12 @@ const data = { create_effect('track', SOVIET_SUPPORT, -2), create_effect('draw_card', SELF, 3), ], + icons: [ + 'd_liberty', + 'd_collectivization', + 'd_soviet_support', + 'draw_card', + ], strength: 1, title: 'FOUR ANARCHIST MINISTERS', type: 'pc', @@ -149,6 +175,7 @@ const data = { create_effect('track', FOREIGN_AID, 4), create_effect('add_to_tableau', SELF, 1), ], + icons: ['foreign_aid', 'draw_card'], strength: 1, title: 'GUERNICA', type: 'pc', @@ -160,6 +187,7 @@ const data = { create_effect('remove_blank_marker', ANY, 1), create_effect('track', FOREIGN_AID, 2), ], + icons: ['add_to_front', 'foreign_aid'], strength: 1, title: 'ERNEST HEMINGWAY', type: 'pc', @@ -170,6 +198,7 @@ const data = { create_effect('track', SOVIET_SUPPORT, -3), create_effect('track', COLLECTIVIZATION, -3), ], + icons: ['add_to_front', 'd_soviet_support', 'd_collectivization'], strength: 1, title: 'HUESCA OFFENSIVE', type: 'pc', @@ -182,6 +211,7 @@ const data = { create_effect('track', GOVERNMENT, 2), create_effect('hero_points', SELF, 1), ], + icons: ['foreign_aid', 'd_soviet_support', 'government'], strength: 1, title: 'PABLO NERUDA', type: 'pc', @@ -193,6 +223,7 @@ const data = { create_effect('track', COLLECTIVIZATION, -1), create_effect('track', GOVERNMENT, 1), ], + icons: ['add_to_front', 'd_collectivization', 'government'], strength: 1, title: 'EUSKO GUDAROSTEA', type: 'pc', @@ -203,6 +234,7 @@ const data = { create_effect('track', FOREIGN_AID, 2), create_effect('return_card', TRASH, 1), ], + icons: ['d_liberty', 'd_collectivization', 'foreign_aid', 'draw_card'], strength: 2, title: 'JUAN NEGRÍN', type: 'pc', @@ -210,6 +242,7 @@ const data = { { id: 16, effects: [], + icons: ['add_to_front', 'foreign_aid'], strength: 1, title: 'PUBLICIZE FASCIST WAR CRIMES', type: 'pc', @@ -220,6 +253,7 @@ const data = { create_effect('track', FOREIGN_AID, 1), create_effect('track', GOVERNMENT, 1), ], + icons: ['foreign_aid', 'government', 'd_collectivization'], strength: 1, title: 'AGRARIAN REFORM', type: 'pc', @@ -231,6 +265,7 @@ const data = { create_effect('track', GOVERNMENT, 2), create_effect('draw_card', SELF, 2), ], + icons: ['d_collectivization', 'government', 'draw_card'], strength: 1, title: 'IMPOSE FACTORY MANAGERS', type: 'pc', @@ -242,6 +277,7 @@ const data = { create_effect('track', GOVERNMENT, -1), create_effect('return_card', TRASH, 1), ], + icons: ['add_to_front', 'government', 'draw_card'], strength: 2, title: '¡NO PASARÁN!', type: 'pc', @@ -252,6 +288,7 @@ const data = { create_effect('bonus', ANY, ON), create_effect('track', SOVIET_SUPPORT, 2), ], + icons: ['teamwork_on', 'soviet_support', 'add_to_front'], strength: 2, title: 'RUSSIAN FIGHTERS', type: 'pc', @@ -264,6 +301,7 @@ const data = { create_effect('track', COLLECTIVIZATION, -2), create_effect('hero_points', SELF, 1), ], + icons: ['add_to_front', 'd_liberty', 'd_collectivization'], strength: 1, title: 'ENRIQUE LÍSTER', type: 'pc', @@ -274,6 +312,7 @@ const data = { create_effect('track', LIBERTY, -2), create_effect('track', SOVIET_SUPPORT, 1), ], + icons: ['d_liberty', 'soviet_support', 'government'], strength: 2, title: 'LARGO CABALLERO', type: 'pc', @@ -284,6 +323,7 @@ const data = { create_effect('track', FOREIGN_AID, -2), create_effect('draw_card', SELF, 2), ], + icons: ['add_to_front', 'd_foreign_aid', 'draw_card'], strength: 2, title: 'SOVIET TANKS', type: 'pc', @@ -297,6 +337,7 @@ const data = { create_effect('track', GOVERNMENT, -2), create_effect('hero_points', SELF, 1), ], + icons: ['add_to_front', 'soviet_support', 'd_liberty', 'government'], strength: 3, title: 'DOLORES IBÁRRURI', type: 'pc', @@ -309,6 +350,7 @@ const data = { create_effect('draw_card', SELF, 3), create_effect('draw_card', OTHER_PLAYERS, 1), ], + icons: ['teamwork_on', 'add_to_front', 'draw_card'], strength: 1, title: 'PAUL ROBESON', type: 'pc', @@ -319,6 +361,7 @@ const data = { create_effect('track', LIBERTY, -2), create_effect('track', GOVERNMENT, -1), ], + icons: ['add_to_front', 'd_liberty', 'government'], strength: 1, title: 'MADRID DEFENSE COUNCIL', type: 'pc', @@ -331,6 +374,7 @@ const data = { create_effect('track', FOREIGN_AID, -1), create_effect('draw_card', SELF, 1), ], + icons: ['soviet_support', 'd_foreign_aid', 'draw_card'], strength: 1, title: "STALIN GETS THE REPUBLIC'S GOLD", type: 'pc', @@ -343,6 +387,7 @@ const data = { create_effect('track', FOREIGN_AID, -1), create_effect('draw_card', SELF, 1), ], + icons: ['teamwork_on', 'add_to_front', 'd_foreign_aid', 'draw_card'], strength: 1, title: 'INTERNATIONAL BRIGADES', type: 'pc', @@ -352,6 +397,7 @@ const data = { effects: [ create_effect('track', GOVERNMENT, -2), ], + icons: ['government', 'd_liberty'], strength: 1, title: 'BAN WOMEN FROM THE FRONT', type: 'pc', @@ -363,6 +409,7 @@ const data = { create_effect('track', SOVIET_SUPPORT, 2), create_effect('track', FOREIGN_AID, -3), ], + icons: ['add_to_front', 'soviet_support', 'd_foreign_aid'], strength: 1, title: 'ABRAHAM LINCOLN BRIGADE', type: 'pc', @@ -374,6 +421,7 @@ const data = { create_effect('track', SOVIET_SUPPORT, 3), create_effect('track', GOVERNMENT, -2), ], + icons: ['soviet_support', 'government'], strength: 2, title: 'OUTLAW THE POUM', type: 'pc', @@ -384,6 +432,12 @@ const data = { create_effect('front', ANY, 1), create_effect('track', SOVIET_SUPPORT, 1), ], + icons: [ + 'add_to_front', + 'soviet_support', + 'd_liberty', + 'd_collectivization', + ], strength: 1, title: 'DISBAND THE CONTROL PATROLS', type: 'pc', @@ -396,6 +450,7 @@ const data = { create_effect('track', LIBERTY, -4), create_effect('swap_card_tableau_hand', ANY, 1), ], + icons: ['soviet_support', 'd_liberty'], strength: 1, title: 'MAY DAYS', type: 'pc', @@ -407,6 +462,7 @@ const data = { create_effect('track', GOVERNMENT, -1), create_effect('draw_card', SELF, 1), ], + icons: ['add_to_front', 'government', 'draw_card'], strength: 1, title: 'FIFTH REGIMENT', type: 'pc', @@ -417,6 +473,7 @@ const data = { create_effect('front', ANY, 2), create_effect('draw_card', SELF, 2), ], + icons: ['add_to_front', 'soviet_support', 'draw_card'], strength: 1, title: 'THÄLMANN BATTALION', type: 'pc', @@ -429,6 +486,7 @@ const data = { create_effect('draw_card', SELF, 2), create_effect('add_to_tableau', ANY, 1), ], + icons: ['soviet_support', 'd_collectivization', 'draw_card'], strength: 1, title: 'DE-COLLECTIVIZE AGRICULTURE', type: 'pc', @@ -442,6 +500,12 @@ const data = { create_effect('track', GOVERNMENT, TOWARDS_CENTER), create_effect('hero_points', SELF, 1), ], + icons: [ + 'add_to_front', + 'collectivization', + 'liberty', + 'government_to_center', + ], strength: 3, title: 'BUENAVENTURA DURRUTI', type: 'pc', @@ -454,6 +518,7 @@ const data = { create_effect('draw_card', SELF, 1), create_effect('swap_card_tableau_hand', ANY, 1), ], + icons: ['liberty', 'd_soviet_support', 'draw_card'], strength: 2, title: 'MUJERES LIBRES', type: 'pc', @@ -464,6 +529,7 @@ const data = { create_effect('track', COLLECTIVIZATION, 1), create_effect('draw_card', SELF, 2), ], + icons: ['add_to_front', 'collectivization', 'draw_card'], strength: 1, title: 'IRON COLUMN', type: 'pc', @@ -475,6 +541,7 @@ const data = { create_effect('track', COLLECTIVIZATION, 2), create_effect('draw_card', SELF, 1), ], + icons: ['add_to_front', 'collectivization', 'draw_card'], strength: 2, title: 'ASTURIAN MINERS', type: 'pc', @@ -486,6 +553,7 @@ const data = { create_effect('track', COLLECTIVIZATION, 3), create_effect('return_card', TRASH, 1), ], + icons: ['teamwork_on', 'collectivization', 'draw_card'], strength: 2, title: 'CNT-FAI', type: 'pc', @@ -497,6 +565,7 @@ const data = { create_effect('front', ARAGON, 2), create_effect('front', MADRID, 1), ], + icons: ['liberty', 'add_to_front'], strength: 2, title: 'DURRUTI COLUMN', type: 'pc', @@ -510,6 +579,7 @@ const data = { create_effect('draw_card', SELF, 3), create_effect('draw_card', OTHER_PLAYERS, 1), ], + icons: ['teamwork_on', 'add_to_front', 'd_soviet_support', 'draw_card'], strength: 1, title: 'GEORGE ORWELL', type: 'pc', @@ -521,6 +591,7 @@ const data = { create_effect('track', LIBERTY, 1), create_effect('track', FOREIGN_AID, -1), ], + icons: ['add_to_front', 'liberty', 'd_foreign_aid'], strength: 1, title: 'F.I.J.L.', type: 'pc', @@ -529,8 +600,9 @@ const data = { id: 45, effects: [ create_effect('front', ANY, 2), - create_effect('track', FOREIGN_AID, -3) + create_effect('track', FOREIGN_AID, -3), ], + icons: ['add_to_front', 'collectivization', 'd_foreign_aid'], strength: 1, title: 'ARM THE UNIONS', type: 'pc', @@ -541,6 +613,7 @@ const data = { create_effect('bonus', ANY, ON), create_effect('track', LIBERTY, 2), ], + icons: ['teamwork_on', 'liberty', 'add_to_front'], strength: 1, title: 'GUERRILLAS', type: 'pc', @@ -553,6 +626,7 @@ const data = { create_effect('track', GOVERNMENT, TOWARDS_CENTER), create_effect('draw_card', SELF, 1), ], + icons: ['liberty', 'government_to_center', 'draw_card'], strength: 1, title: 'RADICAL EDUCATION', type: 'pc', @@ -564,6 +638,7 @@ const data = { create_effect('track', SOVIET_SUPPORT, -2), create_effect('draw_card', SELF, 3), ], + icons: ['add_to_front', 'd_soviet_support', 'draw_card'], strength: 1, title: 'MATTEOTTI BATTALION', type: 'pc', @@ -574,6 +649,7 @@ const data = { create_effect('track', COLLECTIVIZATION, 4), create_effect('draw_card', SELF, 1), ], + icons: ['collectivization', 'draw_card'], strength: 1, title: 'COLLECTIVIZE AGRICULTURE', type: 'pc', @@ -584,6 +660,7 @@ const data = { create_effect('track', COLLECTIVIZATION, 1), create_effect('track', FOREIGN_AID, -1), ], + icons: ['collectivization', 'add_to_front', 'd_foreign_aid'], strength: 1, title: 'ARMORED VEHICLES', type: 'pc', @@ -595,6 +672,7 @@ const data = { create_effect('track', FOREIGN_AID, -2), create_effect('track', GOVERNMENT, TOWARDS_CENTER), ], + icons: ['collectivization', 'd_foreign_aid', 'government_to_center'], strength: 1, title: 'INDUSTRIAL DEMOCRACY', type: 'pc', @@ -605,6 +683,12 @@ const data = { create_effect('front', ANY, 1), create_effect('track', GOVERNMENT, TOWARDS_CENTER), ], + icons: [ + 'add_to_front', + 'liberty', + 'collectivization', + 'government_to_center', + ], strength: 2, title: 'AFFINITY GROUPS', type: 'pc', @@ -615,6 +699,7 @@ const data = { create_effect('track', LIBERTY, 1), create_effect('hero_points', SELF, 1), ], + icons: ['liberty', 'add_to_front'], strength: 1, title: 'GENDER-INCLUSIVE MILITIA', type: 'pc', @@ -625,6 +710,7 @@ const data = { create_effect('track', SOVIET_SUPPORT, -1), create_effect('add_to_tableau', ANY, 1), ], + icons: ['liberty', 'd_soviet_support', 'draw_card'], strength: 1, title: 'FEDERICA MONTSENY', type: 'pc', @@ -711,7 +797,7 @@ const data = { effects: [ create_effect('attack', SOUTHERN, -5), create_effect('bonus', MORALE_BONUS, OFF), - create_effect('hero_points', PLAYER_WITH_MOST_HERO_POINTS, -1), + create_effect('track', LIBERTY, -1), ], title: 'AIRLIFT OF THE ARMY OF AFRICA', type: 'ec', |