feat(m79-d): region four data and localisation with advancement gate through contract seven
This commit is contained in:
@@ -54,6 +54,15 @@
|
||||
- 门:注册表 `equipment=120 artifacts=22 enemies=36 bosses=6 contracts=6 localized=265`;
|
||||
区域推进门扩到第五份合同:`ABG_M79_REGION_ADVANCE_OK contracts=5 region=RG-03 equipment=EQ-081..EQ-120 enemies=8 boss=BO-R3-01`。
|
||||
|
||||
## M79-D 数据+本地化(2026-09-15,接手后第一步)
|
||||
|
||||
- 数据+本地化:EQ-121..160(资源工具/状态工具)、EN-R4-01..12、BO-R4-01/02、
|
||||
AR-023..030(战斗法则)、RG-04 卷根档案馆、CTR-R4-01/02
|
||||
(区域四 65 条中文名与语义标签;全套 330 行本地化齐备,0 缺失)。
|
||||
- 注册表:`CONTENT_STAGE_REGIONS = 4`(160/30/48/8/8/8);推进门扩到第七份合同:
|
||||
`ABG_M79_REGION_ADVANCE_OK contracts=7 region=RG-04 equipment=EQ-121..EQ-160 boss=BO-R4-01`。
|
||||
- 美术/音乐(待后续步):28 张战斗立绘 + 卷根档案馆战场底图 + R4 战斗/BOSS 音乐。
|
||||
|
||||
## Acceptance checks
|
||||
|
||||
- 注册表测试通过:计数、连续 ID、name_zh、execution_tags、无填充词(含误报例外登记)
|
||||
|
||||
+980
-2
File diff suppressed because it is too large
Load Diff
@@ -9,18 +9,18 @@ const SOURCE_REVISION := "phase8-p8-3r2-contact-rear-actions-replacement"
|
||||
## M79 staged roll-out: the catalogue carries the contract content up to
|
||||
## `CONTENT_STAGE_REGIONS`; the final stage is 8 regions with 320 equipment,
|
||||
## 60 artifacts, 100 enemies, 16 bosses and 16 contracts.
|
||||
const CONTENT_STAGE_REGIONS := 3
|
||||
const CONTENT_STAGE_REGIONS := 4
|
||||
const CONTENT_EXPECTED_REGIONS := 8
|
||||
## Two contracts per shipped region.
|
||||
const CONTENT_STAGE_CONTRACTS := CONTENT_STAGE_REGIONS * 2
|
||||
const FAMILY_COUNTS := {
|
||||
"professions": 36,
|
||||
"traits": 36,
|
||||
"equipment": 120,
|
||||
"artifacts": 22,
|
||||
"enemies": 36,
|
||||
"bosses": 6,
|
||||
"contracts": 6,
|
||||
"equipment": 160,
|
||||
"artifacts": 30,
|
||||
"enemies": 48,
|
||||
"bosses": 8,
|
||||
"contracts": 8,
|
||||
}
|
||||
|
||||
const MECHANIC_FIELDS := {
|
||||
|
||||
@@ -19,6 +19,10 @@ const OP_RETURN_3 := "66666666666666666666666666666666"
|
||||
const OP_CREATE_4 := "77777777777777777777777777777777"
|
||||
const OP_RETURN_4 := "88888888888888888888888888888888"
|
||||
const OP_CREATE_5 := "99999999999999999999999999999999"
|
||||
const OP_RETURN_5 := "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
const OP_CREATE_6 := "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
||||
const OP_RETURN_6 := "cccccccccccccccccccccccccccccccc"
|
||||
const OP_CREATE_7 := "dddddddddddddddddddddddddddddddd"
|
||||
|
||||
var failures: Array[String] = []
|
||||
|
||||
@@ -116,15 +120,53 @@ func _run() -> void:
|
||||
leaked.append(enemy_id)
|
||||
expect(leaked.is_empty(), "region three battles field only region three identities, leaked %s" % str(leaked))
|
||||
|
||||
# Contract six closes region three's first half; contract seven opens region four.
|
||||
var returned_5: Dictionary = _service().return_contract(OP_RETURN_5)
|
||||
if not returned_5.ok:
|
||||
push_error("region advance: fifth contract return failed: %s" % String(returned_5.get("code", "")))
|
||||
quit(1)
|
||||
return
|
||||
var created_6: Dictionary = _service().create_contract(OP_CREATE_6, "CTR-R3-02", "standard")
|
||||
if not created_6.ok:
|
||||
push_error("region advance: sixth contract failed: %s" % String(created_6.get("code", "")))
|
||||
quit(1)
|
||||
return
|
||||
expect(String(created_6.company.active_contract.region_id) == "RG-03", "sixth contract stays in region three")
|
||||
var returned_6: Dictionary = _service().return_contract(OP_RETURN_6)
|
||||
if not returned_6.ok:
|
||||
push_error("region advance: sixth contract return failed: %s" % String(returned_6.get("code", "")))
|
||||
quit(1)
|
||||
return
|
||||
var created_7: Dictionary = _service().create_contract(OP_CREATE_7, "CTR-R4-01", "standard")
|
||||
if not created_7.ok:
|
||||
push_error("region advance: seventh contract failed: %s" % String(created_7.get("code", "")))
|
||||
quit(1)
|
||||
return
|
||||
var contract_4: Dictionary = created_7.company.active_contract
|
||||
expect(String(contract_4.region_id) == "RG-04", "seventh contract opens region four, got %s" % String(contract_4.region_id))
|
||||
expect(int(contract_4.region_index) == 4, "region index advances to four")
|
||||
expect(String(contract_4.boss_id) == "BO-R4-01", "region four contract anchors its first boss")
|
||||
expect(_equipment_band(created_7.company) == "EQ-121..EQ-160", "region four market draws EQ-121..EQ-160")
|
||||
var region_four_enemies: Array[String] = []
|
||||
for offer in Array(contract_4.market_board.battle_offers):
|
||||
for enemy_id in Array(Dictionary(offer).get("enemy_ids", [])):
|
||||
region_four_enemies.append(String(enemy_id))
|
||||
var leaked_4: Array[String] = []
|
||||
for enemy_id in region_four_enemies:
|
||||
if not enemy_id.begins_with("EN-R4-") and not enemy_id.begins_with("BO-R4-"):
|
||||
leaked_4.append(enemy_id)
|
||||
expect(leaked_4.is_empty(), "region four battles field only region four identities, leaked %s" % str(leaked_4))
|
||||
|
||||
var content: Dictionary = ContentRegistry.snapshot()
|
||||
expect(ContentRegistry.localized_name(content, "RG-02", "zh_CN") == "淤醒沼泽", "region two zh authority resolves")
|
||||
expect(ContentRegistry.localized_name(content, "RG-02", "en") == "Siltwake Fens", "region two en authority resolves")
|
||||
expect(ContentRegistry.localized_name(content, "RG-03", "zh_CN") == "余烬织坊", "region three zh authority resolves")
|
||||
expect(ContentRegistry.localized_name(content, "RG-04", "zh_CN") == "卷根档案馆", "region four zh authority resolves")
|
||||
|
||||
_cleanup()
|
||||
if failures.is_empty():
|
||||
print("ABG_M79_REGION_ADVANCE_OK contracts=5 region=RG-03 equipment=%s enemies=%d boss=%s" % [
|
||||
_equipment_band(created_5.company), region_three_enemies.size(), String(contract_3.boss_id)])
|
||||
print("ABG_M79_REGION_ADVANCE_OK contracts=7 region=RG-04 equipment=%s enemies=%d boss=%s" % [
|
||||
_equipment_band(created_7.company), region_four_enemies.size(), String(contract_4.boss_id)])
|
||||
quit(0)
|
||||
return
|
||||
for failure in failures:
|
||||
|
||||
@@ -1285,6 +1285,326 @@
|
||||
"battle_once",
|
||||
"line_fold"
|
||||
]
|
||||
},
|
||||
"EQ-121": {
|
||||
"name_zh": "守注阀",
|
||||
"tags": [
|
||||
"guard_convert",
|
||||
"focus_gain",
|
||||
"resource"
|
||||
]
|
||||
},
|
||||
"EQ-122": {
|
||||
"name_zh": "余药瓶架",
|
||||
"tags": [
|
||||
"remedy_spend",
|
||||
"cooldown_refresh",
|
||||
"heal_item"
|
||||
]
|
||||
},
|
||||
"EQ-123": {
|
||||
"name_zh": "零件回收爪",
|
||||
"tags": [
|
||||
"device_destroyed",
|
||||
"parts_return",
|
||||
"construct"
|
||||
]
|
||||
},
|
||||
"EQ-124": {
|
||||
"name_zh": "韵律杯",
|
||||
"tags": [
|
||||
"verse_spend",
|
||||
"neighbor_gift",
|
||||
"tempo"
|
||||
]
|
||||
},
|
||||
"EQ-125": {
|
||||
"name_zh": "锋鞘",
|
||||
"tags": [
|
||||
"edge_carry",
|
||||
"mark_transfer",
|
||||
"single_target"
|
||||
]
|
||||
},
|
||||
"EQ-126": {
|
||||
"name_zh": "定盘砣",
|
||||
"tags": [
|
||||
"poise_spend",
|
||||
"forced_move_cancel",
|
||||
"stance"
|
||||
]
|
||||
},
|
||||
"EQ-127": {
|
||||
"name_zh": "势能瓶",
|
||||
"tags": [
|
||||
"momentum_spend",
|
||||
"trigger_refresh",
|
||||
"reorder"
|
||||
]
|
||||
},
|
||||
"EQ-128": {
|
||||
"name_zh": "分瞄器",
|
||||
"tags": [
|
||||
"aim_spend",
|
||||
"rear_mark",
|
||||
"projectile"
|
||||
]
|
||||
},
|
||||
"EQ-129": {
|
||||
"name_zh": "蓄能池",
|
||||
"tags": [
|
||||
"charge_store",
|
||||
"interrupt_hold",
|
||||
"basic_return"
|
||||
]
|
||||
},
|
||||
"EQ-130": {
|
||||
"name_zh": "断契筹",
|
||||
"tags": [
|
||||
"link_break",
|
||||
"bond_to_guard",
|
||||
"support"
|
||||
]
|
||||
},
|
||||
"EQ-131": {
|
||||
"name_zh": "兆沙漏",
|
||||
"tags": [
|
||||
"omen_spend",
|
||||
"hindrance_pause",
|
||||
"wind_up"
|
||||
]
|
||||
},
|
||||
"EQ-132": {
|
||||
"name_zh": "补给箱钥",
|
||||
"tags": [
|
||||
"supply_spend",
|
||||
"cooldown_open",
|
||||
"item"
|
||||
]
|
||||
},
|
||||
"EQ-133": {
|
||||
"name_zh": "空槽鼓",
|
||||
"tags": [
|
||||
"zero_resource",
|
||||
"basic_advance",
|
||||
"tempo"
|
||||
]
|
||||
},
|
||||
"EQ-134": {
|
||||
"name_zh": "满槽印",
|
||||
"tags": [
|
||||
"full_resource",
|
||||
"steal_ward",
|
||||
"guard_spend"
|
||||
]
|
||||
},
|
||||
"EQ-135": {
|
||||
"name_zh": "邻借条",
|
||||
"tags": [
|
||||
"lend_resource",
|
||||
"neighbor_match",
|
||||
"timer"
|
||||
]
|
||||
},
|
||||
"EQ-136": {
|
||||
"name_zh": "杂锦囊",
|
||||
"tags": [
|
||||
"three_types",
|
||||
"supply_create",
|
||||
"resource"
|
||||
]
|
||||
},
|
||||
"EQ-137": {
|
||||
"name_zh": "截流闸",
|
||||
"tags": [
|
||||
"resource_floor",
|
||||
"direct_hit",
|
||||
"expose_cost"
|
||||
]
|
||||
},
|
||||
"EQ-138": {
|
||||
"name_zh": "溢流嘴",
|
||||
"tags": [
|
||||
"overflow_share",
|
||||
"cap_spill",
|
||||
"neighbor"
|
||||
]
|
||||
},
|
||||
"EQ-139": {
|
||||
"name_zh": "逆序账",
|
||||
"tags": [
|
||||
"damage_gain",
|
||||
"spend_redirect",
|
||||
"ledger"
|
||||
]
|
||||
},
|
||||
"EQ-140": {
|
||||
"name_zh": "末筹坠",
|
||||
"tags": [
|
||||
"last_token",
|
||||
"rider_keep",
|
||||
"spend"
|
||||
]
|
||||
},
|
||||
"EQ-141": {
|
||||
"name_zh": "中点净刷",
|
||||
"tags": [
|
||||
"midpoint_cleanse",
|
||||
"guard_gain",
|
||||
"restore"
|
||||
]
|
||||
},
|
||||
"EQ-142": {
|
||||
"name_zh": "印记接力针",
|
||||
"tags": [
|
||||
"mark_expire",
|
||||
"mark_jump",
|
||||
"single_tick"
|
||||
]
|
||||
},
|
||||
"EQ-143": {
|
||||
"name_zh": "滞碍钩",
|
||||
"tags": [
|
||||
"hindered_pull",
|
||||
"forward_pull",
|
||||
"basic"
|
||||
]
|
||||
},
|
||||
"EQ-144": {
|
||||
"name_zh": "破绽丝",
|
||||
"tags": [
|
||||
"guard_break",
|
||||
"mark_breaker",
|
||||
"expose"
|
||||
]
|
||||
},
|
||||
"EQ-145": {
|
||||
"name_zh": "空白板",
|
||||
"tags": [
|
||||
"tag_cancel",
|
||||
"same_cadence",
|
||||
"no_resource"
|
||||
]
|
||||
},
|
||||
"EQ-146": {
|
||||
"name_zh": "长恙环",
|
||||
"tags": [
|
||||
"hindrance_refresh",
|
||||
"no_stack",
|
||||
"immunity_tick"
|
||||
]
|
||||
},
|
||||
"EQ-147": {
|
||||
"name_zh": "短祝光",
|
||||
"tags": [
|
||||
"short_tag",
|
||||
"expiry_rider",
|
||||
"no_extend"
|
||||
]
|
||||
},
|
||||
"EQ-148": {
|
||||
"name_zh": "状态棱镜",
|
||||
"tags": [
|
||||
"tag_mirror",
|
||||
"opposite_sign",
|
||||
"nearest_enemy"
|
||||
]
|
||||
},
|
||||
"EQ-149": {
|
||||
"name_zh": "断根刀",
|
||||
"tags": [
|
||||
"root_cleanse",
|
||||
"move_unlock",
|
||||
"no_damage"
|
||||
]
|
||||
},
|
||||
"EQ-150": {
|
||||
"name_zh": "静音拍",
|
||||
"tags": [
|
||||
"hinder_silence",
|
||||
"windup_stop",
|
||||
"one_tick"
|
||||
]
|
||||
},
|
||||
"EQ-151": {
|
||||
"name_zh": "守毒瓶",
|
||||
"tags": [
|
||||
"guarded_hinder",
|
||||
"cleanse_lock",
|
||||
"guard_cost"
|
||||
]
|
||||
},
|
||||
"EQ-152": {
|
||||
"name_zh": "绽伤贴",
|
||||
"tags": [
|
||||
"heal_deny",
|
||||
"source_mark",
|
||||
"reveal"
|
||||
]
|
||||
},
|
||||
"EQ-153": {
|
||||
"name_zh": "终铃",
|
||||
"tags": [
|
||||
"tag_expiry",
|
||||
"action_advance",
|
||||
"oldest_tag"
|
||||
]
|
||||
},
|
||||
"EQ-154": {
|
||||
"name_zh": "净镜",
|
||||
"tags": [
|
||||
"enemy_cleanse",
|
||||
"mirror_cleanse",
|
||||
"restore"
|
||||
]
|
||||
},
|
||||
"EQ-155": {
|
||||
"name_zh": "印路图",
|
||||
"tags": [
|
||||
"mark_keep",
|
||||
"approach_hold",
|
||||
"reorder"
|
||||
]
|
||||
},
|
||||
"EQ-156": {
|
||||
"name_zh": "分态器",
|
||||
"tags": [
|
||||
"area_ends",
|
||||
"status_limit",
|
||||
"area"
|
||||
]
|
||||
},
|
||||
"EQ-157": {
|
||||
"name_zh": "双净则",
|
||||
"tags": [
|
||||
"second_cleanse",
|
||||
"cooldown_refresh",
|
||||
"restore"
|
||||
]
|
||||
},
|
||||
"EQ-158": {
|
||||
"name_zh": "隔染栅",
|
||||
"tags": [
|
||||
"spread_block",
|
||||
"neighbor_guard",
|
||||
"short_tag"
|
||||
]
|
||||
},
|
||||
"EQ-159": {
|
||||
"name_zh": "真言杯",
|
||||
"tags": [
|
||||
"conceal_cleanse",
|
||||
"action_reveal",
|
||||
"guard_gift"
|
||||
]
|
||||
},
|
||||
"EQ-160": {
|
||||
"name_zh": "永痕甲",
|
||||
"tags": [
|
||||
"full_duration",
|
||||
"tag_immunity",
|
||||
"one_battle"
|
||||
]
|
||||
}
|
||||
},
|
||||
"enemies": {
|
||||
@@ -1576,6 +1896,102 @@
|
||||
"pressure_build",
|
||||
"elite"
|
||||
]
|
||||
},
|
||||
"EN-R4-01": {
|
||||
"name_zh": "页边蛾",
|
||||
"tags": [
|
||||
"copy_trigger",
|
||||
"reduced_copy",
|
||||
"equipment_echo"
|
||||
]
|
||||
},
|
||||
"EN-R4-02": {
|
||||
"name_zh": "根标者",
|
||||
"tags": [
|
||||
"label_positions",
|
||||
"cycle_attack",
|
||||
"reorder"
|
||||
]
|
||||
},
|
||||
"EN-R4-03": {
|
||||
"name_zh": "拭墨蛞蝓",
|
||||
"tags": [
|
||||
"tag_erase",
|
||||
"ink_patch",
|
||||
"cleanse_trap"
|
||||
]
|
||||
},
|
||||
"EN-R4-04": {
|
||||
"name_zh": "脚注豺",
|
||||
"tags": [
|
||||
"slow_follow",
|
||||
"slow_target",
|
||||
"punish"
|
||||
]
|
||||
},
|
||||
"EN-R4-05": {
|
||||
"name_zh": "条款甲虫",
|
||||
"tags": [
|
||||
"repeat_alternate",
|
||||
"clause_obey",
|
||||
"guard_expose"
|
||||
]
|
||||
},
|
||||
"EN-R4-06": {
|
||||
"name_zh": "叶算子",
|
||||
"tags": [
|
||||
"target_count",
|
||||
"retarget_foremost",
|
||||
"commit"
|
||||
]
|
||||
},
|
||||
"EN-R4-07": {
|
||||
"name_zh": "引文鸦",
|
||||
"tags": [
|
||||
"tag_source",
|
||||
"expiry_peck",
|
||||
"positive_tag"
|
||||
]
|
||||
},
|
||||
"EN-R4-08": {
|
||||
"name_zh": "缚藤",
|
||||
"tags": [
|
||||
"link_units",
|
||||
"mirror_push",
|
||||
"displacement"
|
||||
]
|
||||
},
|
||||
"EN-R4-09": {
|
||||
"name_zh": "重写影",
|
||||
"tags": [
|
||||
"fizzle_copy",
|
||||
"replay_fizzle",
|
||||
"line_reach"
|
||||
]
|
||||
},
|
||||
"EN-R4-10": {
|
||||
"name_zh": "守架卫",
|
||||
"tags": [
|
||||
"protect_rear",
|
||||
"swap_guard",
|
||||
"bypass"
|
||||
]
|
||||
},
|
||||
"EN-R4-11": {
|
||||
"name_zh": "辞典守者",
|
||||
"tags": [
|
||||
"define_tag",
|
||||
"interrupt_limit",
|
||||
"cast_race"
|
||||
]
|
||||
},
|
||||
"EN-R4-12": {
|
||||
"name_zh": "复写鹿",
|
||||
"tags": [
|
||||
"record_actions",
|
||||
"reverse_replay",
|
||||
"target_rules"
|
||||
]
|
||||
}
|
||||
},
|
||||
"bosses": {
|
||||
@@ -1628,6 +2044,22 @@
|
||||
"command",
|
||||
"phase_shift"
|
||||
]
|
||||
},
|
||||
"BO-R4-01": {
|
||||
"name_zh": "行走总目",
|
||||
"tags": [
|
||||
"pointer_labels",
|
||||
"erase_copy_bind",
|
||||
"boss_r4"
|
||||
]
|
||||
},
|
||||
"BO-R4-02": {
|
||||
"name_zh": "遮墨鹿",
|
||||
"tags": [
|
||||
"record_rules",
|
||||
"redact_clause",
|
||||
"replay_boss"
|
||||
]
|
||||
}
|
||||
},
|
||||
"artifacts": {
|
||||
@@ -1814,6 +2246,70 @@
|
||||
"first_enemy",
|
||||
"tempo"
|
||||
]
|
||||
},
|
||||
"AR-023": {
|
||||
"name_zh": "清流",
|
||||
"tags": [
|
||||
"first_hinder",
|
||||
"one_tick",
|
||||
"no_extend"
|
||||
]
|
||||
},
|
||||
"AR-024": {
|
||||
"name_zh": "深流",
|
||||
"tags": [
|
||||
"first_hinder",
|
||||
"midpoint_lock",
|
||||
"no_cleanse"
|
||||
]
|
||||
},
|
||||
"AR-025": {
|
||||
"name_zh": "明屏",
|
||||
"tags": [
|
||||
"screen_minus",
|
||||
"source_reveal",
|
||||
"block"
|
||||
]
|
||||
},
|
||||
"AR-026": {
|
||||
"name_zh": "暗屏",
|
||||
"tags": [
|
||||
"screen_plus",
|
||||
"target_hide",
|
||||
"block"
|
||||
]
|
||||
},
|
||||
"AR-027": {
|
||||
"name_zh": "共拍",
|
||||
"tags": [
|
||||
"cadence_wait",
|
||||
"fast_slow_pair",
|
||||
"tempo"
|
||||
]
|
||||
},
|
||||
"AR-028": {
|
||||
"name_zh": "断拍",
|
||||
"tags": [
|
||||
"repeat_punish",
|
||||
"enemy_advance",
|
||||
"cadence"
|
||||
]
|
||||
},
|
||||
"AR-029": {
|
||||
"name_zh": "着地竞",
|
||||
"tags": [
|
||||
"air_short",
|
||||
"force_long",
|
||||
"duration"
|
||||
]
|
||||
},
|
||||
"AR-030": {
|
||||
"name_zh": "凌空竞",
|
||||
"tags": [
|
||||
"force_open",
|
||||
"air_long",
|
||||
"movement"
|
||||
]
|
||||
}
|
||||
},
|
||||
"region": {
|
||||
@@ -1843,6 +2339,15 @@
|
||||
"item_cooldown",
|
||||
"pressure_valve"
|
||||
]
|
||||
},
|
||||
"RG-04": {
|
||||
"name_zh": "卷根档案馆",
|
||||
"tags": [
|
||||
"copy_actions",
|
||||
"redirect",
|
||||
"cleanse_trap",
|
||||
"archive_clause"
|
||||
]
|
||||
}
|
||||
},
|
||||
"contracts": {
|
||||
@@ -1895,6 +2400,22 @@
|
||||
"boss_foreman",
|
||||
"contract_two"
|
||||
]
|
||||
},
|
||||
"CTR-R4-01": {
|
||||
"name_zh": "卷根初索",
|
||||
"tags": [
|
||||
"region_four",
|
||||
"boss_index",
|
||||
"region_r4"
|
||||
]
|
||||
},
|
||||
"CTR-R4-02": {
|
||||
"name_zh": "遮墨书架",
|
||||
"tags": [
|
||||
"region_four",
|
||||
"boss_redact",
|
||||
"contract_two"
|
||||
]
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
@@ -2188,4 +2709,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user