API Reference
The API reference is organized by abstractions โ the things a modder needs to interact with when writing a mod.
When you have a question like:
- โHow do I change ownership of a ship?โ โ look up Ship
- โHow do I list stations in a sector?โ โ look up Sector
- โHow do I react when a station is destroyed?โ โ look up Station (Events section)
Youโll find: description, properties, actions, libraries, events, examples, gotchas, related abstractions.
Categories
Section titled โCategoriesโThe spatial hierarchy where everything exists โ Universe โ Cluster โ Sector โ Zone, plus Highway and Gate.
Things that exist in the world โ Station (and its 8 subtypes), Ship, Module, Resource region.
Who owns and controls things โ Faction (parent), Player, NPC factions, Crew.
Ware, Trade offer, Subscription, Inventory, Cargo.
What objects do โ Order, Mission, Conversation, Boarding operation.
How a modโs code talks to the game โ Cue, Library, Action, Condition (event), Expression.
How NPC behavior is defined โ Order definition, Interrupt, Attention.
Assets and XML schemas โ Macro, Component, god.xml, stationgroups.xml.
Player-facing UI โ Helper API, Globals, third-party APIs (SN Mod Support APIs).
Prototype status
Section titled โPrototype statusโCurrently filled: the Station page is the only fully-populated entry. Other pages are placeholders to demonstrate the navigation structure.