Merge branch 'beta' into egg-move-scripts

This commit is contained in:
NightKev 2025-09-07 11:31:13 -07:00 committed by GitHub
commit 6297b09ace
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -5,8 +5,10 @@
*/
// Colors used in prod
/** Color used for "Start Phase <Phase>" logs */
export const PHASE_START_COLOR = "green" as const;
export const MOVE_COLOR = "RebeccaPurple" as const;
/** Color used for logs in `MovePhase` */
export const MOVE_COLOR = "orchid" as const;
// Colors used for testing code
export const NEW_TURN_COLOR = "#ffad00ff" as const;

View File

@ -1,3 +1,4 @@
import { PHASE_START_COLOR } from "#app/constants/colors";
import { globalScene } from "#app/global-scene";
import type { Phase } from "#app/phase";
import { type PhasePriorityQueue, PostSummonPhasePriorityQueue } from "#data/phase-priority-queue";
@ -392,7 +393,7 @@ export class PhaseManager {
* Helper method to start and log the current phase.
*/
private startCurrentPhase(): void {
console.log(`%cStart Phase ${this.currentPhase.phaseName}`, "color:${PHASE_START_COLOR};");
console.log(`%cStart Phase ${this.currentPhase.phaseName}`, `color:${PHASE_START_COLOR};`);
this.currentPhase.start();
}