AtomicTorch Studio Forums

VoidExpanse => Modding info => Topic started by: loudent on April 21, 2015, 06:16:39 PM

Title: Is there a way to tell if a particular item is a quest item?
Post by: loudent 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.
Title: Re: Is there a way to tell if a particular item is a quest item?
Post by: ai_enabled 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!
Title: Re: Is there a way to tell if a particular item is a quest item?
Post by: loudent on April 22, 2015, 12:48:29 AM
Quote from: ai_enabled 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!

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?