Files
gplan-2/game/data/tables/treasure_items.tres
T
DKChan 32fdf957fd refactor(代码术语): 卡① flag→seal 全族换代+game/ 禁用词清扫(迭代 31 卡①)
标识符面:flag_*→seal_ 族(含 Godot 信号 flag_judged→seal_judged 与连接/回调同名、
FACTS 两键 flags_count→seals_count/dug_under_flag→dug_under_seal 全链、
.tres 键名与 schema .gd 同批同步);显式豁免零改动=size_flags_*(Godot 布局属性)+_fatal_flag。
中文面:金币→GP(金币袋→GP 袋)/插旗→封印/雷格→危险格/惩罚格→危险格/旗→封印·封印印记族,
game/ 内 *.gd/.tres/.md/.json 四类禁用词与 flag 双双零命中(V1/V4)。
守卫字面量不动(被检查的禁字不是使用):smoke_all V21 零「雷/旗」检查面、
ui_font_asset_test 字形集攻/雷/旗/封 保持原断言逻辑。
代拍板:板面单字槽 glyph「旗」→「封」(禁字纪律+单字位宽,消费面四处同名随动)。
素材换代(2026-10-18 用户裁案甲):assets/art/board/flag_seal.png→seal_mark.png(素材不入 git,
盘上改名+导入重刷),代码两处 res:// 字符串+COL_FLAG/CURSOR_FLAG 常量同步,
闸件四处随批(run_all_gates.sh/render_gate.sh/golden_baseline_refresh.sh/path_check.py)。
anchor.json 键名手改,重锚与改前改后 diff 随本卡收口(同裁案甲)。

基线读数(改前,主区 ed2dfaf6):冒烟 1151 检查 0 失败/单元 34 套全绿/探针 --click
存量红仅 screen_flow_probe(user:// 断点污染在册已知项)。
改后同批读数(本 worktree):冒烟 1151 检查 0 失败/探针 --click 同一存量红、其余全绿。
2026-10-19 02:52:38 +08:00

225 lines
6.1 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="TreasureItemTable" load_steps=2 format=3]
[ext_resource type="Script" path="res://data/schemas/treasure_item_table.gd" id="1"]
[resource]
script = ExtResource("1")
; 迭代 22 秘宝体系实现重构落地批 T1(2026-10-12):新目录 12 行全量换代(设计权威=秘宝.md「目录(重设计 v1)」;
; 旧 12 行删除——venom_edge/seal_burst 已随迭代 20 专长批迁出删除,本批实删 12 行)。三档=普通 7/优秀 3/稀有 2
; (传说留空=空集合法,迭代 20 追认③先例)。解锁混合制(契约 8 逐件分配锁定表,2026-10-11 用户裁 C1):
; 钥石购买件 unlock_keystone_cost(provisional 占位);条件件 unlock_requires 谓词行——计数键
; adventure_cleared=生涯通关局数(C6 裁:通关=打通整局冒险)/boss_kill_count=生涯 Boss 击杀/vision_used=
; 真视类工具累计使用(本批新增计数域)。全部数值 provisional 归调参批(契约 7)。
; 常时参数面件(无订阅行——效果=开局/装板参数注入,非事件订阅):阔视野带/储备罐/远程镐/信标网络/刷新练习/
; 刷新执照六件 effect_kinds 挂参数 kind,由注入面按装配集 kind 分发读取(_attune_refresh_x_total 先例)。
; 主动件:线香(battle 级充能)/天眼(level 级充能)charge_reset 扩签;试炼镐=自动兑付(charges=0 无上限,
; ap_charge_safe 满 charge_n=8 自动当轮 grant_ap——2026-10-12 反哺批⑤用户裁:无玩家发起入口、
; 旧行 counter_spend 受理闸随裁删除;挖格扣 AP 后、轮末判定前兑付;战斗级重置=账即时清空自然无感)。
rows = [{
"item_id": "morning_order",
"display_name": "晨操令",
"dimension_tags": ["action"],
"desc": "每场战斗第 1 轮 AP +1",
"tier": "common",
"target": "none",
"magnitude": 1,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_keystone_cost": 10,
"triggers": [{
"on": "round_start",
"when": [{
"fact": "round_index",
"op": "eq",
"value": 1
}],
"do": {
"kind": "grant_ap",
"mode": "queue",
"value_from": "magnitude"
}
}]
}, {
"item_id": "wide_scout_band",
"display_name": "阔视野带",
"dimension_tags": ["info"],
"desc": "类型微光范围 8 格→12 格",
"tier": "common",
"target": "none",
"magnitude": 4,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_keystone_cost": 10,
"effect_kinds": ["light_radius_bonus"]
}, {
"item_id": "trial_pick",
"display_name": "试炼镐",
"dimension_tags": ["action"],
"desc": "每开 8 个安全格,当轮 AP +1(自动)",
"tier": "common",
"effect_kinds": ["ap_charge_safe"],
"target": "none",
"magnitude": 1,
"use_phase": "active_dig",
"form": "active_charged",
"slot_cost": 1,
"charges_per_adventure": 0,
"charge_n": 8,
"unlock_keystone_cost": 10
}, {
"item_id": "refresh_practice",
"display_name": "刷新练习",
"dimension_tags": ["plan"],
"desc": "三选一刷新存量 +1(装配即得一次性加仓)",
"tier": "common",
"target": "none",
"magnitude": 1,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_keystone_cost": 10,
"effect_kinds": ["refresh_stock_grant"]
}, {
"item_id": "reserve_jar",
"display_name": "储备罐",
"dimension_tags": ["action"],
"desc": "停手转存率 1:1 → 1.25:1",
"tier": "common",
"target": "none",
"magnitude": 125,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_keystone_cost": 10,
"effect_kinds": ["rap_transfer_mult"]
}, {
"item_id": "nest_forecast",
"display_name": "巢穴预告",
"dimension_tags": ["info"],
"desc": "装板后揭示本板危险格数量",
"tier": "common",
"target": "none",
"magnitude": 0,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_keystone_cost": 10,
"triggers": [{
"on": "board_installed",
"do": {
"kind": "mine_count_preview"
}
}]
}, {
"item_id": "incense_stick",
"display_name": "线香",
"dimension_tags": ["info"],
"desc": "每战一次:真视单格",
"tier": "common",
"effect_kinds": ["reveal_tiles"],
"target": "cell",
"magnitude": 0,
"use_phase": "active_dig",
"form": "active_charged",
"slot_cost": 1,
"charges_per_adventure": 1,
"charge_reset": "battle",
"unlock_keystone_cost": 10
}, {
"item_id": "twin_loader",
"display_name": "双管装填",
"dimension_tags": ["action"],
"desc": "每战前 2 轮各 AP +1",
"tier": "excellent",
"target": "none",
"magnitude": 1,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_keystone_cost": 25,
"triggers": [{
"on": "round_start",
"when": [{
"fact": "round_index",
"op": "lte",
"value": 2
}],
"do": {
"kind": "grant_ap",
"mode": "queue",
"value_from": "magnitude"
}
}]
}, {
"item_id": "ranged_pick",
"display_name": "远程镐",
"dimension_tags": ["action"],
"desc": "挖掘距离 +1(可挖距英雄 2 格的格)",
"tier": "excellent",
"target": "none",
"magnitude": 1,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_requires": [{
"key": "adventure_cleared",
"threshold": 1
}],
"effect_kinds": ["dig_range_bonus"]
}, {
"item_id": "refresh_license",
"display_name": "刷新执照",
"dimension_tags": ["plan"],
"desc": "商店免费刷新 +2/店",
"tier": "excellent",
"target": "none",
"magnitude": 2,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_requires": [{
"key": "boss_kill_count",
"threshold": 3
}],
"effect_kinds": ["shop_refresh_bonus"]
}, {
"item_id": "sky_eye",
"display_name": "天眼",
"dimension_tags": ["info"],
"desc": "每关一次:选 3×3,危险格显示且安全格直接开",
"tier": "rare",
"effect_kinds": ["reveal_tiles", "safe_dig"],
"target": "area_3x3",
"magnitude": 0,
"use_phase": "active_dig",
"form": "active_charged",
"slot_cost": 1,
"charges_per_adventure": 1,
"charge_reset": "level",
"unlock_requires": [{
"key": "adventure_cleared",
"threshold": 3
}, {
"key": "boss_kill_count",
"threshold": 4
}]
}, {
"item_id": "beacon_network",
"display_name": "信标网络",
"dimension_tags": ["risk"],
"desc": "封印不限相邻(可对任何未开格封印)",
"tier": "rare",
"target": "none",
"magnitude": 1,
"use_phase": "active_dig",
"form": "passive",
"slot_cost": 1,
"unlock_requires": [{
"key": "vision_used",
"threshold": 10
}],
"effect_kinds": ["seal_range_free"]
}]