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

This commit is contained in:
2026-07-30 03:31:31 +00:00
parent 96b41ef4b4
commit 7d3cb50a5b
168 changed files with 1554 additions and 631 deletions
+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;