Skip to content

Extra Features

J. Arena edited this page May 4, 2026 · 1 revision

Overview

A file named extra_features.json, which defines additional links between NPC features and NPC templates and classes. This can be used to add both new and existing features to NPC Classes/Templates, including across LCPs.

Because of this, it is extremely important to correctly define LCP Manifest dependencies

Definition

extra_features.json

Contains a single array of extra feature definitions

{
[
  {
    "class_id"?: string, // or
    "template_id"?: string,
    "base_features": string[],
    "optional_features": string[]
  },
  ...
]
}

Fields

class_id

A string, must match the target class ID exactly. All objects must contain a class_id or a template_id

template_id

A string, must match the target template ID exactly. All objects must contain a class_id or a template_id

base_features

An array of strings matching feature IDs. Discovered features will be added to the Base Features collection of the target NPC Class or NPC Template

optional_features

An array of strings matching feature IDs. Discovered features will be added to the Optional Features collection of the target NPC Class or NPC Template

Example

[
  {
    "class_id": "npcc_assault",
    "base_features": ["npcf_cloaking_field_scout"],
    "optional_features": ["npcf_sight_scout"]
  },
  {
    "class_id": "npcc_support",
    "base_features": ["npcf_orbital_strike_scout"],
    "optional_features": ["npcf_spotter_scout"]
  },
  {
    "template_id": "npct_elite",
    "base_features": ["npcf_legendary_veteran", "npcf_nhp_co_pilot_veteran"],
    "optional_features": ["npcf_limitless_veteran"]
  }
]

Clone this wiki locally