diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-04-02 11:06:32 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-04-02 22:21:29 -0700 |
commit | c0ba38cd4b68491e28e467889804ebc09c9c002e (patch) | |
tree | af2890e6fe20990d2a9b7c94b991be58f25a5d52 /world/map/npc/functions/dailyquest.txt | |
parent | 514a2f05cb335c1e9210fea58bc9a9a58478283f (diff) | |
download | serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.gz serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.bz2 serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.xz serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.zip |
Clean up main scripts
Diffstat (limited to 'world/map/npc/functions/dailyquest.txt')
-rw-r--r-- | world/map/npc/functions/dailyquest.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/world/map/npc/functions/dailyquest.txt b/world/map/npc/functions/dailyquest.txt index aadafc89..a0360376 100644 --- a/world/map/npc/functions/dailyquest.txt +++ b/world/map/npc/functions/dailyquest.txt @@ -47,6 +47,7 @@ function|script|DailyQuestPoints|, if (DailyQuestPoints > BaseLevel) set DailyQuestPoints, BaseLevel; // fallthrough to bonus, which *is* allowed to push DailyQuestPoints above BaseLevel + goto L_Bonus; L_Bonus: set DailyQuestPoints, DailyQuestPoints + DailyQuestBonus; @@ -67,9 +68,10 @@ function|script|DailyQuest|, mes "\"If you bring me " + @dq_count + " " + @dq_friendly_name$ + ", I will give you a reward.\""; menu "I have what you want.", L_Trade, - "Ok, I'll get to work.", -, - "Nah, I'm not going to help you.", -; + "Ok, I'll get to work.", L_Next, + "Nah, I'm not going to help you.", L_Next; +L_Next: set @dq_return, 1; goto L_Exit; @@ -91,6 +93,7 @@ L_Trade: mes ""; mes "[" + @dq_money + " money]"; mes "[" + @dq_exp + " experience points]"; + goto L_Exit_Good; L_Exit_Good: set @dq_return, 4; |