5 lines
1.1 KiB
JavaScript
5 lines
1.1 KiB
JavaScript
import {PUBLIC_OFFICES} from './public-government.mjs';
|
|
export const REBELLION_REWARDS=Object.freeze({emperor:Object.freeze({reputationXP:10000,amountMinor:2500000}),office:Object.freeze({reputationXP:2500,amountMinor:500000})});
|
|
export const CLAN_REALM_FACTIONS=Object.freeze({kaladam:'atreides',giedermark:'harkonnen',kaiterhof:'corrino',sigmadraken_iv:'ordos',arrakduin:'fremen'});
|
|
export function rebellionQuest(officeKey){const office=PUBLIC_OFFICES.find(o=>o.key===officeKey);if(!office)throw Error('Unknown elected office');return {id:'REBELLION-'+office.key.toUpperCase(),officeKey:office.key,title:office.key==='emperor'?'Seize the Imperial Throne':'Challenge the '+office.name,target:'Capture the incumbent main-clan Home Block in open rebellion',organisationKind:'clan',xpType:'pol',reward:REBELLION_REWARDS[office.key==='emperor'?'emperor':'office'],executionRequirements:{website:true,minecraft:true},producerState:'awaiting-game-adapter',rewardLimit:'once-per-clan-office-season',termPolicy:'remaining-current-term'};}
|
|
export const UNIVERSAL_REBELLION_QUESTS=Object.freeze(PUBLIC_OFFICES.map(o=>Object.freeze(rebellionQuest(o.key))));
|

Staff