diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-15 21:38:52 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-15 21:38:52 +0100 |
commit | 72afc8e31c9dcef58b1308eddd4d1dde489e4670 (patch) | |
tree | 1e5ea6603d3144f9b45214c3d1466c4cd693dea9 /data.js | |
parent | 47b19b5e83850b5fac6e508468b227476d486025 (diff) | |
download | land-and-freedom-72afc8e31c9dcef58b1308eddd4d1dde489e4670.tar.gz |
victory and defeat on front and end game on defeat
Diffstat (limited to 'data.js')
-rw-r--r-- | data.js | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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, |