Venture platform
A Venture platform is a station Module that hosts venture docks — special docks the player uses to send ships to other universes (other players’ games via the Ventures system from the DLC). Each platform tracks its docks and the ships currently away.
Inheritance: component → destructible → module → ventureplatform. The datatype adds two list accessors.
Ventures DLC content. All venture-platform mechanics depend on Ventures being installed and active. The platform macros (macro.dockarea_gen_m_venturer_01_macro, macro.module_gen_ventureplatform_cross_01_macro, etc.) come from the DLC.
Properties
Section titled “Properties”Venture-platform-specific
Section titled “Venture-platform-specific”| Property | Type | Description |
|---|---|---|
.venturedocks | list | All venture docks associated with this platform |
.ventureships | list | All ships currently away on ventures from this platform |
Inherited
Section titled “Inherited”| Property | Source | Description |
|---|---|---|
.numdocks.{docksize} | module | Generic per-size dock counts |
.haswalkableroom | module | Walkable interior (true — players walk to the venture terminal) |
.hull | destructible | Damage state |
Related properties on other types
Section titled “Related properties on other types”module.isventuremodule— see Connection module. This flag marks non-platform venture content (connectors, dock areas).cluster.isventurer—.isventurer=trueis set on the special “ventures cluster” where venture ships disappear to (scriptproperties.xml:1281).- Ship
find_*filters — vanillanotifications.xml:516, 559usesventurercluster="true"flag onfind_ship_by_true_ownerto include venturer-cluster ships in lookups.
Common patterns
Section titled “Common patterns””Find all venture dock areas in player station”
Section titled “”Find all venture dock areas in player station””Vanilla doesn’t usually go through .ventureplatform directly — it finds the dock-area macro on the station:
<find_object_component groupname="$VentureDocks" object="$PlayerStation" macro="[macro.dockarea_gen_m_venturer_01_macro]" checkoperational="false" multiple="true"/>Pattern from story_ventures.xml:203, rml_escort_ambiguous.xml:77.
”Count venture modules on a build anchor”
Section titled “”Count venture modules on a build anchor””<count_object_components groupname="$VentureModules" object="event.param.buildanchor" macro="macro.dockarea_gen_m_venturer_01_macro" min="1"/>Pattern from rml_escort_ambiguous.xml:195. Used to gate venture-specific quest content.
”Detect player station with venture platform”
Section titled “”Detect player station with venture platform””<do_for_each name="$mod" in="$Station.modules"> <do_if value="$mod.isclass.ventureplatform"> <write_to_logbook text="$Station.knownname + ' has a venture platform with ' + $mod.venturedocks.count + ' docks and ' + $mod.ventureships.count + ' ships out'"/> </do_if></do_for_each>Blueprint grants (vanilla pattern)
Section titled “Blueprint grants (vanilla pattern)”Vanilla setup.xml:1122 grants venture-related blueprints in one batch:
<add_blueprints wares="[ ware.module_gen_conn_venturerbase_01, ware.module_gen_conn_venturerbase_02, ware.module_gen_conn_venturerbase_03, ware.module_gen_conn_venturercross_01, ware.module_gen_conn_venturervertical_01, ware.module_gen_conn_venturervertical_02, ware.module_gen_dock_m_venturer_01, ware.module_gen_ventureplatform_cross_01]"/>Modders extending venture content should follow this idiom — grant the related-blueprint set together rather than scattered.
Common gotchas
Section titled “Common gotchas”- ⚠ DLC-gated content. All venture macros require Ventures DLC. Wrap references with availability checks if your mod targets Base + Ventures users.
- ⚠
.venturedockslists DOCKS, not ships. Use.ventureshipsfor the ships currently away. Easy to confuse. - ⚠ Vanilla rarely accesses
.ventureplatformdirectly. Most venture queries go throughfind_object_component macro=against specific macros. The platform datatype is mostly for mod use. - ⚠
module.isventuremoduleis on Connection module / Dock area, NOT on the platform itself. The flag covers the companion modules (connectors, dock areas) of a venture installation, distinguishing them from normal station counterparts. Filter accordingly. - ⚠ Venturer cluster is special.
cluster.isventurer=truemarks the away-cluster where venture ships exist.find_ship_by_true_ownerneedsventurercluster="true"to include them. - ⚠ Venture ships do not respond to normal commands while away. Treat them as “in transit” with no script-level control. Wait for return events.
Architectural context
Section titled “Architectural context”- Ventures DLC system: Architectural overview Ventures system — away-cluster, time-based return, reward distribution.
- Player station expansion with venture content: Architectural overview Plot expansion UX — how players add venture platforms via the construction menu.
Related
Section titled “Related”- Module — parent abstraction.
- Connection module —
.isventuremoduleflag. - Cluster —
.isventurermarks the away-cluster. - Station — host.
- Ship — what gets sent on ventures.
- Ware — venture-platform blueprint wares.