Skip to content

map: creature spawners category; world layers hidden by default - #12

Merged
valentinps merged 2 commits into
mainfrom
spawners
Jul 26, 2026
Merged

map: creature spawners category; world layers hidden by default#12
valentinps merged 2 commits into
mainfrom
spawners

Conversation

@valentinps

Copy link
Copy Markdown
Owner

A new Spawners sidebar category pins every creature spawn point with the game's own creature icons (~2,800 pins), and the world layers now default to hidden so a first load shows the factory, not the planet.

What's in here

  • Rust core: creatures.json + creatureSpawners.json embedded into gamedata; new static spawners payload step (18 steps now) emitting label/points/ids per creature class. Beetles excluded (no icon, nothing to hunt). Tauri/wasm pick it up through the shared build_all_json.
  • Frontend (filters.js): Spawners category with Hogs / Crab Hatchers / Stingers / Spitters subgroups + loose rows (Lizard Doggo, Flightless Birb, Space Giraffe-Tick-Penguin-Whale Thing); collectable-style icon pins with static tooltips.
  • Default visibility: Resource Nodes / Resource Wells / Collectables / Spawners / Dropped Items restore hidden unless a stored choice is scoped to them -- Check-all's "*" wildcard deliberately no longer reaches these categories (it kept re-burying the map).
  • Space Giraffe rename: extraction-time DISPLAY_NAME_OVERRIDES maps the in-game meme string to the community name; documented in SCHEMA.md.
  • Game data: build.sh pins the new game-data-v2 release (archive published + sha256 verified against the pinned hash); CONTRIBUTING now links the release instead of Google Drive.
  • v0.1.7 release notes updated with both user-facing features.

Verification

  • cargo test -p sav_core: 56 passed.
  • Playwright e2e against the built site: sidebar structure/counts, pin rendering + tooltip, and a restore matrix (fresh profile, stale "*": true profile, explicit group:Spawners opt-in) all pass with zero page errors.
  • Cloudflare note: game-data-v2 is already live, so the auto-build keeps working the moment this lands on main.

🤖 Generated with Claude Code

valentinps and others added 2 commits July 26, 2026 17:50
A new Spawners sidebar category pins every creature spawn marker (plus the
world-placed crab hatchers) with the game's own creature icons -- ~2,800
pins grouped into Hogs / Crab Hatchers / Stingers / Spitters families, with
Lizard Doggo, Flightless Birb and the Space Giraffe as loose rows. The data
is a new static "spawners" payload step in the rust core, emitted from the
embedded creatures.json/creatureSpawners.json tables (a save's own spawner
actors never record which creature they spawn). Beetles are dropped: no
icon, nothing worth pinning.

The Space Giraffe's display name is overridden at extraction to the
community name "Space Giraffe-Tick-Penguin-Whale Thing" -- its literal
in-game string ("Unknown File Error #6265616e") reads as the app failing.

The world layers (Resource Nodes, Resource Wells, Collectables, Spawners,
Dropped Items) now restore as hidden unless explicitly enabled -- an
explicit toggle scoped to the category persists, but Check-all's blanket
"*" entry no longer reaches them, so a first load shows the factory
instead of thousands of pins.

build.sh now pins the game-data-v2 release archive (adds the creature
tables + icons); CONTRIBUTING's game-data download points at the release
instead of the old Google Drive link.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
sav_core embeds creatures.json/creatureSpawners.json since the spawners
payload step, and those only exist in the game-data-v2 archive -- v1 left
both jobs failing at compile time on the include_str! paths. Cache key
bumped with the URL so stale v1 caches don't mask the new files.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
satisfactorymap ef95672 Jul 26 2026, 03:56 PM

@valentinps
valentinps merged commit 31d88c8 into main Jul 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant