summaryrefslogtreecommitdiff
path: root/data.ts
diff options
context:
space:
mode:
authorFrans Bongers <fransbongers@franss-mbp.home>2024-12-02 21:46:43 +0100
committerFrans Bongers <fransbongers@franss-mbp.home>2024-12-02 21:46:43 +0100
commit48726dd19ad8dde11a6172f30b5071987b7d09b5 (patch)
tree8b36ebc15d609d1a316ef6f98870d232ab09db6e /data.ts
parente32cc3efe1c1ef5378cef422555e8c8289449938 (diff)
downloadland-and-freedom-48726dd19ad8dde11a6172f30b5071987b7d09b5.tar.gz
add tableaus and icon data
Diffstat (limited to 'data.ts')
-rw-r--r--data.ts92
1 files changed, 89 insertions, 3 deletions
diff --git a/data.ts b/data.ts
index d2d2172..6facc50 100644
--- a/data.ts
+++ b/data.ts
@@ -30,7 +30,10 @@ const OTHER_PLAYERS = 'other';
const TRASH = 'trash';
export {
+ ANY,
LIBERTY,
+ CLOSEST_TO_DEFEAT,
+ CLOSEST_TO_VICTORY,
COLLECTIVIZATION,
GOVERNMENT,
SOVIET_SUPPORT,
@@ -39,7 +42,11 @@ export {
TEAMWORK_BONUS,
OFF,
ON,
+ OTHER_PLAYERS,
PLAYER_WITH_MOST_HERO_POINTS,
+ SELF,
+ TOWARDS_CENTER,
+ TRASH,
};
function create_effect(
@@ -64,6 +71,7 @@ const data: StaticData = {
// create_effect('track', FOREIGN_AID, 2), // Conditional support
create_effect('track', SOVIET_SUPPORT, -1),
],
+ icons: ['foreign_aid', 'add_to_front', 'd_soviet_support'],
strength: 1,
title: 'CLANDESTINE FRENCH ARMS',
type: 'pc',
@@ -75,6 +83,7 @@ const data: StaticData = {
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',
@@ -86,6 +95,7 @@ const data: StaticData = {
// create_effect('track', FOREIGN_AID, 2), // conditional effect
create_effect('draw_card', SELF, 1),
],
+ icons: ['add_to_front', 'government', 'draw_card'],
strength: 2,
title: 'MEXICAN GUNS',
type: 'pc',
@@ -97,6 +107,7 @@ const data: StaticData = {
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',
@@ -109,6 +120,7 @@ const data: StaticData = {
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',
@@ -121,6 +133,7 @@ const data: StaticData = {
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',
@@ -134,6 +147,12 @@ const data: StaticData = {
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',
@@ -144,6 +163,7 @@ const data: StaticData = {
create_effect('bonus', ANY, ON),
create_effect('front', ANY, 3),
],
+ icons: ['teamwork_on', 'add_to_front'],
strength: 1,
title: "PEOPLE'S OLYMPIAD",
type: 'pc',
@@ -156,6 +176,12 @@ const data: StaticData = {
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',
@@ -167,6 +193,7 @@ const data: StaticData = {
// create_effect('track', FOREIGN_AID, 3) // conditional draw cards
create_effect('add_to_tableau', SELF, 1),
],
+ icons: ['foreign_aid', 'draw_card'],
strength: 1,
title: 'GUERNICA',
type: 'pc',
@@ -178,6 +205,7 @@ const data: StaticData = {
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',
@@ -189,6 +217,7 @@ const data: StaticData = {
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',
@@ -201,6 +230,7 @@ const data: StaticData = {
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',
@@ -212,6 +242,7 @@ const data: StaticData = {
create_effect('track', COLLECTIVIZATION, -1),
create_effect('track', GOVERNMENT, 1),
],
+ icons: ['add_to_front', 'd_collectivization', 'government'],
strength: 1,
title: 'EUSKO GUDAROSTEA',
type: 'pc',
@@ -223,6 +254,7 @@ const data: StaticData = {
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',
@@ -233,6 +265,7 @@ const data: StaticData = {
// create_effect('front', ANY, -2) // move attacks
// create_effect('track', FOREIGN_AID, 4) // conditional
],
+ icons: ['add_to_front', 'foreign_aid'],
strength: 1,
title: 'PUBLICIZE FASCIST WAR CRIMES',
type: 'pc',
@@ -244,6 +277,7 @@ const data: StaticData = {
create_effect('track', GOVERNMENT, 1),
// create_effect('track', COLLECTIVIZATION,-4) // conditional
],
+ icons: ['foreign_aid', 'government', 'd_collectivization'],
strength: 1,
title: 'AGRARIAN REFORM',
type: 'pc',
@@ -255,6 +289,7 @@ const data: StaticData = {
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',
@@ -266,6 +301,7 @@ const data: StaticData = {
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',
@@ -277,6 +313,7 @@ const data: StaticData = {
create_effect('track', SOVIET_SUPPORT, 2),
// create_effect('front') // conditional on track
],
+ icons: ['teamwork_on', 'soviet_support', 'add_to_front'],
strength: 2,
title: 'RUSSIAN FIGHTERS',
type: 'pc',
@@ -289,6 +326,7 @@ const data: StaticData = {
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',
@@ -300,6 +338,7 @@ const data: StaticData = {
create_effect('track', SOVIET_SUPPORT, 1),
// create_effect('track', GOVERNMENT, -2) // conditional
],
+ icons: ['d_liberty', 'soviet_support', 'government'],
strength: 2,
title: 'LARGO CABALLERO',
type: 'pc',
@@ -311,6 +350,7 @@ const data: StaticData = {
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',
@@ -324,6 +364,7 @@ const data: StaticData = {
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',
@@ -336,6 +377,7 @@ const data: StaticData = {
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',
@@ -347,6 +389,7 @@ const data: StaticData = {
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',
@@ -359,6 +402,7 @@ const data: StaticData = {
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',
@@ -371,6 +415,7 @@ const data: StaticData = {
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',
@@ -381,6 +426,7 @@ const data: StaticData = {
create_effect('track', GOVERNMENT, -2),
// create_effect('track', LIBERTY, -3) // conditional
],
+ icons: ['government', 'd_liberty'],
strength: 1,
title: 'BAN WOMEN FROM THE FRONT',
type: 'pc',
@@ -392,6 +438,7 @@ const data: StaticData = {
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',
@@ -403,6 +450,7 @@ const data: StaticData = {
create_effect('track', SOVIET_SUPPORT, 3),
create_effect('track', GOVERNMENT, -2),
],
+ icons: ['soviet_support', 'government'],
strength: 2,
title: 'OUTLAW THE POUM',
type: 'pc',
@@ -415,6 +463,12 @@ const data: StaticData = {
create_effect('track', SOVIET_SUPPORT, 1),
// create_effect('track') // choose one of two tracks
],
+ icons: [
+ 'add_to_front',
+ 'soviet_support',
+ 'd_liberty',
+ 'd_collectivization',
+ ],
strength: 1,
title: 'DISBAND THE CONTROL PATROLS',
type: 'pc',
@@ -427,6 +481,7 @@ const data: StaticData = {
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',
@@ -438,6 +493,7 @@ const data: StaticData = {
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',
@@ -449,6 +505,7 @@ const data: StaticData = {
// create_effect('track', SOVIET_SUPPORT,2) // conditional
create_effect('draw_card', SELF, 2),
],
+ icons: ['add_to_front', 'soviet_support', 'draw_card'],
strength: 1,
title: 'THÄLMANN BATTALION',
type: 'pc',
@@ -461,6 +518,7 @@ const data: StaticData = {
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',
@@ -469,11 +527,17 @@ const data: StaticData = {
id: 37,
effects: [
create_effect('front', ANY, 1),
- create_effect('track', COLLECTIVIZATION,2),
+ create_effect('track', COLLECTIVIZATION, 2),
create_effect('track', LIBERTY, 2),
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',
@@ -486,6 +550,7 @@ const data: StaticData = {
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',
@@ -497,6 +562,7 @@ const data: StaticData = {
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',
@@ -508,6 +574,7 @@ const data: StaticData = {
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',
@@ -519,6 +586,7 @@ const data: StaticData = {
create_effect('track', COLLECTIVIZATION, 3),
create_effect('return_card', TRASH, 1),
],
+ icons: ['teamwork_on', 'collectivization', 'draw_card'],
strength: 2,
title: 'CNT-FAI',
type: 'pc',
@@ -531,6 +599,7 @@ const data: StaticData = {
create_effect('front', MADRID, 1),
// create_effect('ability') // activate ability
],
+ icons: ['liberty', 'add_to_front'],
strength: 2,
title: 'DURRUTI COLUMN',
type: 'pc',
@@ -544,6 +613,7 @@ const data: StaticData = {
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',
@@ -556,6 +626,7 @@ const data: StaticData = {
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',
@@ -565,8 +636,9 @@ const data: StaticData = {
effects: [
create_effect('front', ANY, 2),
// create_effect('track', COLLECTIVIZATION, 1) // conditional
- 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',
@@ -578,6 +650,7 @@ const data: StaticData = {
create_effect('track', LIBERTY, 2),
// create_effect('special') // Peek at Fascist cards
],
+ icons: ['teamwork_on', 'liberty', 'add_to_front'],
strength: 1,
title: 'GUERRILLAS',
type: 'pc',
@@ -590,6 +663,7 @@ const data: StaticData = {
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',
@@ -601,6 +675,7 @@ const data: StaticData = {
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',
@@ -611,6 +686,7 @@ const data: StaticData = {
create_effect('track', COLLECTIVIZATION, 4),
create_effect('draw_card', SELF, 1),
],
+ icons: ['collectivization', 'draw_card'],
strength: 1,
title: 'COLLECTIVIZE AGRICULTURE',
type: 'pc',
@@ -622,6 +698,7 @@ const data: StaticData = {
// create_effect('front', ARAGON, 3) // conditional
create_effect('track', FOREIGN_AID, -1),
],
+ icons: ['collectivization', 'add_to_front', 'd_foreign_aid'],
strength: 1,
title: 'ARMORED VEHICLES',
type: 'pc',
@@ -633,6 +710,7 @@ const data: StaticData = {
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',
@@ -644,6 +722,12 @@ const data: StaticData = {
// create_effect('track') // choose
create_effect('track', GOVERNMENT, TOWARDS_CENTER),
],
+ icons: [
+ 'add_to_front',
+ 'liberty',
+ 'collectivization',
+ 'government_to_center',
+ ],
strength: 2,
title: 'AFFINITY GROUPS',
type: 'pc',
@@ -655,6 +739,7 @@ const data: StaticData = {
// create_effect('front', ANY, 3) // conditional
create_effect('hero_points', SELF, 1),
],
+ icons: ['liberty', 'add_to_front'],
strength: 1,
title: 'GENDER-INCLUSIVE MILITIA',
type: 'pc',
@@ -666,6 +751,7 @@ const data: StaticData = {
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',
@@ -752,7 +838,7 @@ const data: StaticData = {
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',