Update Healer Man server

This commit is contained in:
phenom committed 2026-09-19 21:01:51 -04:00
1 parent f8314e7de1
commit 1fedb9368d
76 files changed
+20556 -2523

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import { create } from "zustand";
const STORAGE_KEY = "healer-man.include-beta-companion-specs.v1";
function loadPreference(): boolean {
try { return window.localStorage.getItem(STORAGE_KEY) === "true"; } catch { return false; }
}
interface CompanionPartyPreferencesState {
includeBetaSpecs: boolean;
setIncludeBetaSpecs: (include: boolean) => void;
}
export const useCompanionPartyPreferences = create<CompanionPartyPreferencesState>((set) => ({
includeBetaSpecs: loadPreference(),
setIncludeBetaSpecs: (includeBetaSpecs) => {
try { window.localStorage.setItem(STORAGE_KEY, String(includeBetaSpecs)); } catch { /* optional preference */ }
set({ includeBetaSpecs });
},
}));