API icon indicating copy to clipboard operation
API copied to clipboard

Quikflare(pro)'s appearing in weapons endpoint

Open kingultron99 opened this issue 1 year ago • 1 comments

All the different models of quickflare are being returned in the list of weapons from the /weapons endpoint. firefox_0LlCPv2Srz

kingultron99 avatar Mar 05 '24 06:03 kingultron99

That is somewhat "correct".
The /weapons endpoint filters items on type=WeaponPersonal, which all QuikFlares are placed into.

That's why the Multi-Tool and ParaMed can also be found there.

I can alternatively add further filters on the sub_type:

  • Knife
  • Large (Scourge Railgun etc.)
  • Medium (FS-9 LMG etc.)
  • Small (Pistols)
  • Grenade (MK-4 and some QuikFlares)
  • Gadget (Multi-Tool and some QuikFlares)

Or if only the QuikFlares should be filtered out, I could do that using their class name

octfx avatar Mar 09 '24 08:03 octfx

Feel free to re-open for further discussion :)

octfx avatar May 04 '24 16:05 octfx