Commit Graph
57 Commits
Author SHA1 Message Date
Hide_D 0aaf08e311 fix legacy invalid turn argument logs 2026-07-27 10:28:18 +00:00
Hide_D de510da48e fix scenario 911 assignment troop gather 2026-07-27 09:49:35 +00:00
Hide_D 12ac9c5f4d fix inheritance accounting for unowned generals 2026-07-27 09:16:25 +00:00
Hide_D 1af6bed3b5 fix conquest front refresh scope 2026-07-26 22:49:35 +00:00
Hide_D 789b9c8c8f fix war command differential parity 2026-07-26 22:26:09 +00:00
Hide_D 2a8a579b75 fix active action inheritance accounting 2026-07-26 21:49:40 +00:00
Hide_D e90a0ba339 fix general constraint failure log parity 2026-07-26 21:10:36 +00:00
Hide_D 3d5fff3687 fix command-specific failure log parity 2026-07-26 20:59:19 +00:00
Hide_D 7676a3eee3 fix resource transfer failure log parity 2026-07-26 20:47:07 +00:00
Hide_D 3fb75ccf03 fix general founding and rebellion parity 2026-07-26 17:50:56 +00:00
Hide_D 80a2c9502f fix general status transition parity 2026-07-26 17:12:54 +00:00
Hide_D 935f6ebe97 fix nation symbol legacy boundaries 2026-07-26 13:39:05 +00:00
Hide_D da836c319d fix: match random capital move semantics 2026-07-26 08:17:13 +00:00
Hide_D 875dc610fb fix: preserve best-general rank data parity 2026-07-26 06:03:21 +00:00
Hide_D af00b30bdc merge: add general alternative command parity 2026-07-26 04:32:16 +00:00
Hide_D 18b380aaa6 fix(turn): preserve legacy alternative command execution 2026-07-26 04:31:48 +00:00
Hide_D c2a3b5b797 Implement legacy-compatible survey and unique rewards 2026-07-26 04:17:56 +00:00
Hide_D eb58298195 test: cover nation strategy commands 2026-07-26 01:54:32 +00:00
Hide_D a55c190e4e test: expand nation command differential matrix 2026-07-26 01:28:11 +00:00
Hide_D b26b4d42e9 fix: complete general command success differential coverage 2026-07-26 01:05:30 +00:00
Hide_D 5f390a46b9 feat(engine): migrate monthly pre-update boundary 2026-07-25 21:36:34 +00:00
Hide_D 1fef287b6b fix: align reserved turn commands with legacy 2026-07-25 14:16:59 +00:00
Hide_D a83f7a44e3 fix: guard incomplete general lifespans 2026-07-25 08:57:53 +00:00
Hide_D a8869a77c2 Merge branch 'codex/p0-general-turn-lifecycle'
# Conflicts:
#	app/game-engine/src/turn/databaseHooks.ts
#	app/game-engine/src/turn/inMemoryWorld.ts
#	app/game-engine/src/turn/reservedTurnHandler.ts
#	packages/infra/src/turnEngineDb.ts
2026-07-25 08:48:10 +00:00
Hide_D 45ba960474 feat: complete general turn lifecycle 2026-07-25 08:42:57 +00:00
Hide_D 79257e8559 feat: complete legacy general turn compatibility 2026-07-25 08:15:19 +00:00
Hide_D 85f134fd12 feat: preserve legacy nation turn execution 2026-07-25 06:17:32 +00:00
Hide_D 952c0d28c6 feat: add new general actions for border return, gifting, disbanding, founding nations, and fierce training
- Implemented '접경귀환' action for returning to a home city within 3 spaces.
- Added '증여' action for transferring resources between generals with constraints.
- Created '해산' action to disband a faction, resetting generals and cities.
- Developed '건국' action for founding a new nation with specified attributes.
- Introduced '맹훈련' action for training generals, enhancing their stats.
- Added tests for the new actions to ensure functionality and constraints are respected.
2026-02-07 06:10:28 +00:00
Hide_D ded90dfb08 feat: 환경 제약 조건 개선 및 테스트 케이스 수정 2026-02-07 05:31:06 +00:00
Hide_D 568084927c feat: integrate unique lottery system into general actions
- Added `tryApplyUniqueLottery` function to various action definitions to apply unique item rewards based on specific actions.
- Enhanced the `uniqueLottery.ts` module to handle unique item acquisition and logging.
- Created unit tests for the unique lottery feature to ensure proper functionality during general commands.
- Updated action definitions to include unique item acquisition for actions such as training, technology research, and item procurement.
2026-02-04 12:03:47 +00:00
Hide_D f199427ff1 refactor: rename RNG method from nextFloat to nextFloat1 for consistency across the codebase 2026-01-24 13:58:12 +00:00
Hide_D 2ea8e11f50 feat: createNoopDaemonTransport 함수 추가 및 토너먼트 상태 처리 개선, 캘린더 핸들러 반환 타입 수정 2026-01-24 11:36:01 +00:00
Hide_D 01f26edbeb feat: 프론트 상태 핸들러 추가 및 예약 턴 핸들러와 통합 2026-01-24 11:05:12 +00:00
Hide_D 9c8f901f7b feat: GeneralAI 디버그 상태 추가 및 예약 턴 핸들러에 AI 상태 전달 기능 구현 2026-01-24 10:57:30 +00:00
Hide_D 2964c8ea59 feat: NPC 징병 및 예약 턴 핸들러 개선, 대형 테스트 맵 인구 수정 2026-01-24 10:32:38 +00:00
Hide_D 753abdaf47 feat: NPC 세금 처리 로직 및 관련 핸들러 추가, 대형 테스트 맵 수정 2026-01-24 10:06:55 +00:00
Hide_D 3ce1f441d0 feat: add unification handler and inheritance system
- Implemented `unificationHandler.ts` to manage nation unification logic, including inheritance point calculations and logging.
- Created `InheritView.vue` for frontend management of inheritance points, buffs, and logs.
- Added database migration for new inheritance tables: `inheritance_point`, `inheritance_log`, `inheritance_result`, and `inheritance_user_state`.
- Developed inheritance buff logic in `inheritBuff.ts` to apply buffs during domestic and war actions.
2026-01-18 10:59:04 +00:00
Hide_D 07ea17dacf feat: refactor utility functions for improved consistency and usability; consolidate parsing logic 2026-01-17 12:36:58 +00:00
Hide_D 550910811c feat(ai): add autorun policies for general and nation management
- Introduced `policies.ts` to define AI policies for generals and nations, including priority actions and flags.
- Implemented `AutorunGeneralPolicy` class to manage general-specific actions based on AI options and server/nation policies.
- Implemented `AutorunNationPolicy` class to handle nation-specific actions, including resource requirements and combat strategies.
- Added types for AI context and world view in `types.ts` to facilitate interaction with game state and entities.
2026-01-11 14:49:42 +00:00
Hide_D 3ec7e66948 constraint 실패 후 실패 검사 결과 항목을 직접 반환. 2026-01-10 13:16:43 +00:00
Hide_D 77185f1d49 건국 커맨드 구현 및 테스트 추가 2026-01-08 16:21:15 +00:00
Hide_D c965b1120f feat: eslint 적용 및 관련 코드 일괄 수정 2026-01-05 15:46:47 +00:00
Hide_D b2a625d4e7 feat: 군대 관련 기능 추가 및 명령어 정의 업데이트 2026-01-04 13:54:30 +00:00
Hide_D 436a55297e feat: Add new strategic actions for nation turns
- Implemented '백성동원' (Mobilize People) action to enhance city defense and gain experience for generals.
- Added '수몰' (Flood) action to damage enemy city defenses and affect diplomatic relations.
- Created '이호경식' (Degrade Relations) action to manipulate diplomatic states between nations.
- Introduced '필사즉생' (Desperate Fight) action to boost training and atmosphere for generals in a nation.
- Developed '허보' (Deception) action to mislead enemy generals and alter their city assignments.
2026-01-04 06:38:20 +00:00
Hide_D c23b370f40 feat: migrate diplomacy logic to new module and update imports 2026-01-04 06:01:16 +00:00
Hide_D d7840a2681 Handle overlay diplomacy patches 2026-01-04 04:50:00 +00:00
Hide_D 4f90f50033 feat: Introduce action context builders for various turn actions
- Added `actionContextBuilder` to multiple turn action files to utilize the default action context builder.
- Implemented specific context builders for actions requiring additional context, such as war configurations, world summaries, and general statistics.
- Created new `actionContext.ts` and `actionContextHelpers.ts` files to define interfaces and helper functions for managing action contexts.
- Enhanced context handling for nation and general actions, ensuring proper data injection for turn execution.
2026-01-03 06:28:50 +00:00
Hide_D edcfad4e40 feat: enhance action context with diplomacy and map handling, add constraints for crew and route validation 2026-01-02 19:52:17 +00:00
Hide_D ea2ef91b31 feat: enhance war action handling with new configurations and context management 2026-01-02 19:35:36 +00:00
Hide_D cb86a47f94 feat: implement diplomacy system with state management and processing logic 2026-01-02 17:48:44 +00:00