summaryrefslogtreecommitdiff
path: root/npc/001-1/adrian.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 13:33:57 -0300
commitcf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch)
treef9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/001-1/adrian.txt
parent8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff)
downloadserverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz
serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip
Override
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;
+}