stad
This commit is contained in:
@@ -4,6 +4,16 @@ This document serves as the primary technical specification, architecture refere
|
||||
|
||||
---
|
||||
|
||||
## 0. Mandatory Agent Rule: All Values Must Be Configurable via YAML
|
||||
|
||||
> [!IMPORTANT]
|
||||
> **Strict Agent Directive:** All gameplay values, numeric parameters, costs, multipliers, initial statistics, thresholds, ratios, yields, and game limits mentioned by the user MUST be implemented as configurable parameters loaded from YAML files (in the `config/` directory) rather than being hardcoded in C++ code.
|
||||
> - Whenever a new value, parameter, or mechanic is introduced, create or update a corresponding YAML configuration file and load it at startup.
|
||||
> - Default values in C++ must only serve as fallbacks if the YAML key is absent.
|
||||
> - Keep configurations modular (e.g. `config/city.yaml`, `config/terrain_yields.yaml`, `config/game.yaml`, `config/units/*.yaml`).
|
||||
|
||||
---
|
||||
|
||||
## 1. Project Vision & Core Concept
|
||||
|
||||
**Goal:** Transform this 3D hexagonal terrain engine into a seamless **Real-Time Strategy Civilization** game.
|
||||
|
||||
Reference in New Issue
Block a user