diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-08-15 10:56:59 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-09-01 12:09:02 -0400 |
commit | 96036014cdb83abf6033af4570bac7e5ef9b6689 (patch) | |
tree | d1674228668e6b536b5a802be67a277b2c7a89eb /npc/functions/quest-debug/003-ShipQuests_Peter.txt | |
parent | 2fa3eebd17a78b617f767df46988ddefefb9f71e (diff) | |
download | serverdata-96036014cdb83abf6033af4570bac7e5ef9b6689.tar.gz serverdata-96036014cdb83abf6033af4570bac7e5ef9b6689.tar.bz2 serverdata-96036014cdb83abf6033af4570bac7e5ef9b6689.tar.xz serverdata-96036014cdb83abf6033af4570bac7e5ef9b6689.zip |
add quest debug
Diffstat (limited to 'npc/functions/quest-debug/003-ShipQuests_Peter.txt')
-rw-r--r-- | npc/functions/quest-debug/003-ShipQuests_Peter.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/npc/functions/quest-debug/003-ShipQuests_Peter.txt b/npc/functions/quest-debug/003-ShipQuests_Peter.txt new file mode 100644 index 00000000..f5d87abb --- /dev/null +++ b/npc/functions/quest-debug/003-ShipQuests_Peter.txt @@ -0,0 +1,30 @@ +// Peter quest debug +// Authors: +// gumi + +function script QuestDebug3 { + do + { + clear; + setnpcdialogtitle l("Quest debug"); + mes "ShipQuests_Peter"; + mes "---"; + mes l("Quest state: @@", getq(ShipQuests_Peter)); + next; + + GenericQuestDebug ShipQuests_Peter, + l("Does not have the quest"), 0, + l("Peter needs help"), 6, + l("Peter asks to kill rattos"), 1, + l("Killed rattos"), 2, + l("Got no reward"), 3, + l("Peter asks to kill rattos again"), 4, + l("Peter gave reward"), 5; + + if (@menuret == 32766) + { + return; + } + + } while (1); +} |