Page 1 of 1

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

Posted: Thu Dec 07, 2017 6:42 am
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?

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

Posted: Thu Dec 07, 2017 8:42 am
by Tony Li
I'll add that to the upcoming version 1.7.7. I'll try to post a patch here today, too.

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

Posted: Thu Dec 07, 2017 10:46 am
by bluebuttongames
Thanks, Tony!

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

Posted: Thu Dec 07, 2017 12:21 pm
by bluebuttongames
One for variables would also be amazing.

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

Posted: Thu Dec 07, 2017 1:18 pm
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.

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

Posted: Fri Dec 08, 2017 7:21 am
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.

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

Posted: Fri Dec 08, 2017 7:42 am
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.