Files
gplan-2/game/data/tables/forge.tres
T
DKChan df666ddf30 feat(迭代23-T1): 锻造工坊配置表落位——ForgeTable 新表(默认两轴常驻持有+六路线行族)+ConfigDB 访问器+V1/V11 单测 41 断言
- 新表 forge.tres(schema forge_table.gd):default_attack_type/armor_type 默认值(契约 2 所有权移交——hero.tres 两轴随后批删除)+routes 六行(sword/spear/staff/light/heavy/ward)
- provisional 沿需求卡片 T1 锚表:cap 5/每级增量 +1/基础价 20×150%^n(20/30/45/67/101)/解锁价 200/甲型基础 AC 10-12-9/初始持有 sword+light/并联双通道前置 spear·staff←sword、heavy·ward←light
- schema validate 22 类正反(行 id 唯一/类型轴分族枚举/恰六行/初始持有恰一武器一甲/默认轴=初始路线类型轴/前置类型相符…)
- ConfigDB:TABLE_MANIFEST 登 forge+类型化持用+forge_route/forge_routes/forge_default_*/forge_weapon_route_by_type/forge_armor_route_by_type 访问器
- 新单测 forge_table_test 41 断言(V1 生产面+22 类负向/V11 行字段闭集+效果类型词表 31 钉现/V2 价格梯);run_all 22→23 套
- 事实订正(L2):卡片 F11「效果类型闭集 24」系 2026-10-07 旧快照——现行 31(iter20 +7/iter22 +1),本批零扩签钉 31
- 轻闸:冒烟 898/0 零扰动
2026-10-12 23:23:16 +08:00

99 lines
3.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[gd_resource type="Resource" script_class="ForgeTable" load_steps=2 format=3]
[ext_resource type="Script" path="res://data/schemas/forge_table.gd" id="1"]
[resource]
script = ExtResource("1")
default_attack_type = "normal"
default_armor_type = "light"
routes = [{
"route_id": "sword",
"display_name": "长剑锻造",
"kind": "weapon",
"type_axis": "normal",
"cap": 5,
"per_level_gain": 1,
"base_ac": 0,
"base_price": 20,
"price_ratio_pct": 150,
"initial_owned": true,
"prereq_route": "",
"unlock_price": 0
}, {
"route_id": "spear",
"display_name": "长枪锻造",
"kind": "weapon",
"type_axis": "pierce",
"cap": 5,
"per_level_gain": 1,
"base_ac": 0,
"base_price": 20,
"price_ratio_pct": 150,
"initial_owned": false,
"prereq_route": "sword",
"unlock_price": 200
}, {
"route_id": "staff",
"display_name": "法杖锻造",
"kind": "weapon",
"type_axis": "magic",
"cap": 5,
"per_level_gain": 1,
"base_ac": 0,
"base_price": 20,
"price_ratio_pct": 150,
"initial_owned": false,
"prereq_route": "sword",
"unlock_price": 200
}, {
"route_id": "light",
"display_name": "轻甲锻造",
"kind": "armor",
"type_axis": "light",
"cap": 5,
"per_level_gain": 1,
"base_ac": 10,
"base_price": 20,
"price_ratio_pct": 150,
"initial_owned": true,
"prereq_route": "",
"unlock_price": 0
}, {
"route_id": "heavy",
"display_name": "重甲锻造",
"kind": "armor",
"type_axis": "heavy",
"cap": 5,
"per_level_gain": 1,
"base_ac": 12,
"base_price": 20,
"price_ratio_pct": 150,
"initial_owned": false,
"prereq_route": "light",
"unlock_price": 200
}, {
"route_id": "ward",
"display_name": "魔法护甲锻造",
"kind": "armor",
"type_axis": "ward",
"cap": 5,
"per_level_gain": 1,
"base_ac": 9,
"base_price": 20,
"price_ratio_pct": 150,
"initial_owned": false,
"prereq_route": "light",
"unlock_price": 200
}]
; 锻造工坊实装批 T1(2026-10-12——迭代 23;设计权威 design/gdd/systems/跨局循环/锻造工坊.md v0.6,
; 需求卡片 design/research/需求卡片-锻造工坊实装批-2026-10-12.md T1 锚表):
; 六路线 provisional 投值——cap 5/每级增量统一 +1(v1.2 用户裁:provisional 线性起步,4a 前缓后陡为
; 终值形状方向归 M4)/甲型基础 AC 10-12-9(现役结构值 settlement.tres 矩阵同行)/基础价 20/公比 150%
; (历史考古参数 meta.tres:82-84 退役批注)/各级价格 20/30/45/67/101/一次性解锁价 200(中段三级 213 九折)。
; 初始持有=长剑+轻甲(语义继承自已退役属性锻造行——迭代 21 T5 行族删除后的新建行族,非改造)。
; 并联双通道(4b-1 裁):长枪/法杖←长剑练满、重甲/魔法护甲←轻甲练满,或一次性解锁价直购,互不影响。
; 默认两轴(契约 2 所有权移交):hero.tres 静态表两轴随本批删除,默认值归本表常驻持有——normal/light
; = 裸体态类型(Q1:未解锁/未锻造=0 加值)。全部数值 provisional 终值归 M4 数值批。
; 表运行期只读(铁律):永久强化只写存档 forge_routes 域,本表零写面。