Pilot Gear - massif-press/lancer-data GitHub Wiki

Overview

Adds additional gear items for Pilots. Pilot Gear/Equipment is collected in one file (pilot_gear.json) and is differentiated by a type field. Pilot Gear includes:

Pilot Weapons

Definition

pilot_gear.json

IPilotGearData: {
  "id": string,
  "name": string,
  "type": "Weapon",
  "description"?: string,
  "effect"?: string,
  "range"?: IRangeData[],
  "damage"?: IDamageData[],
  "tags"?: ITagData[],
  "actions"?: IActionData[],
  "bonuses"?: IBonusData[],
  "synergies"?: ISynergyData[],
  "deployables"?: IDeployableData[],
  "counters"?: ICounterData[]
  "active_effects"?: IActiveEffects[],
},

Required Fields

id

Internal identifier. This must be globally unique. See Item ID Guidelines for more information.

name

The display name of the item.

type

This must be the string Weapon, case-sensitive.

Optional Fields

description

Flavor text for Compendium and expanded item cards. HTML syntax is allowed.

effect

A rules string (HTML allowed).

range

See Range

damage

See Damage

tags

See Tags

actions

See ItemActionData

bonuses

See ItemBonusData

synergies

See ItemSynergyData

deployables

See ItemDeployableData

counters

See ItemCounterData

active_effects

See Effect Objects. These effects will be applied to the pilot, not the mech.

Example

from lancer-data/lib/pilot_gear.json

  {
    "id": "pg_archaic_melee",
    "name": "Archaic Melee",
    "type": "Weapon",
    "description": "These weapons were made using pre-Union alloys and technology, and might be anything from industrial-era steel swords through to stone axes. While they remain widely used on some worlds, archaic weapons used by pilots are usually relics, heirlooms, or ceremonial weapons.",
    "tags": [
      {
        "id": "tg_archaic"
      },
      {
        "id": "tg_pilot_weapon"
      }
    ],
    "range": [
      {
        "type": "Threat",
        "val": 1
      }
    ],
    "damage": [
      {
        "type": "kinetic",
        "val": 1
      }
    ]
  },

Pilot Armor

Definition

pilot_gear.json

[
  {
    "id": string,
    "name": string,
    "type": "Armor",
    "description"?: string,
    "tags"?: ITagData[],
    "actions"?: IActionData[],
    "bonuses"?: IBonusData[],
    "synergies"?: ISynergyData[],
    "deployables"?: IDeployableData[],
    "counters"?: ICounterData[]
  },
  ...
]

Required Fields

id

Internal identifier. This must be globally unique. See Item ID Guidelines for more information.

name

The display name of the item.

type

This must be the string Armor, case-sensitive.

Optional Fields

description

Flavor text for Compendium and expanded item cards. HTML syntax is allowed.

tags

See Tags

actions

See ItemActionData

bonuses

See ItemBonusData

synergies

See ItemSynergyData

deployables

See ItemDeployableData

counters

See ItemCounterData

Example

from lancer-data/lib/pilot_gear.json

  {
    "id": "pg_light_hardsuit",
    "name": "Light Hardsuit",
    "type": "Armor",
    "description": "Light hardsuits are usually made from reactive, cloth-like weaves, with limited plating and few powered components to maximize mobility. Like other hardsuits, they can be sealed against vacuum, and protect against a decent amount of radiation and other harmful particles.",
    "bonuses": [
      {
        "id": "pilot_hp",
        "val": 3
      },
      {
        "id": "pilot_evasion",
        "val": 10,
        "replace": true
      },
      {
        "id": "pilot_edef",
        "val": 10,
        "replace": true
      },
      {
        "id": "pilot_speed",
        "val": 4,
        "replace": true
      }
    ],
    "tags": [
      {
        "id": "tg_personal_armor"
      }
    ]
  },

Pilot Equipment

Definition

pilot_gear.json

[
  {
    "id": string,
    "name": string,
    "type": "Gear",
    "description"?: string,
    "tags"?: ITagData[],
    "actions"?: IActionData[],
    "bonuses"?: IBonusData[],
    "synergies"?: ISynergyData[],
    "deployables"?: IDeployableData[],
    "counters"?: ICounterData[]
  },
  ...
]

Required Fields

id

Internal identifier. This must be globally unique. See Item ID Guidelines for more information.

name

The display name of the item.

type

This must be the string Gear, case-sensitive.

Optional Fields

description

Flavor text for Compendium and expanded item cards. HTML syntax is allowed.

tags

See Tags

actions

See ItemActionData

bonuses

See ItemBonusData

synergies

See ItemSynergyData

deployables

See ItemDeployableData

counters

See ItemCounterData

Example

from lancer-data/lib/pilot_gear.json

  {
    "id": "pg_thermite_charge",
    "name": "Thermite Charge",
    "type": "Gear",
    "effect": "Expend a charge for the following effect:<ul><li><b>Thermite Charge</b> (Mine, Burst 1): This charge must be remotely detonated as a quick action. Affected characters must succeed on an Engineering save or take 3 Energy AP. Thermal charges automatically hit objects, dealing 10 Energy AP.</li></ul>",
    "deployables": [
      {
        "name": "Thermite Charge",
        "type": "Mine",
        "detail": "This charge must be remotely detonated as a quick action. Affected characters must succeed on an Engineering save or take 3 Energy AP. Thermal charges automatically hit objects, dealing 10 Energy AP.",
        "pilot": true,
        "actions": [
          {
            "name": "Detonate",
            "activation": "Quick",
            "detail": "Affected characters must succeed on an Engineering save or take 3 Energy AP. Thermal charges automatically hit objects, dealing 10 Energy AP.",
            "pilot": true
          }
        ]
      }
    ],
    "tags": [
      {
        "id": "tg_limited",
        "val": 1
      },
      {
        "id": "tg_gear"
      }
    ]
  },
⚠️ **GitHub.com Fallback** ⚠️