diff --git a/app/handlers/resources.ts b/app/handlers/resources.ts index 28edff0..167a814 100644 --- a/app/handlers/resources.ts +++ b/app/handlers/resources.ts @@ -65,12 +65,6 @@ export async function updateResources(sendToUI: SendToUI) { 'challenge', 'effect-data', 'holidaydescs', - 'items', - 'npc-scripts', - 'npcs', - 'quests', - 'recipes', - 'spawners', 'spells', 'traits', 'trait-trees', diff --git a/src/app/shared/components/input-effect/input-effect.component.ts b/src/app/shared/components/input-effect/input-effect.component.ts index 161ed3e..c86890d 100644 --- a/src/app/shared/components/input-effect/input-effect.component.ts +++ b/src/app/shared/components/input-effect/input-effect.component.ts @@ -51,8 +51,6 @@ export class InputEffectComponent { }); constructor() { - this.electronService.requestJSON('effect-data'); - effect( () => { this.modService.json(); diff --git a/src/app/shared/components/input-holiday/input-holiday.component.ts b/src/app/shared/components/input-holiday/input-holiday.component.ts index 3c1bbb5..7557546 100644 --- a/src/app/shared/components/input-holiday/input-holiday.component.ts +++ b/src/app/shared/components/input-holiday/input-holiday.component.ts @@ -35,10 +35,6 @@ export class InputHolidayComponent { })); }); - constructor() { - this.electronService.requestJSON('holidaydescs'); - } - public search(term: string, item: { value: string }) { return item.value.toLowerCase().includes(term.toLowerCase()); } diff --git a/src/app/shared/components/input-spell/input-spell.component.ts b/src/app/shared/components/input-spell/input-spell.component.ts index 8407dff..6897ea9 100644 --- a/src/app/shared/components/input-spell/input-spell.component.ts +++ b/src/app/shared/components/input-spell/input-spell.component.ts @@ -27,10 +27,6 @@ export class InputSpellComponent { return Object.keys(spellObj ?? {}).sort(); }); - constructor() { - this.electronService.requestJSON('spells'); - } - public search(term: string, item: { value: string }) { return item.value.toLowerCase().includes(term.toLowerCase()); } diff --git a/src/app/shared/components/input-trait/input-trait.component.ts b/src/app/shared/components/input-trait/input-trait.component.ts index c318953..497e881 100644 --- a/src/app/shared/components/input-trait/input-trait.component.ts +++ b/src/app/shared/components/input-trait/input-trait.component.ts @@ -30,8 +30,4 @@ export class InputTraitComponent { .sort() .map((t) => ({ value: t, desc: traitObj[t].desc ?? 'No description' })); }); - - constructor() { - this.electronService.requestJSON('traits'); - } } diff --git a/src/app/tabs/npcs/npcs-editor/npcs-editor.component.ts b/src/app/tabs/npcs/npcs-editor/npcs-editor.component.ts index 70e551a..0ce9850 100644 --- a/src/app/tabs/npcs/npcs-editor/npcs-editor.component.ts +++ b/src/app/tabs/npcs/npcs-editor/npcs-editor.component.ts @@ -120,7 +120,6 @@ export class NpcsEditorComponent constructor() { super(); - this.electronService.requestJSON('challenge'); effect(() => { const data = this.challengeData();