Skip to content

Banu shield generator is parsed incorrectly in Vehicle v3 API #141

@alistair3149

Description

@alistair3149

When searching for vehicles (e.g. Defender) that has a Banu shield generator (e.g. shld_banu_s02_placeholder_scitem) equipped, the hardpoint (e.g. hardpoint_shield_generator) does not have the equipped_item key.

Steps to reproduce

  1. Inspect the Vehicle v3 API response for the Defender: https://api.star-citizen.wiki/api/v3/vehicles/defender?include=ports
  2. Search for the key hardpoint_shield_generator
  3. Note that the class_name indicates shld_banu_s02_placeholder_scitem is the equipped item, but no equipped_item key is found

Actual result

  • equipped_item key does not exist
  • compatible_types key is empty

Expected result

  • equipped_item key is populated with info of shld_banu_s02_placeholder_scitem
  • compatible_types key indicates the correct compatible item type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions