Skip to content

Repository files navigation

Stellaris race builder

A fan-made empire planner for the current live version of Stellaris and its expansions: species traits, ethics, authorities, civics and origins with live point validation and shareable build links.

Features

  • Identity: empire name, species name, homeworld and species class (biological, lithoid, machine — mandatory class traits applied automatically).
  • Traits: full trait pool per species class with opposites, DLC labels and the 2 points / 5 picks budget.
  • Ethics: all axes plus gestalt consciousness, 3-point budget, opposing and fanatic ethics resolved automatically.
  • Government: authorities and the matching civic list. Megacorporations see only corporate civics (Mastercraft Inc., Franchising, Trading Posts, …), hive minds and machine intelligences see their own gestalt civics.
  • Origins: every origin from the current DLC line-up, filtered by gestalt compatibility.
  • Validation: trait points and picks, ethic points and civic slots are checked live in the summary panel.

Shareable build URLs

The builder writes the current selection into the address bar, so copying the URL is enough to save or share a build. Opening such a URL repopulates every selection.

/?empire=United+Nations+of+Earth&species=Human&home=Earth&class=biological
 &gov=democratic&origin=prosperous-unification
 &ethic=fanatic-xenophile&ethic=egalitarian
 &civic=beacon-of-liberty&civic=idealistic-foundation
 &trait=intelligent&trait=charismatic&trait=slow-learners

Parameters: empire, species, home, class, gov, origin, and repeatable ethic, civic, trait. Ids use hyphens; unknown values are ignored.

Project layout

  • src/data/ — game data: traits.ts, ethics.ts, government.ts (authorities, civics, origins) and shared types.ts.
  • src/store/race-builder.ts — Zustand store with the selection rules (opposites, gestalt handling, civic availability, point helpers).
  • src/lib/build-url.ts — build ⇄ query-string serialisation.
  • src/hooks/use-build-url.ts — keeps the URL and the store in sync.
  • src/components/builder/ — identity, traits, ethics, government, origin and summary panels.

Stellaris and all related assets belong to Paradox Interactive.

Built with Lovable

Open your project in the Lovable editor and keep building.

  • Ship faster: describe what you want to build and Lovable handles the code.
  • Stay in sync: connect the project to GitHub and every change made in Lovable is committed straight to your repository.
  • Full ownership: this code is yours. Push to your repository and your changes sync back into Lovable, ready for your next prompt.

Development

Prefer working locally? You need Node.js and npm — install with nvm.

git clone <this-repository-url>
cd <repository-name>
npm i
npm run dev

Built with

  • TanStack Start
  • TypeScript
  • React
  • Tailwind CSS

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages