summaryrefslogtreecommitdiff
path: root/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'data.js')
-rw-r--r--data.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/data.js b/data.js
index 3de51ab..d4fb1b2 100644
--- a/data.js
+++ b/data.js
@@ -1,6 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-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 = exports.MODERATES_ID = exports.COMMUNISTS_ID = exports.ANARCHISTS_ID = exports.MODERATE = exports.COMMUNIST = exports.ANARCHIST = void 0;
+exports.FRONTS = exports.DEFEAT = exports.VICTORY = 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 = exports.MODERATES_ID = exports.COMMUNISTS_ID = exports.ANARCHISTS_ID = exports.MODERATE = exports.COMMUNIST = exports.ANARCHIST = void 0;
+exports.create_effect = create_effect;
const LIBERTY = 0;
exports.LIBERTY = LIBERTY;
const COLLECTIVIZATION = 1;
@@ -31,6 +32,8 @@ 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 FRONTS = [ARAGON, MADRID, NORTHERN, SOUTHERN];
+exports.FRONTS = FRONTS;
const TOWARDS_CENTER = 10;
exports.TOWARDS_CENTER = TOWARDS_CENTER;
const AWAY_FROM_CENTER = 11;
@@ -54,6 +57,10 @@ const COMMUNIST = 'Communist';
exports.COMMUNIST = COMMUNIST;
const MODERATE = 'Moderate';
exports.MODERATE = MODERATE;
+const VICTORY = 'Victory';
+exports.VICTORY = VICTORY;
+const DEFEAT = 'Defeat';
+exports.DEFEAT = DEFEAT;
function create_effect(type, target, value) {
return {
type,