Phase C1 of the release-readiness roadmap. Found and fixed a genuine release blocker: Godot runtime scripts loaded content/rules/text from res://../data/, which resolves in the editor but NOT in an export (packed res:// has no parent), so a shipped game would fail on first load. - Copied the 6 runtime JSON files into p2_godot_sample/data/ and redirected launch_content.gd, ui_text.gd, profile_store.gd, battle_sim.gd and battle_scene.gd to res://data/... . The repository root data/ stays the authoritative source for the Python validators; frozen_fixture.gd (test-only source-provenance checks) keeps its res://../ paths. - Added tools/check_runtime_data_bundle.py: SHA-256 proves each bundled copy is byte-identical to the authoritative one, so runtime data cannot drift from validated data. Registered as a gate in run_p2_checks.sh. - End-to-end proof: exported a Linux/X11 PCK with an include_filter for data/*.json, mounted it with --main-pack, and asserted all 6 data files plus the main scene exist under res:// (PCK_RESULT PASS). This verifies the fix in a real packed artifact, not just source. - Added a minimal Linux/X11 export_presets.cfg for local smoke exports. It is NOT a signed/release artifact; build/ is gitignored so no binary is committed. Full gate P2_CHECKS_PASS with the new gate. Roadmap 47 records the remaining publisher-owned steps (owner-chosen Bundle ID / team / signing, archive, upload, store review) and the pre-release cleanup item (exclude *_test.gd from exports). Bundle ID, product name and business model are owner decisions (NAMING.md is undecided) and were not invented here. prototype/ stays untracked and untouched.
443 lines
8.7 KiB
JSON
443 lines
8.7 KiB
JSON
{
|
|
"schema": 1,
|
|
"purpose": "Frozen P3a launch content: 6 heroes, 10 enemies, 1 boss, 10 nodes. Derived from PRODUCTION/00-launch-content-data-pack.md; not a second source of truth for ids or waves.",
|
|
"source_contract": "PRODUCTION/00-launch-content-data-pack.md",
|
|
"region": {
|
|
"id": "R1",
|
|
"name_key": "content.region.R1"
|
|
},
|
|
"heroes": [
|
|
{
|
|
"id": "H01",
|
|
"signature": "break",
|
|
"base_atk": 10,
|
|
"base_spd": 90,
|
|
"base_dps": 8,
|
|
"signature_dps": 4.0,
|
|
"unlock": "R1-C01-N01",
|
|
"art_id": "H01"
|
|
},
|
|
{
|
|
"id": "H02",
|
|
"signature": "single",
|
|
"base_atk": 14,
|
|
"base_spd": 110,
|
|
"base_dps": 12,
|
|
"signature_dps": 5.0,
|
|
"unlock": "R1-C01-N01",
|
|
"art_id": "H02"
|
|
},
|
|
{
|
|
"id": "H03",
|
|
"signature": "aoe",
|
|
"base_atk": 16,
|
|
"base_spd": 95,
|
|
"base_dps": 13,
|
|
"signature_dps": 5.5,
|
|
"unlock": "R1-C01-N01",
|
|
"art_id": "H03"
|
|
},
|
|
{
|
|
"id": "H04",
|
|
"signature": "click",
|
|
"base_atk": 11,
|
|
"base_spd": 100,
|
|
"base_dps": 9,
|
|
"signature_dps": 3.0,
|
|
"unlock": "R1-C01-N02",
|
|
"art_id": "H04"
|
|
},
|
|
{
|
|
"id": "H05",
|
|
"signature": "tempo",
|
|
"base_atk": 15,
|
|
"base_spd": 120,
|
|
"base_dps": 13,
|
|
"signature_dps": 5.0,
|
|
"unlock": "R1-C01-N03",
|
|
"art_id": "H05"
|
|
},
|
|
{
|
|
"id": "H06",
|
|
"signature": "sustain",
|
|
"base_atk": 12,
|
|
"base_spd": 105,
|
|
"base_dps": 10,
|
|
"signature_dps": 4.5,
|
|
"unlock": "R1-C01-CLEAR",
|
|
"art_id": "H06"
|
|
}
|
|
],
|
|
"enemies": [
|
|
{
|
|
"id": "E-R1-F1-V1",
|
|
"name": "草原狼",
|
|
"weak_tag": "aoe",
|
|
"hp_mult": 0.8,
|
|
"base_hp": 480,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"rebuild_at": [],
|
|
"rebuild_amount": 0.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F2-V1",
|
|
"name": "空盗斥候",
|
|
"weak_tag": "click",
|
|
"hp_mult": 0.9,
|
|
"base_hp": 540,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"rebuild_at": [],
|
|
"rebuild_amount": 0.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F3-V1",
|
|
"name": "树精守卫",
|
|
"weak_tag": "break",
|
|
"hp_mult": 2.0,
|
|
"base_hp": 1200,
|
|
"armor": 3,
|
|
"shield_max": 60,
|
|
"rebuild_at": [
|
|
6.0,
|
|
12.0
|
|
],
|
|
"rebuild_amount": 220.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F4-V1",
|
|
"name": "毒藤",
|
|
"weak_tag": "sustain",
|
|
"hp_mult": 1.0,
|
|
"base_hp": 600,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"rebuild_at": [],
|
|
"rebuild_amount": 0.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F5-V1",
|
|
"name": "岩石傀儡",
|
|
"weak_tag": "break",
|
|
"hp_mult": 1.8,
|
|
"base_hp": 1080,
|
|
"armor": 5,
|
|
"shield_max": 40,
|
|
"rebuild_at": [
|
|
8.0
|
|
],
|
|
"rebuild_amount": 120.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F6-V1",
|
|
"name": "地精爆破手",
|
|
"weak_tag": "aoe",
|
|
"hp_mult": 0.6,
|
|
"base_hp": 360,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"rebuild_at": [],
|
|
"rebuild_amount": 0.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F7-V1",
|
|
"name": "沙虫",
|
|
"weak_tag": "single",
|
|
"hp_mult": 1.4,
|
|
"base_hp": 840,
|
|
"armor": 2,
|
|
"shield_max": 0,
|
|
"rebuild_at": [],
|
|
"rebuild_amount": 0.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F8-V1",
|
|
"name": "木乃伊祭司",
|
|
"weak_tag": "break",
|
|
"hp_mult": 1.1,
|
|
"base_hp": 660,
|
|
"armor": 2,
|
|
"shield_max": 50,
|
|
"rebuild_at": [
|
|
6.0
|
|
],
|
|
"rebuild_amount": 100.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F9-V1",
|
|
"name": "风暴精灵",
|
|
"weak_tag": "aoe",
|
|
"hp_mult": 0.7,
|
|
"base_hp": 420,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"rebuild_at": [],
|
|
"rebuild_amount": 0.0,
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F10-V1",
|
|
"name": "虚空信徒",
|
|
"weak_tag": "single",
|
|
"hp_mult": 1.0,
|
|
"base_hp": 600,
|
|
"armor": 1,
|
|
"shield_max": 20,
|
|
"rebuild_at": [
|
|
10.0
|
|
],
|
|
"rebuild_amount": 60.0,
|
|
"art_id": "EG01"
|
|
}
|
|
],
|
|
"boss": {
|
|
"id": "B-R1-01",
|
|
"name": "空盗船长·红鸢",
|
|
"hp": 1500,
|
|
"armor": 5,
|
|
"shield_max": 200,
|
|
"timer_sec": 30,
|
|
"weak_tag": "break",
|
|
"rebuild_at": [
|
|
8.0,
|
|
16.0
|
|
],
|
|
"rebuild_amount": 420.0,
|
|
"art_id": "B01",
|
|
"phases": [
|
|
"B-R1-01-P1",
|
|
"B-R1-01-P2"
|
|
]
|
|
},
|
|
"nodes": [
|
|
{
|
|
"id": "R1-C01-N01",
|
|
"index": 1,
|
|
"type": "normal",
|
|
"waves": [
|
|
[
|
|
"E-R1-F1-V1",
|
|
"E-R1-F1-V1"
|
|
]
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N01",
|
|
"gold": 30,
|
|
"crystal": 0,
|
|
"unlocks": [],
|
|
"hp_scale": 1.0,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N02",
|
|
"index": 2,
|
|
"type": "normal",
|
|
"waves": [
|
|
[
|
|
"E-R1-F2-V1",
|
|
"E-R1-F2-V1",
|
|
"E-R1-F1-V1"
|
|
]
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N02",
|
|
"gold": 40,
|
|
"crystal": 0,
|
|
"unlocks": [
|
|
"H04"
|
|
],
|
|
"hp_scale": 1.12,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N03",
|
|
"index": 3,
|
|
"type": "elite",
|
|
"waves": [
|
|
[
|
|
"E-R1-F3-V1",
|
|
"E-R1-F4-V1"
|
|
],
|
|
[
|
|
"E-R1-F4-V1",
|
|
"E-R1-F4-V1"
|
|
]
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N03",
|
|
"gold": 50,
|
|
"crystal": 0,
|
|
"unlocks": [
|
|
"H05"
|
|
],
|
|
"hp_scale": 1.24,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N04",
|
|
"index": 4,
|
|
"type": "event",
|
|
"waves": [],
|
|
"reward_id": "REWARD-R1-C01-N04",
|
|
"gold": 35,
|
|
"crystal": 0,
|
|
"unlocks": [],
|
|
"hp_scale": 1.36,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N05",
|
|
"index": 5,
|
|
"type": "normal",
|
|
"waves": [
|
|
[
|
|
"E-R1-F2-V1",
|
|
"E-R1-F2-V1",
|
|
"E-R1-F2-V1"
|
|
]
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N05",
|
|
"gold": 60,
|
|
"crystal": 0,
|
|
"unlocks": [],
|
|
"hp_scale": 1.48,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N06",
|
|
"index": 6,
|
|
"type": "elite",
|
|
"waves": [
|
|
[
|
|
"E-R1-F5-V1"
|
|
],
|
|
[
|
|
"E-R1-F6-V1",
|
|
"E-R1-F6-V1"
|
|
]
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N06",
|
|
"gold": 70,
|
|
"crystal": 0,
|
|
"unlocks": [],
|
|
"hp_scale": 1.6,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N07",
|
|
"index": 7,
|
|
"type": "event",
|
|
"waves": [],
|
|
"reward_id": "REWARD-R1-C01-N07",
|
|
"gold": 0,
|
|
"crystal": 0,
|
|
"unlocks": [],
|
|
"hp_scale": 1.72,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N08",
|
|
"index": 8,
|
|
"type": "normal",
|
|
"waves": [
|
|
[
|
|
"E-R1-F1-V1",
|
|
"E-R1-F1-V1",
|
|
"E-R1-F2-V1",
|
|
"E-R1-F2-V1"
|
|
]
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N08",
|
|
"gold": 80,
|
|
"crystal": 0,
|
|
"unlocks": [],
|
|
"hp_scale": 1.84,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N09",
|
|
"index": 9,
|
|
"type": "elite",
|
|
"waves": [
|
|
[
|
|
"E-R1-F9-V1",
|
|
"E-R1-F10-V1"
|
|
],
|
|
[
|
|
"E-R1-F10-V1",
|
|
"E-R1-F10-V1"
|
|
]
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N09",
|
|
"gold": 100,
|
|
"crystal": 0,
|
|
"unlocks": [],
|
|
"hp_scale": 1.96,
|
|
"timeout_sec": 45
|
|
},
|
|
{
|
|
"id": "R1-C01-N10",
|
|
"index": 10,
|
|
"type": "boss",
|
|
"waves": [
|
|
[
|
|
"B-R1-01"
|
|
]
|
|
],
|
|
"reward_id": "DROP-R1-BOSS-01",
|
|
"gold": 100,
|
|
"crystal": 5,
|
|
"unlocks": [
|
|
"H06"
|
|
],
|
|
"hp_scale": 1.0,
|
|
"timeout_sec": 30
|
|
}
|
|
],
|
|
"events": {
|
|
"R1-C01-N04": {
|
|
"title_key": "event.N04.title",
|
|
"body_key": "event.N04.body",
|
|
"choices": [
|
|
{
|
|
"id": "rescue",
|
|
"label_key": "event.N04.rescue",
|
|
"gold": 35,
|
|
"crystal": 1
|
|
},
|
|
{
|
|
"id": "scavenge",
|
|
"label_key": "event.N04.scavenge",
|
|
"gold": 70,
|
|
"crystal": 0
|
|
}
|
|
]
|
|
},
|
|
"R1-C01-N07": {
|
|
"title_key": "event.N07.title",
|
|
"body_key": "event.N07.body",
|
|
"choices": [
|
|
{
|
|
"id": "study",
|
|
"label_key": "event.N07.study",
|
|
"gold": 0,
|
|
"crystal": 2
|
|
},
|
|
{
|
|
"id": "take",
|
|
"label_key": "event.N07.take",
|
|
"gold": 50,
|
|
"crystal": 0
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"hp_formula": "base_hp * node.hp_scale; boss uses its fixed hp"
|
|
}
|