diff options
author | tux9th <mr.x@aon.at> | 2013-09-30 21:38:14 +0200 |
---|---|---|
committer | tux9th <mr.x@aon.at> | 2013-09-30 21:38:14 +0200 |
commit | 43e8ac00eb23c62a5f97b7a45c94831426b5ba06 (patch) | |
tree | 0b9140fff76952e83510d50232d53934c2b2eb2c /world/map/npc/021-2 | |
parent | 0fb50c8cd60f764f5d4e89bb789056e56d666af0 (diff) | |
download | serverdata-43e8ac00eb23c62a5f97b7a45c94831426b5ba06.tar.gz serverdata-43e8ac00eb23c62a5f97b7a45c94831426b5ba06.tar.bz2 serverdata-43e8ac00eb23c62a5f97b7a45c94831426b5ba06.tar.xz serverdata-43e8ac00eb23c62a5f97b7a45c94831426b5ba06.zip |
Fixing issues in NPC Scripts:
* Kylian now counts weight and amount of items correctly
* Xmas2012 NPCs now count amount of items correctly.
Diffstat (limited to 'world/map/npc/021-2')
-rw-r--r-- | world/map/npc/021-2/kylian.txt | 4 |
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."; |