Effect command

This commit is contained in:
2026-10-02 13:19:12 -03:00
parent f749f6be79
commit cd07d441b2
5 changed files with 38 additions and 0 deletions
+4
View File
@@ -32,6 +32,10 @@ export function effect_type(id: string): EffectType | undefined {
return registry.get(id);
}
export function effect_type_ids(): string[] {
return [...registry.keys()];
}
// what level.json keeps of an effect, the doc's active_effects entries
export interface SavedEffect {
id: string;