CampaignFile beta
Interface of @v12-engine/client
ts
export interface CampaignFileA campaign as its file has it (campaign.json, CAMPAIGN_FILE): its name, the words of its menu, its difficulties, its chapters and its missions in order
Members
chapters
ts
chapters?: CampaignChapter[];Its missions grouped in chapters for the menu, each with a heading and a picture; one list when left out
difficulties
ts
difficulties?: string[];The difficulties its menu offers, by name (CampaignDef.difficulties)
id
ts
id: string;The campaign's id, which its scene ids and saved progress are named by
menu
ts
menu?: {
title?: string;
subtitle?: string;
background?: string;
};Its menu's words and background (CSS), as CampaignDef.menu declares them
missions
ts
missions: CampaignFileMission[];Its missions in play order
name
ts
name: string;The campaign's name, shown on its menu