summaryrefslogtreecommitdiff
path: root/world/map/npc/021-2/kylian.txt
diff options
context:
space:
mode:
authoro11c <b.r.longbons@gmail.com>2013-10-01 11:59:36 -0700
committero11c <b.r.longbons@gmail.com>2013-10-01 11:59:36 -0700
commitcace5caccdd3a4cdf245adeb6f20145db2ad7707 (patch)
tree5df022f73d43e3efdf738f1ab0d5c76dcec36aa7 /world/map/npc/021-2/kylian.txt
parent410fa54908f4a4de6800a12de370a46ebb35629a (diff)
parent43e8ac00eb23c62a5f97b7a45c94831426b5ba06 (diff)
downloadserverdata-cace5caccdd3a4cdf245adeb6f20145db2ad7707.tar.gz
serverdata-cace5caccdd3a4cdf245adeb6f20145db2ad7707.tar.bz2
serverdata-cace5caccdd3a4cdf245adeb6f20145db2ad7707.tar.xz
serverdata-cace5caccdd3a4cdf245adeb6f20145db2ad7707.zip
Merge pull request #35 from tux9th/master
Fixing issues in NPC Scripts:
Diffstat (limited to 'world/map/npc/021-2/kylian.txt')
-rw-r--r--world/map/npc/021-2/kylian.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/world/map/npc/021-2/kylian.txt b/world/map/npc/021-2/kylian.txt
index c228acba..5406f6c7 100644
--- a/world/map/npc/021-2/kylian.txt
+++ b/world/map/npc/021-2/kylian.txt
@@ -233,13 +233,15 @@ L_DesertHat: // @state == 8
mes "[Kylian]";
mes "\"That was an interesting night. Thanks for your suggestion to visit the casino.\"";
next;
+ getinventorylist;
mes "\"You helped me a lot, so I bought a souvenir for you while I was shopping.\"";
- if ((checkweight("DesertHat", count) == 0) || (@inventorylist_count == 100))
+ if ((checkweight("DesertHat", 1) == 0) || (@inventorylist_count == 100))
goto L_Inventory;
getitem "DesertHat", 1;
set @state, 9;
callsub S_Update_Mask;
next;
+
L_Done:
mes "[Kylian]";
mes "\"I hope to get a positive response about my shop license soon. I might have more things to do for you then, if you're interested.";