diff options
author | Reid Yaro <reidyaro@gmail.com> | 2013-05-20 03:49:50 +0100 |
---|---|---|
committer | Reid Yaro <reidyaro@gmail.com> | 2013-05-20 03:49:50 +0100 |
commit | 485f5a396a1f1b92f18bd56c757b32f4c068084c (patch) | |
tree | 3ba0a96cdc7381d8f6b09d4736d9127e1fc402f7 /npc/000-1 | |
parent | 67671ebe9cc05420deb9e762cda165af8c095823 (diff) | |
download | serverdata-485f5a396a1f1b92f18bd56c757b32f4c068084c.tar.gz serverdata-485f5a396a1f1b92f18bd56c757b32f4c068084c.tar.bz2 serverdata-485f5a396a1f1b92f18bd56c757b32f4c068084c.tar.xz serverdata-485f5a396a1f1b92f18bd56c757b32f4c068084c.zip |
Correct a bug on inventoryplace script.
Diffstat (limited to 'npc/000-1')
-rw-r--r-- | npc/000-1/cookiemaster.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/npc/000-1/cookiemaster.txt b/npc/000-1/cookiemaster.txt index 5838baab..fdd68d57 100644 --- a/npc/000-1/cookiemaster.txt +++ b/npc/000-1/cookiemaster.txt @@ -147,16 +147,14 @@ l_Reward: next; mesq l("Anyway, here you have your cookie."); - - callfunc "InventoryPlace", 517, 100000; + set @item, 517; + set @count, 1; + callfunc "InventoryPlace", @item, @count; setq General_Cookies, 1; getitem "DeliciousCookie", 1; npctalk3 l("You receive a @@!", getitemlink("CreamyBiscuit")); - - - next; mesq l("I'm sure that you'll enjoy the effect, but be prudent, these cookies are rare, and you'll need to help the community one more time before to get another one."); next; |