Quest Status


Author: danton1983
Created: 2013-11-29T17:34:20-0500
Edited: 2013-11-29T17:34:20-0500
Denizen Version: 0.93
Views: 5
Downloads: 781
Likes: 0


WGET
Description: Assign this to your quest helper NPC.

When players start a quest add this flag current_quest:->:QuestName
When they complete the quest simply add current_quest:<-:QuestName
Where QuestNames is the name of the quest the player accepted or is on!

If there any bugs please let me know!

#When players begins a quest add this flag current_quest:->:QuestName 
#When they complete the quest simply add current_quest:<-:QuestName
#Where QuestNames is the name of the quest the player accepted or is on!

'Quest Status':
    type: interact
 
    steps:
        '1':
            click trigger:
                script:
                - chat "Hello <&c><player.name><&e> I see you're currently working on the following Quests<&co> <flag.p:current_quests.ascslist || <&b>No Quest currently><&e>."
                - wait 3
                - chat "Tell me the name of the mission you're currently on for more information about that mission."
            chat trigger:
                '1':
                    trigger: /REGEX:.+/!
                    script:
                    - if "<player.script[<player.chat_history>].finished>" == false chat "You haven't finished <player.chat_history>! <cons:<player.chat_history> Information>"
                      else if "<player.script[<player.chat_history>].finished>" == true chat "You've already completed <player.chat_history>."
                      else chat "There is no such Quest."




Comments
No one has posted a comment! Post one below: