summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1/adrian.txt
diff options
context:
space:
mode:
authormeko <mekolat@users.noreply.github.com>2015-09-29 12:32:48 -0400
committermeko <mekolat@users.noreply.github.com>2015-09-29 12:32:48 -0400
commit1fa42ac121792035ea777e18bb6105552b8299c0 (patch)
tree8b50ead6a5b75d2c8a52bfe762cef38c4e849cbe /world/map/npc/001-1/adrian.txt
parentaef74e905ea2abc818ffaa526f6c5e559f397509 (diff)
parenta5816766ed870dd55170a4b66a75a1907021e421 (diff)
downloadserverdata-1fa42ac121792035ea777e18bb6105552b8299c0.tar.gz
serverdata-1fa42ac121792035ea777e18bb6105552b8299c0.tar.bz2
serverdata-1fa42ac121792035ea777e18bb6105552b8299c0.tar.xz
serverdata-1fa42ac121792035ea777e18bb6105552b8299c0.zip
Merge pull request #384 from wushin/tulimshar-quests
Some of the Tonori Area Quests
Diffstat (limited to 'world/map/npc/001-1/adrian.txt')
-rw-r--r--world/map/npc/001-1/adrian.txt15
1 files changed, 2 insertions, 13 deletions
diff --git a/world/map/npc/001-1/adrian.txt b/world/map/npc/001-1/adrian.txt
index de2966b5..9582cba5 100644
--- a/world/map/npc/001-1/adrian.txt
+++ b/world/map/npc/001-1/adrian.txt
@@ -1,17 +1,8 @@
-// part of quest given by 021-2/kylian.txt
-// Author: Jenalya
-
-// state 1: player has the task to get the luggage from the harbor
-// state 2: Adrian gave the luggage to the player
-// state 3: player gave luggage to Kylian and Kylian asks who to talk to for the shop license
-
001-1,113,64,0|script|Adrian|213
{
- set @state, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT);
-
mes "[Adrian]";
mes "\"Hello. Are you here to pick up some luggage?\"";
- if (@state == 1)
+ if (QL_KYLIAN == 1)
menu
"Yes. Kylian sent me to get his luggage.",L_Get,
"No.",L_No;
@@ -37,8 +28,7 @@ L_Get:
mes "\"Alright. Here it is. Good luck carrying that thing.\"";
mes "Adrain hands you a very heavy suitcase.";
getitem "LeatherSuitcase", 1;
- set @state, 2;
- set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(NIBBLE_5_MASK)) | (@state << NIBBLE_5_SHIFT);
+ set QL_KYLIAN, 2;
goto L_Close;
L_Inventory:
@@ -48,7 +38,6 @@ L_Inventory:
goto L_Close;
L_Close:
- set @state, 0;
set @inventorylist_count, 0;
close;
}