summaryrefslogtreecommitdiff
path: root/npc/001-1/adrian.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-1/adrian.txt')
-rwxr-xr-xnpc/001-1/adrian.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/npc/001-1/adrian.txt b/npc/001-1/adrian.txt
new file mode 100755
index 00000000..03ec3802
--- /dev/null
+++ b/npc/001-1/adrian.txt
@@ -0,0 +1,42 @@
+001-1,113,64,0 script Adrian NPC213,{
+ mes "[Adrian]";
+ mes "\"Hello. Are you here to pick up some luggage?\"";
+ if (QL_KYLIAN == 1)
+ menu
+ "Yes. Kylian sent me to get his luggage.",L_Get,
+ "No.",L_No;
+ menu
+ "No.",L_No;
+L_No:
+ next;
+ mes "[Adrian]";
+ mes "\"Too bad. I'd like to go get a beer, but I have to wait here until all the luggage is picked up.\"";
+ mes "He sighs.";
+ goto L_close;
+
+L_Get:
+ next;
+ mes "[Adrian]";
+ mes "\"Wonderful! Please show me your ticket.\"";
+ mes "He checks the paper Kylian gave you and then gives you a critical look.";
+ next;
+ getinventorylist;
+ if ((checkweight("LeatherSuitcase", 1) == 0) || (@inventorylist_count == 100))
+ goto L_Inventory;
+ mes "[Adrian]";
+ mes "\"Alright. Here it is. Good luck carrying that thing.\"";
+ mes "Adrain hands you a very heavy suitcase.";
+ getitem "LeatherSuitcase", 1;
+ QL_KYLIAN = 2;
+ goto L_close;
+
+L_Inventory:
+ mes "[Adrian]";
+ mes "\"The suitcase is rather heavy. No offense, but you don't look like you can carry it.\"";
+ mes "Maybe you should get rid of some of the other stuff you're carrying.\"";
+ goto L_close;
+
+L_close:
+ @inventorylist_count = 0;
+ close;
+}