Author Topic: Is there a way to tell if a particular item is a quest item?  (Read 1044 times)

loudent

  • Full Member
  • ***
  • Posts: 141
    • View Profile
Is there a way to tell if a particular item is a quest item?
« on: April 21, 2015, 06:16:39 pm »
Is there a way to tell if the item is a "no-drop" quest item (like the barrich device)? In particular I'm interested in figuring out if it's the kind of item that stays in your inventory when your ship is destroyed.

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1041
    • View Profile
Re: Is there a way to tell if a particular item is a quest item?
« Reply #1 on: April 22, 2015, 12:06:00 am »
Hello!
You need to edit the item XML file and add "quest_item" to the "flags" element like we done for some quests items available in the game.
Regards!

loudent

  • Full Member
  • ***
  • Posts: 141
    • View Profile
Re: Is there a way to tell if a particular item is a quest item?
« Reply #2 on: April 22, 2015, 12:48:29 am »
Hello!
You need to edit the item XML file and add "quest_item" to the "flags" element like we done for some quests items available in the game.
Regards!

I see, and is there a way to check for this flag using the API or do I have to go and read the xml file?