Tool to show random moment in the game and skip to that turn.

Useful for testing the moment display, as well as comparing the moment
to thestate of the game
This commit is contained in:
Tyler Marques 2025-05-30 11:19:30 -07:00
parent 16f4384c5a
commit aa8ccf123d
No known key found for this signature in database
GPG key ID: CB99EDCF41D3016F
3 changed files with 233 additions and 10 deletions

View file

@ -7,6 +7,7 @@ import { updateNextMomentDisplay, initNextMomentTool } from "./nextMoment";
import { initDebugProvinceHighlighting } from "./provinceHighlight";
import { initInstantChatTool } from "./instantChat";
import { initSpeechToggleTool } from "./speechToggle";
import { initShowRandomMomentTool, updateMomentStatus } from "./showRandomMoment";
export class DebugMenu {
private toggleBtn: HTMLButtonElement;
@ -176,11 +177,13 @@ export class DebugMenu {
initSpeechToggleTool(this);
initInstantChatTool(this);
initNextMomentTool(this);
initShowRandomMomentTool(this);
initDebugProvinceHighlighting()
}
public updateTools(): void {
updateNextMomentDisplay()
updateNextMomentDisplay();
updateMomentStatus();
}
}