Industries CSV

From Starsector Wiki
Jump to navigation Jump to search

This page is regarding modding Starsector. For information on playing the game please see the Industry page.

.csv File Fields

Field Name Value Type Use
id Text Structure's identifying value
name Text Structure's name in Game UI
cost mult Numeric Cost to build structure 1
build time Numeric Days to build structure, days
income Numeric Credits generated by structure, monthly
upkeep Numeric Credits consumed by structure, monthly 2
downgrade Text ID of structure to downgrade to
upgrade Text ID of structure to upgrade to
tags Text Interaction tags, see below
data JSON JSON of data related to structure, see below
image Text Path to structure's in Game UI icon
plugin Text Path to structure's script in package
desc Text Text description of structure and use
order Numeric Display order in the colony screen

1) In game cost to build the structure is calculated: (cost mult) * 5000

2) In game upkeep cost is calculated (excluding skills/hazard modifiers): (upkeep) * 500 * (market size - 2)

Industry.csv tags values

The tags indicated in this table are ones used by the core game. Tags included in mods are not tracked in this table.

Tag Use
population --
farming --
mining --
techmining --
refining --
spaceport Enables imports and exports*
lightindustry --
heavyindustry --
fuelprod --
station Indicates structure is a station*
battlestation --
starfortress --
grounddefenses --
patrol Indicates structure generates patrol fleets*
military Indicates raids can potentially loot ship weapons & hullmods
command --
waystation --
cryosanctum --
cryorevival --
important AI flag*
unraidable Indicates structure may not be target of a raid*
tactical_bombarment Indicates structure is impacted by tactical bombardment actions*
uses_blueprints Indicates raids may loot ship, weapons, or hullmod blueprints

*Speculation

Industries.csv data values

JSON string that describes how the structure is represented on the campaign map. Core game usage of this field is to describe the icon of an Orbital Station's "fleet".

Key Value Type Use
radius Numeric Radius of structure's "fleet", in pixels
variant Text ID of variant of station in structure's "fleet".

Value corresponds to ID in the variants directory.

fleetName Text In Game UI name of structure's "fleet"

*Speculation

Icon cross.png
At least two versions out of date. Last verified for version 0.9. Please refer to Version History and update this page.


Return to: Modding