Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes a possible state for an asset, like the "Broken" status for certain assets (mainly Modules in Starforged).

States are frequently toggled on and off by players; for real-world gameplay, this is generally represented by flipping the card over. A checkbox or other on/off toggle might serve the same function in a digital implementation.

Hierarchy

Index

Properties

Disables asset: boolean

Whether this state should disable the entire asset when IAssetState.Enabled === true

Enabled: boolean

Whether this state is currently enabled.

Impact: boolean

Whether this state counts as an Impact for the asset's owner.

Note that for vehicles, this shouldn't be applied automatically unless your implementation has some way of telling which vehicle the PC is currently using.

Name: string

A string label name or label for the state.

example

"Broken"

Permanent: boolean

Whether or not this state is permanent.

Generated using TypeDoc