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/005-1/tree.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/005-1/tree.txt')
-rw-r--r-- | world/map/npc/005-1/tree.txt | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/world/map/npc/005-1/tree.txt b/world/map/npc/005-1/tree.txt index 2b63f8cb..626164b9 100644 --- a/world/map/npc/005-1/tree.txt +++ b/world/map/npc/005-1/tree.txt @@ -10,6 +10,7 @@ function|script|QuestTreeTrigger|, if (@Q_status & @flag) goto L_Close; // already did that if (@flag == 2) goto L_hug; + goto L_cont; L_cont: set @Q_status, @Q_status | @flag; @@ -73,8 +74,7 @@ L_cut: next; menu "Cut off a branch", L_do_cut, - "Leave it alone", -; - goto L_Close; + "Leave it alone", L_Close; L_water: mes "[Dying Tree]"; @@ -83,8 +83,7 @@ L_water: menu "Water the tree", L_givewater, "Kiss tree", L_kiss, - "Leave it alone", -; - goto L_Close; + "Leave it alone", L_Close; L_both: mes "[Dying Tree]"; @@ -94,8 +93,7 @@ L_both: "Water the tree", L_givewater, "Kiss tree", L_kiss, "Cut off a branch", L_do_cut, - "Leave it alone", -; - goto L_Close; + "Leave it alone", L_Close; L_givewater: if (countitem("BottleOfWater") < 1) goto L_no_water; @@ -128,9 +126,8 @@ L_do_cut: mes "Do you want to continue cutting?"; next; menu - "Nah... better not.", -, + "Nah... better not.", L_Close, "Yes, let's cut!", L_really_cut; - goto L_Close; L_really_cut: set MAGIC_FLAGS, MAGIC_FLAGS | MFLAG_DID_CUTTREE; @@ -161,9 +158,11 @@ L_Close: 005-1.gat,79,41,0|script|#DruidTree0#_M|400, { callfunc "QuestTreeTouch"; + end; } 005-1.gat,80,41,0|script|#DruidTree1#_M|400, { callfunc "QuestTreeTouch"; + end; } |