Release Healer Man 0.1.40

This commit is contained in:
phenom committed 2026-09-13 13:21:27 -04:00
1 parent ed0d2fea3d
commit 197a64117c
215 files changed
+5131 -181

No files matched your search

+6 -1
View File
@@ -4,11 +4,12 @@ import { DEFAULT_DUNGEON_ID, requireDungeonDefinition, type DungeonId } from "./
import type { Vector3Tuple, WorldSpawn } from "./dungeonTypes";
import type { ActionBindingLayer } from "./actionBindings";
import type { GmReviewTarget } from "./gmContentReview";
import { validBossDifficulty } from "./dungeonDifficulty";
export type AssetStatus = "checking" | "loading" | "ready" | "proxy" | "error";
export type InputMode = "keyboard" | "gamepad";
export type GameMode = "dungeon" | "manastorm";
export type GameOverlay = "pause" | "report-issue" | "party" | "inventory" | "map" | "boss-guide" | "spellbook" | "talents" | "bindings" | "options" | "ui-layout" | "keybinds" | "gm" | "dungeon-results" | null;
export type GameOverlay = "pause" | "report-issue" | "party" | "inventory" | "boss-cards" | "map" | "boss-guide" | "spellbook" | "talents" | "bindings" | "options" | "ui-layout" | "keybinds" | "gm" | "dungeon-results" | null;
interface PlayerSnapshot {
position: Vector3Tuple;
@@ -20,6 +21,7 @@ interface PlayerSnapshot {
export interface GameState {
activeDungeonId: DungeonId;
activeDifficultyId: string;
activeBossDifficulty: number;
gameMode: GameMode;
gmTestMode: boolean;
activeGmReviewTarget: GmReviewTarget | null;
@@ -54,6 +56,7 @@ export interface GameState {
readonly spawn?: WorldSpawn;
readonly gmTestMode?: boolean;
readonly gmReviewTarget?: GmReviewTarget | null;
readonly bossDifficulty?: number;
},
) => void;
openOverlay: (overlay: Exclude<GameOverlay, null>) => void;
@@ -82,6 +85,7 @@ const entrance = initialDungeon.entrance;
export const useGameStore = create<GameState>((set) => ({
activeDungeonId: DEFAULT_DUNGEON_ID,
activeDifficultyId: initialDungeon.defaultDifficultyId,
activeBossDifficulty: 1,
gameMode: "dungeon",
gmTestMode: false,
activeGmReviewTarget: null,
@@ -118,6 +122,7 @@ export const useGameStore = create<GameState>((set) => ({
return {
activeDungeonId,
activeDifficultyId,
activeBossDifficulty: validBossDifficulty(options?.bossDifficulty) ? options.bossDifficulty : 1,
gameMode: options?.gameMode ?? "dungeon",
gmTestMode: options?.gmTestMode ?? false,
activeGmReviewTarget: options?.gmReviewTarget ?? null,