prompt action problem
Posted: Sat Dec 18, 2021 7:51 pm
I'm writing a "quest" to let the player acquire activities. When asked if I want to acquire the activity, if I answer no, I can't get the owner to ask me the question again. I've checked the quest debug screen, and it seems the _question_ task is properly enabled when I click on the owner again, but the prompt action isn't executed. Help?
Code: Select all
Quest: JDAC
DisplayName: Acquisition
QRC:
RumorsDuringQuest: [1005]
<ce>_owner_ is broke at _place_ in __place_.
RumorsPostfailure: [1006]
<ce>rumor failure
RumorsPostsuccess: [1007]
<ce>rumor success
QuestorPostsuccess: [1008]
<ce>questor success
QuestorPostfailure: [1009]
<ce>questor failure
QuestLogEntry: [1010]
%qdt:
log
Message: 1020
<ce>I'm broke. Buy my activity for _price_.
Message: 1021
<ce>I see...
Message: 1022
<ce>Not enough money. Please come back with enough money.
Message: 1023
<ce>Thanks boss.
QBN:
Person _owner_ faction The_Merchants
Place _place_ local generalstore
Item _price_ gold
--startup:
place npc _owner_ at _place_
_question_ task:
clicked npc _owner_
prompt 1020 yes _accept_ no _refuse_
_accept_ task:
at least _price_ gold otherwise do _poor_
say 1023
end quest
_poor_ task:
say 1022
_refuse_ task:
say 1021
clear _question_ _refuse_