diff options
author | Fate <fate-tmw@googlemail.com> | 2008-12-24 21:24:57 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-12-24 21:24:57 -0700 |
commit | 562a0fdbaa002a49f4763bd07442e2ed32726ab9 (patch) | |
tree | 0e997cd03f8a03e8bf839890318efd15a0242dc2 /npc/019-1_Snow_field/snowman.txt | |
parent | 63006fa540fe6fbddd132be33b39fd28f02a2e0f (diff) | |
parent | e896b785935c661319ade424f473f4442e1878eb (diff) | |
download | serverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.tar.gz serverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.tar.bz2 serverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.tar.xz serverdata-562a0fdbaa002a49f4763bd07442e2ed32726ab9.zip |
Merge branch 'master' into magic
Diffstat (limited to 'npc/019-1_Snow_field/snowman.txt')
-rw-r--r-- | npc/019-1_Snow_field/snowman.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/019-1_Snow_field/snowman.txt b/npc/019-1_Snow_field/snowman.txt index 1f56e4f2..ca8c1f09 100644 --- a/npc/019-1_Snow_field/snowman.txt +++ b/npc/019-1_Snow_field/snowman.txt @@ -24,6 +24,8 @@ L_Sure: if(countitem(510) < 15) goto L_NoItem; if(countitem(509) < 10) goto L_NoItem; if(countitem(502) < 5) goto L_NoItem; + getinventorylist; + if (@inventorylist_count > 99) goto L_TooMany; delitem 510, 15; delitem 509, 10; delitem 502, 5; @@ -51,4 +53,9 @@ L_Done: mes "[Snowman]"; mes "\"Thank you for help!\""; close; + +L_TooMany: + mes "[Snowman]"; + mes "\"It doesn't look like you have room for this. Come back later.\""; + close; } |