chore(tooling): add star-map wireframe + wipe-bodies script

docs/wireframes/star-map.f0 — Frame0 wireframe for the galaxy
navigator (created during wireframing session).
tooling/wipe-bodies.sh — utility to clear bodies/stations tables
in systems.db (preserves star_systems).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 14:47:26 +01:00
co-authored by Claude Opus 4.6
parent ebe8651052
commit feb333f3e7
2 changed files with 13 additions and 0 deletions
File diff suppressed because one or more lines are too long
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Wipe all bodies and stations from systems.db (not star_systems!)
set -euo pipefail
DB="$(cd "$(dirname "$0")/.." && pwd)/server/data/systems.db"
echo "Deleting all stations..."
sqlite3 "$DB" "DELETE FROM stations;"
echo "Deleting all bodies..."
sqlite3 "$DB" "DELETE FROM bodies;"
echo "Done."
sqlite3 "$DB" "SELECT 'bodies: ' || COUNT(*) FROM bodies; SELECT 'stations: ' || COUNT(*) FROM stations;"