diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/002-1/peter.txt | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt index 221f33f84..0202ff984 100644 --- a/npc/002-1/peter.txt +++ b/npc/002-1/peter.txt @@ -27,27 +27,17 @@ // @pt_mob = ID of the monster you were tasked with killing 002-1,35,24,0 script AreaNPC#Peter NPC_HIDDEN,0,1,{ - + end; OnTouch: - .@q = getq(ShipQuests_Peter); - .@q2 = getq2(ShipQuests_Peter); - .@q3 = getq3(ShipQuests_Peter); - if (BaseLevel < 8) goto L_Stop; - - if (.@q && isinstance(.@q3) && .@q3 > 0) goto L_Rfail; - doevent "Peter::OnGiveTask"; - close; - -L_Stop: - doevent "Peter::OnStop"; - close; - -L_Rfail: - doevent "Peter::OnReturnFail"; + doevent "Peter::OnPeterMain"; close; } 002-1,33,25,0 script Peter NPC_RATTO_SAILOR,{ + goto L_Main; + +OnPeterMain: +L_Main: .@q = getq(ShipQuests_Peter); .@q2 = getq2(ShipQuests_Peter); .@q3 = getq3(ShipQuests_Peter); |