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.
106 lines
2.0 KiB
JSON
106 lines
2.0 KiB
JSON
{
|
|
"schema": 1,
|
|
"purpose": "Frozen P3a/P2 content fixture; full launch content remains in the launch data pack",
|
|
"heroes": [
|
|
{
|
|
"id": "H01",
|
|
"signature": "break",
|
|
"base_atk": 10,
|
|
"base_spd": 90,
|
|
"base_dps": 8,
|
|
"unlock_node_id": "R1-C01-N01",
|
|
"art_id": "H01"
|
|
},
|
|
{
|
|
"id": "H02",
|
|
"signature": "single",
|
|
"base_atk": 14,
|
|
"base_spd": 110,
|
|
"base_dps": 12,
|
|
"unlock_node_id": "R1-C01-N01",
|
|
"art_id": "H02"
|
|
},
|
|
{
|
|
"id": "H04",
|
|
"signature": "click",
|
|
"base_atk": 11,
|
|
"base_spd": 100,
|
|
"base_dps": 9,
|
|
"unlock_node_id": "R1-C01-N02",
|
|
"art_id": "H04"
|
|
}
|
|
],
|
|
"enemies": [
|
|
{
|
|
"id": "E-R1-F1-V1",
|
|
"kind": "normal",
|
|
"hp_mult": 0.8,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"weak_tag": "aoe",
|
|
"art_id": "EG01"
|
|
},
|
|
{
|
|
"id": "E-R1-F3-V1",
|
|
"kind": "elite",
|
|
"hp_mult": 2.0,
|
|
"armor": 3,
|
|
"shield_max": 60,
|
|
"weak_tag": "break",
|
|
"art_id": "EG01"
|
|
}
|
|
],
|
|
"validation_pressure_enemies": [
|
|
{
|
|
"id": "E-R1-F4-V1",
|
|
"kind": "elite_support",
|
|
"hp_mult": 1.0,
|
|
"armor": 1,
|
|
"shield_max": 0,
|
|
"weak_tag": "sustain",
|
|
"art_id": "EG01"
|
|
}
|
|
],
|
|
"bosses": [
|
|
{
|
|
"id": "B-R1-01",
|
|
"hp": 1500,
|
|
"armor": 5,
|
|
"shield_max": 200,
|
|
"timer_sec": 30,
|
|
"phase_ids": [
|
|
"B-R1-01-P1",
|
|
"B-R1-01-P2"
|
|
],
|
|
"art_id": "B01"
|
|
}
|
|
],
|
|
"nodes": [
|
|
{
|
|
"id": "R1-C01-N01",
|
|
"node_type": "normal",
|
|
"wave_ids": [
|
|
"W-R1-C01-N01-01"
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N01"
|
|
},
|
|
{
|
|
"id": "R1-C01-N03",
|
|
"node_type": "elite",
|
|
"wave_ids": [
|
|
"W-R1-C01-N03-01",
|
|
"W-R1-C01-N03-02"
|
|
],
|
|
"reward_id": "REWARD-R1-C01-N03"
|
|
},
|
|
{
|
|
"id": "R1-C01-N10",
|
|
"node_type": "boss",
|
|
"wave_ids": [
|
|
"B-R1-01"
|
|
],
|
|
"reward_id": "DROP-R1-BOSS-01"
|
|
}
|
|
]
|
|
}
|