References Links for Data Parser Schema
Contacts and Services[edit | edit source]
ContactBackstory[edit | edit source]
A ContactBackstory record defines the template for generating a new NPC contact. It sets the contact's type, influence, power level, favor, trust, faction affiliation, and traits. BlockCondition entries with Type: AddCharacter reference a ContactBackstory by its group ID.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
ContactBackstoryId |
INTEGER | Auto |
Auto-assigned ID for this ContactBackstory record. |
Group |
INTEGER | required |
The group ID used by |
NewGame |
INTEGER | 0 |
TODO: Describe |
ContactType |
INTEGER | required |
The contact type, controlling what services and behaviors this contact has. |
Status |
INTEGER | required |
The contact's initial active status. Set to |
InfluenceScore |
INTEGER | required |
The contact's influence score, affecting their available services. |
PowerLevel |
INTEGER | required |
The contact's power level, affecting mission and service availability. |
Favor |
INTEGER | 0 |
Starting favor the player has with this contact. |
Trust |
INTEGER | 0 |
Starting trust score with this contact. |
Cosmetic |
INTEGER | required |
TODO: Describe |
ServiceGroupId1 |
INTEGER | 0 |
TODO: Describe |
ServiceLevel1 |
INTEGER | 0 |
TODO: Describe |
ServiceGroupId2 |
INTEGER | 0 |
TODO: Describe |
ServiceLevel2 |
INTEGER | 0 |
TODO: Describe |
ServiceGroupId3 |
INTEGER | 0 |
TODO: Describe |
ServiceLevel3 |
INTEGER | 0 |
TODO: Describe |
Weight |
INTEGER | "1" |
Selection weight when multiple contact backstories exist in the same group. |
Trait1A |
TEXT | "" |
First trait option in trait slot 1. |
Trait1B |
TEXT | "" |
Second trait option in trait slot 1. |
Trait1C |
TEXT | "" |
TODO: Describe |
Trait1D |
TEXT | "" |
TODO: Describe |
Trait1E |
TEXT | "" |
TODO: Describe |
Trait1F |
TEXT | "" |
TODO: Describe |
Trait2A |
TEXT | "" |
First trait option in trait slot 2. |
Trait2B |
TEXT | "" |
TODO: Describe |
Trait2C |
TEXT | "" |
TODO: Describe |
Trait2D |
TEXT | "" |
TODO: Describe |
Trait2E |
TEXT | "" |
TODO: Describe |
Trait2F |
TEXT | "" |
TODO: Describe |
ContactLink |
TEXT | "" |
The story ID assigned to the contact for dialog interpolation. |
FactionTag |
TEXT | "" |
The faction tag applied to this contact. |
BlockGroup |
TEXT | "" |
A BlockCondition group applied when this contact is created. |
Tag1 |
TEXT | "" |
First tag applied to the generated contact. |
Tag2 |
TEXT | "" |
Second tag applied to the generated contact. |
Tag3 |
TEXT | "" |
TODO: Describe |
TagID |
TEXT | "" |
A PersonalID tag applied to identify this specific contact in story events. |
TagRandom1 |
TEXT | "" |
TODO: Describe |
TagRandom2 |
TEXT | "" |
TODO: Describe |
CodeName |
TEXT | "" |
The contact's code name written to the localization JSON. |
Location |
TEXT | "" |
The contact's location text written to the localization JSON. |
GivenName |
TEXT | "" |
The contact's given name written to the localization JSON. |
Surname |
TEXT | "" |
The contact's surname written to the localization JSON. |
ContactPowerLevel[edit | edit source]
ContactPowerLevel defines the power tiers used to classify contacts. Each tier has an action class, a numeric power level, a fractional modifier, and a display title stored directly in SQL.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
ContactPowerLevelId |
INTEGER | required |
Hand-authored primary key for this power level tier. |
Class |
INTEGER | 0 |
The action class associated with this power level. |
Level |
INTEGER | 0 |
The numeric power level value. |
Fraction |
REAL | 0 |
A fractional modifier (0.0–1.0) used in power level calculations. |
Title |
TEXT | "" |
Display title for this power level tier, stored in SQL. |
ContactService[edit | edit source]
A ContactService defines a single service or item available through a contact. Services can be purchased with credits, favor, or items. They can be gated by tags, game states, power play conditions, and faction relationships.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
ServiceTypeId |
INTEGER | required |
Hand-authored primary key for this service. |
Class |
INTEGER | 0 |
The service classification controlling its category and behavior. |
Influence |
INTEGER | 0 |
Influence score gained when this service is purchased. |
Flow |
INTEGER | 0 |
The flow type controlling how this service is presented. |
Group |
INTEGER | 0 |
The service group this service belongs to. |
Level |
INTEGER | 0 |
The service level at which this service is available. |
Display |
INTEGER | 0 |
The display level controlling UI presentation. |
Option |
INTEGER | 0 |
A service option parameter. |
Upgrade |
INTEGER | 0 |
If set, this service upgrades an existing item or capability. |
TraitGroup |
INTEGER | 0 |
A ContactTrait group associated with this service. |
Cooldown |
INTEGER | 0 |
Turns before this service can be purchased again. |
OneTime |
INTEGER | 0 |
If set, this service can only be purchased once. |
MinRep |
INTEGER | 0 |
Minimum reputation required to access this service. |
Cost |
INTEGER | 0 |
Credit cost for this service. |
CostMod |
INTEGER | 0 |
A modifier applied to the base credit cost. |
TimeMod |
INTEGER | 0 |
A modifier applied to the delivery time. |
Against |
INTEGER | 0 |
A faction this service works against, affecting faction relationships. |
TagMatch |
TEXT | "" |
Tag filter for eligibility. |
PowerPlay |
TEXT | "" |
A power play tag condition required to access this service. |
GroupTag |
TEXT | "" |
A group tag condition required. |
TagReq1 |
TEXT | "" |
First tag requirement. |
TagReq2 |
TEXT | "" |
Second tag requirement. |
TagReq3 |
TEXT | "" |
Third tag requirement. |
TagReq4 |
TEXT | "" |
Fourth tag requirement. |
Block |
TEXT | "" |
A Block GroupId fired when this service is purchased. |
GameState |
TEXT | "" |
A game state ID checked or set when this service is used. |
Name |
TEXT | "" |
The service's display name. |
Desc |
TEXT | "" |
The service's description. |
ContactTrait[edit | edit source]
A ContactTrait is a persistent characteristic of a contact that modifies their behavior, available services, and relationship dynamics. Traits have levels and can be part of upgrade chains. They may require certain tags to be present on the contact.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
ContactTraitId |
INTEGER | required |
Hand-authored primary key for this contact trait. |
Class |
INTEGER | 0 |
The trait classification controlling its category. |
Level |
INTEGER | 0 |
The upgrade level of this trait. |
Group |
INTEGER | 0 |
The trait group for organizational purposes. |
TraitGroup |
INTEGER | 0 |
The ContactTrait group ID used when assigning proc-gen traits. |
Influence |
INTEGER | 0 |
Influence score modification applied by this trait. |
Effect |
INTEGER | 0 |
An effect type applied by this trait. |
Score |
INTEGER | 0 |
Numeric score used in proc-gen weighting. |
TagMatch |
TEXT | "" |
Tag filter controlling which contacts can have this trait. |
Name |
TEXT | "" |
The trait's display name. |
Desc |
TEXT | "" |
The trait's description. |
ContactType[edit | edit source]
A ContactType defines the role and capabilities of a contact archetype. It controls the contact's class, influence level, version, and the service groups available at each service level. A contact's type determines what they can offer the player.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
ContactTypeId |
INTEGER | required |
Hand-authored primary key for this contact type. |
Class |
INTEGER | 0 |
The contact's class, controlling their general role and behavior. |
Level |
INTEGER | 0 |
The base influence level of contacts of this type. |
Version |
INTEGER | 0 |
The version of this contact type for upgrade tracking. |
Expand1 |
INTEGER | 0 |
First expansion group unlocked as this contact's relationship grows. |
Expand2 |
INTEGER | 0 |
Second expansion group. |
Expand3 |
INTEGER | 0 |
Third expansion group. |
OneTime |
INTEGER | 0 |
A service group offered only once. |
Heat |
INTEGER | 0 |
Maximum heat this contact can accumulate before going dark. |
Svc1 |
INTEGER | 0 |
Service group available at service level 1. |
Lvl1 |
INTEGER | 0 |
The service level threshold to unlock Svc1. |
Svc2 |
INTEGER | 0 |
Service group available at service level 2. |
Lvl2 |
INTEGER | 0 |
The service level threshold to unlock Svc2. |
Svc3 |
INTEGER | 0 |
Service group at level 3. |
Lvl3 |
INTEGER | 0 |
Level threshold for Svc3. |
Svc4 |
INTEGER | 0 |
Service group at level 4. |
Lvl4 |
INTEGER | 0 |
Level threshold for Svc4. |
Svc5 |
INTEGER | 0 |
Service group at level 5. |
Lvl5 |
INTEGER | 0 |
Level threshold for Svc5. |
Svc6 |
INTEGER | 0 |
Service group at level 6. |
Lvl6 |
INTEGER | 0 |
Level threshold for Svc6. |
Svc7 |
INTEGER | 0 |
Service group at level 7. |
Lvl7 |
INTEGER | 0 |
Level threshold for Svc7. |
TagMatch |
TEXT | "" |
Tag filter used when matching contacts of this type. |
Name |
TEXT | "" |
The contact type's display name. |
Abbrev |
TEXT | "" |
A short abbreviation shown in compact UI contexts. |
Desc |
TEXT | "" |
Description of this contact type's role. |
Modding: Home · Quick Start Guide · Modkit Uploader · Example Project · Data Modding · Data Parser Schema · Use Cases · Download Modding Resources