StarCitizenWiki / API

The star-citizen.wiki API. Automatically scrapes Comm-Links, Stats and In-Game Data.
https://api.star-citizen.wiki
MIT License
25 stars 6 forks source link

Various incorrect values for base_variant #114

Closed alistair3149 closed 3 months ago

alistair3149 commented 3 months ago
octfx commented 3 months ago

From the referenced commit:

An item is assumed to have variants if its classname contains 01, 02, 03, etc.

If this identifier is found, we assume that the very first id denotes a specific class, and all following ids denote variants.

Example: Scourge Railgun
Class Name: apar_special_ballistic_01 -> 01 marks class
Matched variant: apar_special_ballistic_01_02

Animus Missile Launcher
Class Name: apar_special_ballistic_02 -> 02 marks class
Matched variant: apar_special_ballistic_02_03_01

This now skips computing base ids for items without an 01, 02, etc. in its class name.
All mentioned items are fixed by this

octfx commented 3 months ago

All three fixed and deployed; Upstream cache will take a few hours