Skip to content

Race

A Race is one of the in-game races — Argon, Paranid, Teladi, Split, Terran, Boron, Xenon, Khaak. Each race has its own workforce food chain, default NPC appearance, and home-space name. Race is a dbdata reference type.

Inheritance: dbdata → race.

PropertyTypeDescription
.idstringInternal id ("argon", "khaak", …)
.namestringDisplay name
.rawnamestringRaw text entry reference
.shortnamestringShort form
.spacenamestring”Argon Space” type display
.homespacenamestring”Home of the Argons” display
.descriptionstringDescription text
.heightfloatDefault character height for race NPCs
.facecutscenestringDefault face cutscene key
.workforce.resourceswareamountlistResources race workforce consumes
.agent.iconstringDefault icon for agents of this race
.agent.femaleiconstringFemale-agent icon override
<do_for_each name="$ware"
in="race.argon.workforce.resources.list">
<set_value name="$amount"
exact="race.argon.workforce.resources.{$ware}"/>
<write_to_logbook
text="$ware.name + ': ' + $amount"/>
</do_for_each>
<set_value name="$Race"
exact="$Faction.primaryrace"/>

See Faction → Properties for the primary race accessor.

Habitation modules are race-specific. Read .workforce.race on a habitation module to know which race it houses.

  • Faction race ≠ workforce race per se. A faction can have multiple workforce types (rare) but only one primary race. Use Faction.primaryrace for the main race.
  • Xenon and Khaak are races too. Even though they’re hostile alien factions. Their workforce mechanics don’t apply (they don’t use stations the same way).
  • .workforce.resources is a wareamountlist — degrades on storage. Iterate .list inline (same trap as Ware .resources).
  • Riptide (Scavenger faction) primary race is Argon, NOT a separate race. See Faction gotchas about Riptide vs Fallen Families.
  • Faction.primaryrace accessor.
  • Habitation module — race-specific workforce capacity.
  • NPC — race drives default appearance.
  • Ware — workforce-consumed wares.