From 72afc8e31c9dcef58b1308eddd4d1dde489e4670 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Sun, 15 Dec 2024 21:38:52 +0100 Subject: victory and defeat on front and end game on defeat --- data.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'data.js') 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, -- cgit v1.2.3