#234
Make ordinary chests keyless and remove consumable drops
What changed
普通宝箱和闪光宝箱无需钥匙即可开启;从掉落表中精确移除普通钥匙(key)、回城卷轴(tsc)和鉴定卷轴(isc)。任务宝箱、任务钥匙和火炬钥匙保持原样。
在构建覆盖层时同步调整 TXT 与游戏实际读取的 BIN,修改前逐项核对两份表;所有覆盖层变体共用此行为,并将生成器加入覆盖层指纹依赖。仅对普通宝箱的交互/初始化函数组合取消上锁,保留任务宝箱和机关。
另修正资源缓存测试的过期预期:覆盖层请求可以复用完整资源缓存,并检查复用时技能图集、技能剪影和缓存标记不变;保留精简缓存升级到完整资源的覆盖。
Why
游戏已有免费回城和鉴定功能;移除对应的消耗品掉落,并取消普通宝箱对普通钥匙的依赖,减少整理杂物的操作,同时保留任务流程。
Checks run
No game files needed:
-
python3 dm/i18n/scan_literals.py—I18N OK -
python3 dm/ios/tools/dm_i18n.py --check—dm_i18n OK 486 条
Game files and a workspace prepared by ./setup.sh needed:
-
make -C dm/host/tests run -
make -C dm/gfx/tests run -
make -C dm/ios/tests test— passed; three private-fixture tests skipped because their mapping/binding fixtures are unavailable. Native-art capture also skipped its two game-table hash checks because its configured game path is unavailable. -
dm/verify/regress.sh -
cd dm/ios && ./run.sh build -
dm/ios/tools/smoke_mac.sh 1 -
dm/ios/tools/check_hud_gen.sh
Additional validation on a Mac host:
python3 dm/ios/tests/test_gameplay_tables.py— 3 tests passed, including quest-object/key preservation, idempotence and TXT/BIN mismatch rejection. Fixtures are synthetic.python3 dm/ios/tests/test_generated_asset_contract.py— 14 tests passed.python3 dm/ios/tests/test_overlay_contract.py— 15 tests passed.- Full overlay generation, including item-notes and ASTC variants, passed using local game resources.
- Audited the original tables locally: exactly 45 ordinary chest lock bytes changed; six quest-chest records remained byte-identical. Removed 97 consumable slots across 55 drop tables; retained item entries, their weights and other metadata remained unchanged.
- An iOS 26 IPA was compiled and its archive/resources verified before rebasing onto current upstream main. This used the local prepared-input build path, not
run.sh build. No physical-device or gameplay smoke test was run, and no package is attached. git diff --check— passed.
Visible changes
No UI layout or new on-screen text. Gameplay changes are ordinary chest unlocking and the absence of the three consumables from generated drops. No device screenshots are available.
No game content
- This change contains no game files, nothing generated from game files, no keys, and no built package.
- It does not carry the local rewrites
./setup.shmakes todm/gfx/tools/dmsh_chain.lock,dm/gfx/nvn/dmsh_chain.handdm/gfx/nvn/c1_full.tsv.
Comments
- New and changed comments are in both Chinese and English.