From 61e80d9ef9641a24f90838e8ea9cc2911a0e6c85 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 5 Mar 2019 23:44:58 +0000 Subject: ... That's why you shouldn't code with an empty stomach and without taking an Afternoon nap %%O --- npc/functions/quest-debug/003-ShipQuests_Peter.txt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'npc/functions/quest-debug') diff --git a/npc/functions/quest-debug/003-ShipQuests_Peter.txt b/npc/functions/quest-debug/003-ShipQuests_Peter.txt index e08e1eb2..4732d238 100644 --- a/npc/functions/quest-debug/003-ShipQuests_Peter.txt +++ b/npc/functions/quest-debug/003-ShipQuests_Peter.txt @@ -1,6 +1,9 @@ // Peter quest debug // Author: // gumi +// jesusalva +// Notes: +// Using l() usually is not a good idea (translating debug text? What?) function script QuestDebug3 { do @@ -10,16 +13,19 @@ function script QuestDebug3 { mes "ShipQuests_Peter"; mes "---"; mes l("Quest state: @@", getq(ShipQuests_Peter)); + mes l("Killed mob bitmask: @@", getq2(ShipQuests_Peter)); + mes l("Instance ID: @@", getq3(ShipQuests_Peter)); next; + .@q=getq(ShipQuests_Peter); + 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; + l("Peter needs help"), 1, + l("Toggle Tortuga Bounty"), .@q^2, + l("Toggle Ratto Bounty"), .@q^4, + l("Toggle Croc Bounty"), .@q^8, + l("Quest complete"), 15; if (@menuret < 0) { -- cgit v1.2.3-70-g09d2