Effect command
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user