diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-09-08 20:36:29 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-09-08 20:36:29 +0200 |
commit | 5ea6c568c86d9c0f76983705258951e2db9974fa (patch) | |
tree | 94a402b645140a7bb9fbfa467a73cfb30d880a56 /world/map/npc/001-1/rewards_master.txt | |
parent | 2629fa14c6f7e6a5a7a71f5c784424cf80189f17 (diff) | |
parent | cba4de9a5f7b9de412b9f458c80904cee9764a85 (diff) | |
download | serverdata-5ea6c568c86d9c0f76983705258951e2db9974fa.tar.gz serverdata-5ea6c568c86d9c0f76983705258951e2db9974fa.tar.bz2 serverdata-5ea6c568c86d9c0f76983705258951e2db9974fa.tar.xz serverdata-5ea6c568c86d9c0f76983705258951e2db9974fa.zip |
Merge remote-tracking branch 'testing/master'v2011.09.08
Diffstat (limited to 'world/map/npc/001-1/rewards_master.txt')
-rw-r--r-- | world/map/npc/001-1/rewards_master.txt | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/world/map/npc/001-1/rewards_master.txt b/world/map/npc/001-1/rewards_master.txt index 290deccc..0cec114c 100644 --- a/world/map/npc/001-1/rewards_master.txt +++ b/world/map/npc/001-1/rewards_master.txt @@ -30,7 +30,7 @@ @Menu$[11], -; // this is for the last entry "No thanks": - if (@menu > @i) close; + if (@menu > @i) goto L_Close; // this is for the "Give all" entry: if (@menu == 11) goto L_Give_all; @@ -46,17 +46,17 @@ L_Item_Loop: L_Item_Done: if (@rec < @req) mes "It looks like your Monster Points were over estimated."; - close; + goto L_Close; L_Register: mes "[Ishi the Rewards Master]"; mes "\"Hey, it seems like you didn't register as a quest participant yet! You can sign up with Aidan.\""; - close; + goto L_Close; L_NotEnough: mes "[Ishi the Rewards Master]"; mes "\"You don't have enough Monster Points for a reward. You'll need to kill some more monsters first.\""; - close; + goto L_Close; @@ -80,10 +80,16 @@ L_Give_all_next: mes "\"You have brought lots of items now. You have still " + Mobpt + " monster points. Shall we continue?\""; menu "Yes", L_Give_all, - "No", L_Give_all_done; - close; + "No", L_Close; -L_Give_all_done: +L_Close: + set @gotocounter, 0; + set @itemgiveerror, 0; + set @pts, 0; + set @dif, 0; + set @i, 0; + cleararray @Menu$[0], "", 10; + cleararray @Items$[0], "", 10; close; ////////////////////////////////////////////////// |