diff options
author | Wushin <pasekei@gmail.com> | 2015-01-07 21:25:14 -0600 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-01-07 21:25:14 -0600 |
commit | b734af239e8ff1e7ea746ea327fb84c62be09b7e (patch) | |
tree | cbc5f399ccf8dd226056887a70b9a313f88bee6e /world/map/npc/001-1/adrian.txt | |
parent | 2c09797ebd2c03b2cbe9a458f8ea8d1fbd04ccff (diff) | |
parent | 61c88ec162713b980f30e6e5111c1cfbd9f23d3a (diff) | |
download | serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.tar.gz serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.tar.bz2 serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.tar.xz serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.zip |
Merge pull request #223 from wushin/moving-tutorial
Move Tutorial to Hurnscald
Diffstat (limited to 'world/map/npc/001-1/adrian.txt')
-rw-r--r-- | world/map/npc/001-1/adrian.txt | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/world/map/npc/001-1/adrian.txt b/world/map/npc/001-1/adrian.txt new file mode 100644 index 00000000..4f9722d0 --- /dev/null +++ b/world/map/npc/001-1/adrian.txt @@ -0,0 +1,52 @@ +// 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.gat,113,64,0|script|Adrian|213 +{ + set @state, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT); + + mes "[Adrian]"; + mes "\"Hello. Are you here to get the luggage for some of our passengers?\""; + if (@state == 1) + menu + "Yes, Kylian sent me to get his luggage.",L_Get, + "No.",L_No; + menu + "No.",L_No; +L_No: + mes "[Adrian]"; + mes "\"Too bad. I want to go and drink a beer, but I have to wait here until all the luggage is picked up.\""; + mes "He sighs."; + goto L_Close; + +L_Get: + mes "[Adrian]"; + mes "\"Wonderful! Show me the ticket.\""; + mes "He checks the paper Kylian gave you and then takes a critical look at you."; + next; + getinventorylist; + if ((checkweight("LeatherSuitcase", 1) == 0) || (@inventorylist_count == 100)) + goto L_Inventory; + mes "[Adrian]"; + mes "\"Alright, here it is.\""; + 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); + goto L_Close; + +L_Inventory: + mes "[Adrian]"; + mes "\"The suitcase is rather heavy. You doesn't look as if you can handle that."; + mes "Maybe if you get rid of some of the other stuff you're carrying.\""; + goto L_Close; + +L_Close: + set @state, 0; + set @inventorylist_count, 0; + close; +} |