• Visit Rebornbuddy
  • How do you differentiate HQ from NQ in inventory?

    Discussion in 'Community Developer Forum' started by Farmith, Mar 24, 2019.

    1. Farmith

      Farmith Member

      Joined:
      Mar 23, 2019
      Messages:
      30
      Likes Received:
      0
      Trophy Points:
      6
      Been fiddling a bit with the rebornconsole, found how to iterate all inventory slots in all bags etc,

      Now to the conundrum, if i say have raw zircon and raw zircon HQ in my inventory, they both show the same data when iterating (i.e same icon ID, same item ID, same rarity, same name, same everything really as far as i could tell

      in profiles, one can use <If Condition="HqHasAtLeast(5716,10)"> to atleast check if you have enough of something or whatnot, but how do you do the same check in a plugin or the rebornconsole?
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      In ff14, the item data is the same regardless. The bagslot is what contains the hq,collectability etc. BagSlot.IsHighQuality returns true for hq slots.
       
    3. Farmith

      Farmith Member

      Joined:
      Mar 23, 2019
      Messages:
      30
      Likes Received:
      0
      Trophy Points:
      6
      Thanks! exactly what i needed, cheers!
       

    Share This Page