Commit Graph
40 Commits
Author SHA1 Message Date
Hide_D 9f46c51a46 merge: 예약 명령 인자 요약을 사령부 호환에 통합
# Conflicts:
#	app/game-frontend/src/components/command/ReservedCommandEditor.vue
2026-08-17 10:51:18 +00:00
Hide_D ba29528cf1 fix: 메인 예약 명령 요약과 자율 행동 상태를 복원
예약 명령 mutation 응답에도 autorunLimit을 포함해 입력 직후 색상과 상태가 사라지지 않게 한다. Ref getBrief 계약에 맞춰 명령 인자를 요약하고 자율 행동 종료 연월과 현재 시각을 표시한다.
2026-08-17 10:49:14 +00:00
Hide_D 3202509051 fix: 사령부 모바일 현재 턴과 NPC 대상을 호환
daemon 진행 뒤 국가 명령을 현재 슬롯에 재기준화하고 Ref 명령별 장수 대상 필터를 적용한다. 모바일 고급 편집기 12턴과 500px 8수뇌 행렬을 실제 Chromium 기준으로 복원한다.
2026-08-17 10:48:52 +00:00
Hide_D cda88738fa fix(turn): 기본 사령턴 목록과 분류를 Ref에 맞춤
Ref 사령부 조작기의 24개 공개 명령을 기본 프로필에 모두 포함하고 카테고리와 내부 순서를 그대로 투영한다.\n\n35개 국가 명령 차등 실행과 조건·로그 비교, 실제 Chromium 목록 검사를 추가한다.
2026-08-16 07:09:03 +00:00
Hide_D 7ce1be0bb9 fix(game-ui): 메인 예약턴 분류를 Ref 순서로 복원
Ref GameConst의 장수 명령 분류와 명령 순서를 예약턴 API 표시 계약으로 투영한다.\n\nAPI 회귀 테스트와 desktop/mobile production Chromium 상호작 검증을 추가한다.
2026-08-15 18:07:26 +00:00
Hide_D 35d8824b95 refactor: tighten backend and logic boundaries 2026-08-15 06:46:52 +00:00
Hide_D cf83cb2c55 Merge remote-tracking branch 'origin/main' into feature/recruitment-command-parity-20260813
# Conflicts:
#	app/game-api/src/router/turns/index.ts
#	app/game-api/src/turns/commandInput.ts
#	app/game-frontend/e2e/commandArguments.spec.ts
#	app/game-frontend/src/components/command/ReservedCommandEditor.vue
#	app/game-frontend/src/components/command/types.ts
#	app/game-frontend/src/views/ChiefCenterView.vue
2026-08-13 16:28:35 +00:00
Hide_D 317a055434 feat: restore Ref recruitment command details 2026-08-13 16:20:43 +00:00
Hide_D 8b1ca2a3f5 feat: enrich command option dialogs with Ref context 2026-08-13 16:11:30 +00:00
Hide_D 3faf45f71e fix: align main command editor flow with ref 2026-08-12 15:43:41 +00:00
Hide_D 1a1d0b2d91 refactor: enforce package boundaries 2026-08-07 10:13:29 +00:00
Hide_D 5d6923f11a fix: align scenario 2400 monthly parity 2026-08-05 13:25:39 +00:00
Hide_D 8f1fe73bad fix reserved turn daemon api serialization 2026-07-26 19:23:25 +00:00
Hide_D d1e9d5fc75 fix reserved turn permission constraints 2026-07-26 18:57:27 +00:00
Hide_D 7a18bb48f2 fix reserved turn bulk and repeat parity 2026-07-26 18:41:51 +00:00
Hide_D 3cd1ad3b7f fix reserved turn queue concurrency 2026-07-26 18:32:52 +00:00
Hide_D f84efafc9a feat: validate and describe reserved command arguments 2026-07-26 09:04:48 +00:00
Hide_D b7b1785b8c fix(turn): preserve seizure NPC public messages 2026-07-26 06:06:07 +00:00
Hide_D 4b393c2ecc fix(turn): match resource amount boundaries 2026-07-26 05:36:46 +00:00
Hide_D f8645a4576 feat: migrate monthly city trade rates 2026-07-25 16:16:10 +00:00
Hide_D 79257e8559 feat: complete legacy general turn compatibility 2026-07-25 08:15:19 +00:00
Hide_D 35935c9eca Refactor equipped items into persistent instances 2026-07-25 06:46:56 +00:00
Hide_D 5d5ed9ee2a feat: add killturn to general meta and update related tests
- Introduced a new meta property `killturn` to the GeneralMeta interface.
- Implemented a function `readMetaNumber` to handle the retrieval of numeric values from meta.
- Updated the `mapGeneralRow` function to ensure `killturn` is required and properly handled.
- Modified various tests to include the `killturn` property in the general's meta data.
- Adjusted related action files to utilize the new GeneralMeta type for better type safety.
- Ensured backward compatibility by updating existing test cases across multiple scenarios.
2026-01-25 05:48:56 +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 f13f8bc1cf feat: add reserved turns management for generals and nations; enhance command selection UI 2026-01-17 02:27:50 +00:00
Hide_D 7a289c22d9 buildMinConstraints 구현 2026-01-15 17:29:26 +00:00
Hide_D 4a0b18954d Refactor command specifications to use availabilityArgs instead of args
- Updated multiple command specifications across various files to replace 'args' with 'availabilityArgs' for better clarity and consistency in argument handling.
- Removed empty 'args' objects in several command specifications to streamline the code.
- Ensured that all relevant commands in both general and nation action directories reflect these changes.
2026-01-15 16:43:24 +00:00
Hide_D cc41d1538e 코드 수정 2026-01-11 11:48:12 +00:00
Hide_D 38a8d33242 refactor: update test setup, introduce system environment for commands, and streamline frontend build configuration. 2026-01-07 17:17:04 +00:00
Hide_D c965b1120f feat: eslint 적용 및 관련 코드 일괄 수정 2026-01-05 15:46:47 +00:00
Hide_D b1f2523fa3 feat: GamePrisma를 사용하여 데이터베이스 클라이언트 및 관련 타입 정의 업데이트 2026-01-05 15:13:59 +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 11ffdfef0e feat: add state property to city and update related processing logic in battle simulation and world map 2026-01-02 21:13:37 +00:00
Hide_D bfbcb4472e feat: Implement general and nation turn commands with command specifications
- Added command specifications for various general turn commands including talent scouting, appointments, and military actions.
- Introduced command specifications for nation turn commands such as assignments and declarations of war.
- Created a command environment interface to encapsulate command-related parameters.
- Developed a command profile loader to manage default and custom command profiles.
- Established a reserved turn action context to facilitate command execution with necessary context data.
- Updated the default command profile JSON to include new commands and their configurations.
2026-01-01 15:17:30 +00:00
Hide_D 49942cea5e feat: Add WallRepairActionDefinition and enhance GatewayProfileClient for improved database interactions 2026-01-01 11:53:21 +00:00
Hide_D cce57d0fea feat: Add new general actions and constraints for game mechanics
- Introduced new general turn commands: 'che_거병', 'che_임관', 'che_건국', 'che_훈련', 'che_사기진작', 'che_요양', 'che_출병', 'che_주민선정', 'che_농지개간', 'che_기술연구', 'che_치안강화', 'che_수비강화', 'che_성벽보수'.
- Implemented action definitions for each new command, including constraints and resolution logic.
- Added new constraints: 'beNeutral', 'remainCityCapacityByMax', 'existsDestNation'.
- Enhanced city development actions for '농지개간', '성벽보수', and '수비강화'.
- Created a new action for declaring war: 'che_선전포고' with appropriate constraints.
- Updated existing action definitions to accommodate new game mechanics and ensure proper functionality.
2026-01-01 11:49:15 +00:00
Hide_D d599d94a7b feat: add atmos property to General entity and update related logic
- Added `atmos` property to the `General` interface in `entities.ts`.
- Initialized `atmos` to 0 in the `buildGeneralSeeds` function in `bootstrap.ts`.
- Updated exports in `index.ts` to include `unitSet.js`.
- Introduced new types for crew types and their requirements in `types.ts`.
- Implemented `unitSetLoader.ts` for loading unit set definitions from JSON files.
- Created `che_징병.ts` action for recruiting crew types with cost and training calculations.
- Developed `unitSet.ts` for handling crew type availability and requirements.
- Added tests for crew type availability and unit set parsing in `crewType.test.ts`.
2025-12-30 09:45:51 +00:00
Hide_D 6fe6d54432 feat: add GeneralTurn and NationTurn models with CRUD operations
- Introduced GeneralTurn and NationTurn models in Prisma schema.
- Implemented reserved turns management in the game API, including loading, setting, and shifting turns for generals and nations.
- Created unit tests for reserved turns functionality to ensure correctness.
- Developed reserved turn handler to process actions based on reserved turns.
- Established in-memory storage for reserved turns with persistence to the database.
2025-12-30 04:45:07 +00:00
Hide_D f32f9b10c2 feat: add command table functionality and integrate logic for turn commands 2025-12-30 03:02:25 +00:00