mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
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]>
15 lines
498 B
Python
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)
|