massif-press / cc-lcp-editor

A tool for producing Lancer Content Packages for use with COMP/CON
9 stars 9 forks source link

Auxiliary sized weapons incorrectly being typed as Aux under Mount/Size #9

Closed sealtrowitz closed 3 years ago

sealtrowitz commented 3 years ago

Describe the bug Auxiliary sized weapons are incorrectly listed as Aux, both in the size dropdown in the editor and in the "mount" section of the json/LCP upon exporting. This causes them to not show up in COMP/CON in several places once the LCP is imported.

To Reproduce Steps to reproduce the behavior:

  1. Create a new weapon
  2. Enter anything for ID and name
  3. Set Size to Aux
  4. Export weapons JSON
  5. Open in editor of choice
  6. See error

Expected behavior Auxiliary sized weapons should have their Mount size listed as Auxiliary in the export so that COMP/CON can read them properly.

Screenshots In the editor: image

In the JSON: image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Loading an LCP with correctly sized Auxiliary weapons will have a blank Size dropdown when the weapon is opened in the editor.