refactor(logic): replace arbitrary action hooks with typed events

This commit is contained in:
Hide_D committed 2026-07-30 03:31:31 +00:00
1 parent 96b41ef4b4
commit 7d3cb50a5b
168 files changed
+1554 -631

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import type { General, Nation } from '../domain/entities.js';
import type { GeneralActionContext } from '../triggers/general.js';
import type { TriggerNationalIncomeType } from '../triggers/types.js';
import type { TriggerNationalIncomeType } from '../actionModules/types.js';
export type NationIncomeModifier = (type: TriggerNationalIncomeType, amount: number) => number;