Expand letters and decision consequences
This commit is contained in:
@@ -11,6 +11,9 @@ export interface Letter {
|
||||
marks: string[];
|
||||
correctRoute: Route;
|
||||
explanation: string;
|
||||
correctConsequence?: string;
|
||||
wrongConsequences?: Partial<Record<Route, string>>;
|
||||
penalty?: Partial<Record<Route, { composure?: number; suspicion?: number }>>;
|
||||
}
|
||||
|
||||
export interface Regulation {
|
||||
@@ -25,6 +28,9 @@ export interface Decision {
|
||||
letterId: string;
|
||||
route: Route;
|
||||
correct: boolean;
|
||||
consequence: string;
|
||||
composureCost: number;
|
||||
suspicionCost: number;
|
||||
}
|
||||
|
||||
export interface GameState {
|
||||
|
||||
Reference in New Issue
Block a user