- Introduced various item modules including '흑색마', '사륜거', '단궁', '동호비궁', '도기', '변도론', '전론', and '환약'. - Implemented stat item modules to enhance general and war action contexts. - Added triggers for item healing and sniping actions during battles. - Enhanced item management with new utility functions for inventory handling. - Updated the item registry and loader to support new items and their functionalities. - Improved the overall structure of item-related code for better maintainability and scalability.
30 lines
971 B
TypeScript
30 lines
971 B
TypeScript
import type { GeneralActionModule } from '@sammo-ts/logic/triggers/general-action.js';
|
|
import type { WarActionModule } from '@sammo-ts/logic/war/actions.js';
|
|
|
|
export interface TurnCommandEnv {
|
|
develCost: number;
|
|
trainDelta: number;
|
|
atmosDelta: number;
|
|
maxTrainByCommand: number;
|
|
maxAtmosByCommand: number;
|
|
sabotageDefaultProb: number;
|
|
sabotageProbCoefByStat: number;
|
|
sabotageDefenceCoefByGeneralCount: number;
|
|
sabotageDamageMin: number;
|
|
sabotageDamageMax: number;
|
|
openingPartYear: number;
|
|
maxGeneral: number;
|
|
defaultNpcGold: number;
|
|
defaultNpcRice: number;
|
|
defaultCrewTypeId: number;
|
|
defaultSpecialDomestic: string | null;
|
|
defaultSpecialWar: string | null;
|
|
initialNationGenLimit: number;
|
|
maxTechLevel: number;
|
|
baseGold: number;
|
|
baseRice: number;
|
|
maxResourceActionAmount: number;
|
|
generalActionModules?: Array<GeneralActionModule>;
|
|
warActionModules?: Array<WarActionModule>;
|
|
}
|