chore: W1 项目骨架 — 基线 v1.0 架构落盘(Godot 4.7.2 / gl_compatibility)
架构基线:docs/architecture/2026-10-19-F-architecture.md(v1.0) 范围:WRATH OF THE DEAD《怨返》单人挂机 · GDScript · 1280×720 · 12 班底数据驱动 - 骨架:project.godot(4.7 + GL Compatibility)、架构 §2.1 完整目录树(含占位说明)、 .gitignore/.gitattributes(LF 纪律)、README.md、CLAUDE.md、export_presets.cfg 占位、 pipeline/README.md(3ds Max 侧契约) - 数据管线段 1:data/sheets/generators.csv(GDD §3.1 十二班底逐值抄录) + data/schema/generators.schema.json(v0)+ src/tools/sheet_importer.gd (import_all/import_sheet/validate + ImportReport + .tres stub + 行号/列名/原因失败策略) + src/tools/import_main.gd(CI CLI 入口)+ data/build/generators.json(字节级确定性产物) - 探针:P1(SCREEN_TEXTURE/CanvasLayer 排序)与 P3(NoiseTexture2D seamless)场景代码与 截图/统计工具;实测手册与结论模板在工作区 docs/engineering/(随仓库外文档树) - CI:数据门激活(import_all + schema validate + build 漂移门);单测/sim/导出 W3+ 注释占位; 4.7.2 headless CLI 行为标注待本机验证 待用户侧:P1/P3 实测回填结论;P6 字体许可 / P7 GPU 实测;look-dev 游魂初版(Max 侧)
This commit is contained in:
commit
856326a766
42 files changed
+1814
No files matched your search
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "generators.schema.json",
|
||||
"title": "generators 表 schema v0(十二班底发生器,数值抄录自 GDD §3.1)",
|
||||
"description": "架构 §3.2 CSV 规范落盘。数值列禁千分位;引用列填目标 ID 或 none;ID 一旦分配永不重编号。v0 仅做单表校验:unlock_hall/unlock_gate 引用的 halls.csv / upgrades.csv 目标表 W2 落盘,届时激活跨表引用完整性校验。",
|
||||
"x-supported-keywords": [
|
||||
"type", "properties", "required", "items", "enum", "pattern",
|
||||
"minimum", "maximum", "minLength", "minItems", "maxItems",
|
||||
"additionalProperties", "const"
|
||||
],
|
||||
"x-unique": ["id"],
|
||||
"type": "object",
|
||||
"required": ["sheet", "schema_version", "columns", "rows"],
|
||||
"properties": {
|
||||
"sheet": { "const": "generators" },
|
||||
"schema_version": { "const": 0 },
|
||||
"columns": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"minItems": 9
|
||||
},
|
||||
"rows": {
|
||||
"type": "array",
|
||||
"minItems": 12,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id", "display_cn", "display_en", "base_cost",
|
||||
"cost_ratio", "base_rate", "unlock_hall", "unlock_gate", "sprite_row"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"pattern": "^gen_[0-9]{2}_[a-z0-9]+$",
|
||||
"description": "稳定字符串 ID;永不重编号、永不复用(年更=加行)"
|
||||
},
|
||||
"display_cn": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"description": "简体名(GDD §3.1 班底名)"
|
||||
},
|
||||
"display_en": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"description": "英文名——W1 工程侧临时译名,待文策渊按 GDD §8.4 glossary 口径确认后回填"
|
||||
},
|
||||
"base_cost": {
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"description": "C0(GDD §3.1);整数写法,禁千分位与 K/M/B/T 后缀"
|
||||
},
|
||||
"cost_ratio": {
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"maximum": 2,
|
||||
"description": "r(1.13→1.20,GDD §3.1)"
|
||||
},
|
||||
"base_rate": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"description": "rate/s(GDD §3.1);阴德/秒"
|
||||
},
|
||||
"unlock_hall": {
|
||||
"type": "string",
|
||||
"pattern": "^(none|hall_[0-9]{2}_[a-z]+)$",
|
||||
"description": "殿门闸门 ID(halls.csv 行 ID)或 none"
|
||||
},
|
||||
"unlock_gate": {
|
||||
"type": "string",
|
||||
"pattern": "^(none|up_gate_[a-z0-9_]+)$",
|
||||
"description": "路引闸门 ID(upgrades.csv 行 ID)或 none;gen_12 的敕封前置(宿慧≥60 且转世≥2)属 upgrades.csv 行内规则,W2 建模"
|
||||
},
|
||||
"sprite_row": {
|
||||
"type": "string",
|
||||
"pattern": "^res://assets/sprites/[a-z_]+/[a-z0-9_]+$",
|
||||
"description": "★ ADR-3:唯一允许的逐资产代码 = sprite 路径前缀(Max 侧命名 <unit_id>_<l|r>_<frame>.png)"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user