summaryrefslogtreecommitdiff
path: root/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'data.js')
-rw-r--r--data.js49
1 files changed, 44 insertions, 5 deletions
diff --git a/data.js b/data.js
index 20a6486..7b86c73 100644
--- a/data.js
+++ b/data.js
@@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.ORGANIZATION_MEDALLION_ID = exports.ARCHIVES_MEDALLION_ID = exports.VOLUNTEERS_MEDALLION_ID = exports.INTELLIGENCE_MEDALLION_ID = exports.PROPAGANDA_MEDALLION_ID = exports.STRATEGY_MEDALLION_ID = exports.FRONTS = exports.DEFEAT = exports.VICTORY = exports.TRASH = exports.TOWARDS_CENTER = exports.AWAY_FROM_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.INITIATIVE_PLAYER = exports.GOVERNMENT = exports.COLLECTIVIZATION = exports.CLOSEST_TO_VICTORY = exports.CLOSEST_TO_DEFEAT = exports.LIBERTY = exports.ANY = exports.MODERATES_ID = exports.COMMUNISTS_ID = exports.ANARCHISTS_ID = exports.MODERATE = exports.COMMUNIST = exports.ANARCHIST = void 0;
+exports.LIBERTY_OR_COLLECTIVIZATION = exports.COMMUNIST_EXTRA_HERO_POINT = exports.ANARCHIST_EXTRA_HERO_POINT = exports.NORTHERN = exports.SOUTHERN = exports.ARAGON = exports.MADRID = exports.ORGANIZATION_MEDALLION_ID = exports.ARCHIVES_MEDALLION_ID = exports.VOLUNTEERS_MEDALLION_ID = exports.INTELLIGENCE_MEDALLION_ID = exports.PROPAGANDA_MEDALLION_ID = exports.STRATEGY_MEDALLION_ID = exports.FRONTS = exports.DEFEAT = exports.VICTORY = exports.TRASH = exports.TOWARDS_CENTER = exports.AWAY_FROM_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.INITIATIVE_PLAYER = exports.GOVERNMENT = exports.COLLECTIVIZATION = exports.CLOSEST_TO_VICTORY = exports.CLOSEST_TO_DEFEAT = exports.LIBERTY = exports.ANY = exports.MODERATES_ID = exports.COMMUNISTS_ID = exports.ANARCHISTS_ID = exports.MODERATE = exports.COMMUNIST = exports.ANARCHIST = exports.ALL_PLAYERS = void 0;
exports.create_effect = create_effect;
const LIBERTY = 0;
exports.LIBERTY = LIBERTY;
@@ -12,6 +12,8 @@ const SOVIET_SUPPORT = 3;
exports.SOVIET_SUPPORT = SOVIET_SUPPORT;
const FOREIGN_AID = 4;
exports.FOREIGN_AID = FOREIGN_AID;
+const LIBERTY_OR_COLLECTIVIZATION = 5;
+exports.LIBERTY_OR_COLLECTIVIZATION = LIBERTY_OR_COLLECTIVIZATION;
const MORALE_BONUS = 0;
exports.MORALE_BONUS = MORALE_BONUS;
const TEAMWORK_BONUS = 1;
@@ -25,10 +27,15 @@ exports.PLAYER_WITH_MOST_HERO_POINTS = PLAYER_WITH_MOST_HERO_POINTS;
const INITIATIVE_PLAYER = 'i';
exports.INITIATIVE_PLAYER = INITIATIVE_PLAYER;
const ALL_PLAYERS = 'all';
+exports.ALL_PLAYERS = ALL_PLAYERS;
const ARAGON = 'a';
+exports.ARAGON = ARAGON;
const MADRID = 'm';
+exports.MADRID = MADRID;
const NORTHERN = 'n';
+exports.NORTHERN = NORTHERN;
const SOUTHERN = 's';
+exports.SOUTHERN = SOUTHERN;
const CLOSEST_TO_DEFEAT = 'd';
exports.CLOSEST_TO_DEFEAT = CLOSEST_TO_DEFEAT;
const CLOSEST_TO_VICTORY = 'v';
@@ -75,6 +82,10 @@ const ARCHIVES_MEDALLION_ID = 7;
exports.ARCHIVES_MEDALLION_ID = ARCHIVES_MEDALLION_ID;
const ORGANIZATION_MEDALLION_ID = 8;
exports.ORGANIZATION_MEDALLION_ID = ORGANIZATION_MEDALLION_ID;
+const ANARCHIST_EXTRA_HERO_POINT = 0;
+exports.ANARCHIST_EXTRA_HERO_POINT = ANARCHIST_EXTRA_HERO_POINT;
+const COMMUNIST_EXTRA_HERO_POINT = 1;
+exports.COMMUNIST_EXTRA_HERO_POINT = COMMUNIST_EXTRA_HERO_POINT;
function create_effect(type, target, value, faction) {
return {
type,
@@ -90,6 +101,7 @@ const data = {
id: 1,
effects: [
create_effect('track', FOREIGN_AID, 2),
+ create_effect('function', 'card1_event2', 0),
create_effect('track', SOVIET_SUPPORT, -1),
],
icons: ['foreign_aid', 'add_to_front', 'd_soviet_support'],
@@ -113,6 +125,7 @@ const data = {
id: 3,
effects: [
create_effect('front', CLOSEST_TO_DEFEAT, 3),
+ create_effect('function', 'card3_event2', 0),
create_effect('draw_card', SELF, 1),
],
icons: ['add_to_front', 'government', 'draw_card'],
@@ -149,6 +162,7 @@ const data = {
id: 6,
effects: [
create_effect('bonus', ANY, ON),
+ create_effect('state', 'remove_attack_from_fronts', 6),
create_effect('track', GOVERNMENT, 1),
create_effect('draw_card', SELF, 1),
],
@@ -209,7 +223,8 @@ const data = {
id: 10,
effects: [
create_effect('track', FOREIGN_AID, 4),
- create_effect('add_to_tableau', SELF, 1),
+ create_effect('function', 'card10_event2', 0),
+ create_effect('add_card_to_tableau', ANY, 1),
],
icons: ['foreign_aid', 'draw_card'],
strength: 1,
@@ -231,6 +246,7 @@ const data = {
{
id: 12,
effects: [
+ create_effect('take_hero_points', OTHER_PLAYERS, 2),
create_effect('track', SOVIET_SUPPORT, -3),
create_effect('track', COLLECTIVIZATION, -3),
],
@@ -267,6 +283,7 @@ const data = {
{
id: 15,
effects: [
+ create_effect('track', LIBERTY_OR_COLLECTIVIZATION, -4),
create_effect('track', FOREIGN_AID, 2),
create_effect('return_card', TRASH, 1),
],
@@ -277,7 +294,10 @@ const data = {
},
{
id: 16,
- effects: [],
+ effects: [
+ create_effect('state', 'move_attacks', 2),
+ create_effect('function', 'card16_event2', 0),
+ ],
icons: ['add_to_front', 'foreign_aid'],
strength: 1,
title: 'PUBLICIZE FASCIST WAR CRIMES',
@@ -288,6 +308,7 @@ const data = {
effects: [
create_effect('track', FOREIGN_AID, 1),
create_effect('track', GOVERNMENT, 1),
+ create_effect('function', 'card17_event3', 0),
],
icons: ['foreign_aid', 'government', 'd_collectivization'],
strength: 1,
@@ -323,6 +344,7 @@ const data = {
effects: [
create_effect('bonus', ANY, ON),
create_effect('track', SOVIET_SUPPORT, 2),
+ create_effect('function', 'card20_event3', 0),
],
icons: ['teamwork_on', 'soviet_support', 'add_to_front'],
strength: 2,
@@ -347,6 +369,7 @@ const data = {
effects: [
create_effect('track', LIBERTY, -2),
create_effect('track', SOVIET_SUPPORT, 1),
+ create_effect('function', 'card22_event3', 0),
],
icons: ['d_liberty', 'soviet_support', 'government'],
strength: 2,
@@ -356,6 +379,7 @@ const data = {
{
id: 23,
effects: [
+ create_effect('function', 'card23_event1', 0),
create_effect('track', FOREIGN_AID, -2),
create_effect('draw_card', SELF, 2),
],
@@ -394,6 +418,8 @@ const data = {
{
id: 26,
effects: [
+ create_effect('function', 'card26_event1', 0),
+ create_effect('front', MADRID, 1),
create_effect('track', LIBERTY, -2),
create_effect('track', GOVERNMENT, -1),
],
@@ -432,6 +458,7 @@ const data = {
id: 29,
effects: [
create_effect('track', GOVERNMENT, -2),
+ create_effect('function', 'card29_event2', 0),
],
icons: ['government', 'd_liberty'],
strength: 1,
@@ -465,8 +492,10 @@ const data = {
{
id: 32,
effects: [
+ create_effect('take_hero_points', OTHER_PLAYERS, 1),
create_effect('front', ANY, 1),
create_effect('track', SOVIET_SUPPORT, 1),
+ create_effect('track', LIBERTY_OR_COLLECTIVIZATION, -3),
],
icons: [
'add_to_front',
@@ -507,6 +536,7 @@ const data = {
id: 35,
effects: [
create_effect('front', ANY, 2),
+ create_effect('function', 'card35_event2', 0),
create_effect('draw_card', SELF, 2),
],
icons: ['add_to_front', 'soviet_support', 'draw_card'],
@@ -520,7 +550,7 @@ const data = {
create_effect('track', SOVIET_SUPPORT, 2),
create_effect('track', COLLECTIVIZATION, -3),
create_effect('draw_card', SELF, 2),
- create_effect('add_to_tableau', ANY, 1),
+ create_effect('add_card_to_tableau', ANY, 1),
],
icons: ['soviet_support', 'd_collectivization', 'draw_card'],
strength: 1,
@@ -562,6 +592,7 @@ const data = {
{
id: 39,
effects: [
+ create_effect('state', 'remove_attack_from_fronts', 39),
create_effect('track', COLLECTIVIZATION, 1),
create_effect('draw_card', SELF, 2),
],
@@ -600,6 +631,7 @@ const data = {
create_effect('track', LIBERTY, 2),
create_effect('front', ARAGON, 2),
create_effect('front', MADRID, 1),
+ create_effect('function', 'card42_event3', 0),
],
icons: ['liberty', 'add_to_front'],
strength: 2,
@@ -623,6 +655,7 @@ const data = {
{
id: 44,
effects: [
+ create_effect('take_hero_points', OTHER_PLAYERS, 1),
create_effect('front', MADRID, 2),
create_effect('track', LIBERTY, 1),
create_effect('track', FOREIGN_AID, -1),
@@ -636,6 +669,7 @@ const data = {
id: 45,
effects: [
create_effect('front', ANY, 2),
+ create_effect('function', 'card45_event2', 0),
create_effect('track', FOREIGN_AID, -3),
],
icons: ['add_to_front', 'collectivization', 'd_foreign_aid'],
@@ -648,6 +682,7 @@ const data = {
effects: [
create_effect('bonus', ANY, ON),
create_effect('track', LIBERTY, 2),
+ create_effect('state', 'peek_fascist_cards', 0),
],
icons: ['teamwork_on', 'liberty', 'add_to_front'],
strength: 1,
@@ -694,6 +729,7 @@ const data = {
id: 50,
effects: [
create_effect('track', COLLECTIVIZATION, 1),
+ create_effect('function', 'card50_event2', 0),
create_effect('track', FOREIGN_AID, -1),
],
icons: ['collectivization', 'add_to_front', 'd_foreign_aid'],
@@ -717,6 +753,7 @@ const data = {
id: 52,
effects: [
create_effect('front', ANY, 1),
+ create_effect('track', LIBERTY_OR_COLLECTIVIZATION, 3),
create_effect('track', GOVERNMENT, TOWARDS_CENTER),
],
icons: [
@@ -733,6 +770,7 @@ const data = {
id: 53,
effects: [
create_effect('track', LIBERTY, 1),
+ create_effect('function', 'card53_event2', 0),
create_effect('hero_points', SELF, 1),
],
icons: ['liberty', 'add_to_front'],
@@ -743,8 +781,9 @@ const data = {
{
id: 54,
effects: [
+ create_effect('function', 'card54_event1', 0),
create_effect('track', SOVIET_SUPPORT, -1),
- create_effect('add_to_tableau', ANY, 1),
+ create_effect('add_card_to_tableau', ANY, 1),
],
icons: ['liberty', 'd_soviet_support', 'draw_card'],
strength: 1,