feat: 새로운 제약 조건 추가 및 기존 제약 조건 개선

This commit is contained in:
Hide_D committed 2026-02-06 19:06:38 +00:00
1 parent 15730feafe
commit a30bc93d10
6 files changed
+165 -138

No files matched your search

@@ -92,6 +92,11 @@ export const disallowDiplomacyBetweenStatus = (disallowList: Record<number, stri
},
});
export const disallowDiplomacyStatus = (disallowList: Record<number, string>): Constraint => ({
...disallowDiplomacyBetweenStatus(disallowList),
name: 'disallowDiplomacyStatus',
});
export const allowDiplomacyBetweenStatus = (allowList: number[], reason: string): Constraint => ({
name: 'allowDiplomacyBetweenStatus',
requires: (ctx) => {