There's a [QuestPopup(true)] but not [ItemPopup(true)]

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

There's a [QuestPopup(true)] but not [ItemPopup(true)]

Post by bluebuttongames »

Is there an easy way to do this so I can have a dropdown of items contained within the db in my custom scripts?
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: There's a [QuestPopup(true)] but not [ItemPopup(true)]

Post by Tony Li »

I'll add that to the upcoming version 1.7.7. I'll try to post a patch here today, too.
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: There's a [QuestPopup(true)] but not [ItemPopup(true)]

Post by bluebuttongames »

Thanks, Tony!
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: There's a [QuestPopup(true)] but not [ItemPopup(true)]

Post by bluebuttongames »

One for variables would also be amazing.
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: There's a [QuestPopup(true)] but not [ItemPopup(true)]

Post by Tony Li »

Another good idea! Will do.

Just wanted to add a reminder that, internally, these variables are still strings. If you change the item/variable name in your dialogue database, it may no longer match the value of the string. It's just something to keep in mind so they stay in sync. Quests are a bit nicer; you can set the Name field once, and then use and change the Display Name field as much as you want without getting things out of sync.
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: There's a [QuestPopup(true)] but not [ItemPopup(true)]

Post by bluebuttongames »

Yeah, it's something to be careful with to be sure. If you keep changing stuff without adequate logging you can be in a whole heap of trouble.
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: There's a [QuestPopup(true)] but not [ItemPopup(true)]

Post by Tony Li »

Speaking of logging, the Dialogue System logs a lot of information already. But if there are any other log messages that would be helpful to anyone, please let me know and I'll try to get them into version 1.7.7.
Post Reply