What does treatItemsAsQuests do?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Ultroman
Posts: 39
Joined: Thu Sep 17, 2020 7:47 am

What does treatItemsAsQuests do?

Post 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.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: What does treatItemsAsQuests do?

Post 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.
Ultroman
Posts: 39
Joined: Thu Sep 17, 2020 7:47 am

Re: What does treatItemsAsQuests do?

Post 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 ;)
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: What does treatItemsAsQuests do?

Post by Tony Li »

Thanks! If you have any other questions, just let me know.
Post Reply