Page 1 of 1

What does treatItemsAsQuests do?

Posted: Fri Sep 18, 2020 2:01 pm
by Ultroman
I can't seem to find any information about what this does, but it is set to true by default in the default template JSON. Does it make items "have to be" a quest? I need to define some unique quest items which will be used as "the quest item to retrieve" in more than one quest.

Re: What does treatItemsAsQuests do?

Posted: Fri Sep 18, 2020 2:49 pm
by Tony Li
Hi,

No, it just tells the Dialogue Editor that some elements in the database's Item[] list may be quests so it should show quest options in the editor. If it's false, the editor only shows item options instead of item/quest options.

The Dialogue System's data structure is based on the data structure of an external authoring system called Chat Mapper.

Chat Mapper doesn't have quests. To maintain full bidirectional compatibility with Chat Mapper, the Dialogue System repurposes the Item[] list to also support quest data.

Re: What does treatItemsAsQuests do?

Posted: Fri Sep 18, 2020 4:14 pm
by Ultroman
Ah, brilliant! Thank you :)
I only just bought this and have been reading the docs in preparation, but I can already commend you on your separation of concerns for things in DSfU and all the event-hooks you've put in. Really makes it easy to integrate, regardless of the existing data structure of the project (player controls, NPCs, items, etc.). I'll drop a review when I've had the full experience ;)

Re: What does treatItemsAsQuests do?

Posted: Fri Sep 18, 2020 4:40 pm
by Tony Li
Thanks! If you have any other questions, just let me know.