Classic quests in DFU

For all talk about quest development - creation, testing, and quest system.
Post Reply
User avatar
Interkarma
Posts: 7234
Joined: Sun Mar 22, 2015 1:51 am

Re: Classic quests in DFU

Post by Interkarma »

Looking at quest script, early completion was granted because you satisfied S.02 first (click questor with true letter) then dropped letter later to satisfy S.03.

One way to hack in a fix for this is to start a "pc at _inn_ set _clearclick_" action in the startup task. Then decouple the questor click to its own variable you can set/clear like in CUSTOM01.

This way as soon as player enters the target inn a second time, the _clearclick_ task will trigger and clear the questor click var before player can drop letter. Then they must return to questor as normal and click them again.

Probably other ways to do this, but that was the first thing that came to mind.

User avatar
Jay_H
Posts: 4059
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quests in DFU

Post by Jay_H »

Clever. Yes, that's doable. Thanks Interkarma.

User avatar
Jay_H
Posts: 4059
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quests in DFU

Post by Jay_H »

I suppose it would be good to share my progress fixing quests. I'm posting it here since I don't know whether Hazelnut wants to keep being my liaison to getting them implemented (hasn't said anything for or against it, and I hate assuming).

Download link

User avatar
Hazelnut
Posts: 3014
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Classic quests in DFU

Post by Hazelnut »

Yeah, I'll try and take a look when I get some time. Thanks Jay.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Post Reply