From 31296c7d5c245c0a326e270a5f6b64b662ada231 Mon Sep 17 00:00:00 2001 From: Reid Date: Sun, 28 Oct 2012 22:34:49 +0100 Subject: Add julia check on doors.txt, Change variables name on doors.txt. --- npc/000-2-0/doors.txt | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'npc/000-2-0/doors.txt') diff --git a/npc/000-2-0/doors.txt b/npc/000-2-0/doors.txt index 8a6f5d67..2e490335 100644 --- a/npc/000-2-0/doors.txt +++ b/npc/000-2-0/doors.txt @@ -4,14 +4,24 @@ // Description: // Door NPC. // The third value of the Q variable has been removed for the beta2, it'll then be re-added for the Aurora release. - +// Variable: +// 0 ShipQUests_Nard +// 1 ShipQuests_Julia +// Values: +// 00 Introduction of the box and Nard. This is displayed when the player never spoke to Nard or his box. +// 01 Nard spoke and gave access to the outdoor of the ship. +// 02 Completed the quest. +// 03 Opened the chest and finished the introduction. +// 10 Doesnt' know Julia. +// 11 Registred to Julia. +// 12 Need to see Julia. 000-2-0.gat,20,27,0,1 script AreaNPC 0,0,0,{ OnTouch: - set @q, getq(ShipQuests_Nard); - if (@q > 0) goto l_Warp; -// if (@q == 2) goto l_GotoNard; -// if (@q == 3) goto l_End; + set @nard, getq(ShipQuests_Nard); + if (@nard > 0) goto l_Warp; +// if (@nard == 2) goto l_GotoNard; +// if (@nard == 3) goto l_End; close; setcamnpc "Julia"; @@ -46,7 +56,11 @@ l_End: } 000-2-0.gat,32,27,0,1 script AreaNPC 0,0,0,{ + set @julia, getq(ShipQuests_Julia); + if (@julia == 1) goto l_Warp; + close; +l_Warp: warp "000-2-3", 20, 27; close; } -- cgit v1.2.3-70-g09d2