Files
horizon/tools/test_mob_pickup_save_parity.py
TheMrZZandCodex gpt-6.1-sol c843c1aa05 Save the modeled mob loot-pickup flag
Write CanPickUpLoot on every save through the existing virtual getter, preserving the Allay and sulfur-cube overrides instead of retaining stale raw bytes. Cover decoded and mutated models plus frozen actual command reads.

Co-Authored-By: Codex gpt-6.1-sol <[email protected]>
2026-11-06 04:30:58 +01:00

15 lines
498 B
Python

#!/usr/bin/env python3
"""Actual command saves of modeled loot-pickup flags, including species overrides."""
from pathlib import Path
import subprocess
import sys
if __name__ == '__main__':
root = Path(__file__).resolve().parents[1]
raise SystemExit(subprocess.run([
sys.executable, str(root / 'tools/test_command_exec_parity.py'),
'--mob-pickup-save-fixture', '--work-dir', str(root / '.local/mob-pickup-save-parity'),
*sys.argv[1:],
], cwd=root).returncode)