summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1/banu.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-02 11:06:32 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:21:29 -0700
commitc0ba38cd4b68491e28e467889804ebc09c9c002e (patch)
treeaf2890e6fe20990d2a9b7c94b991be58f25a5d52 /world/map/npc/021-1/banu.txt
parent514a2f05cb335c1e9210fea58bc9a9a58478283f (diff)
downloadserverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.gz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.bz2
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.xz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.zip
Clean up main scripts
Diffstat (limited to 'world/map/npc/021-1/banu.txt')
-rw-r--r--world/map/npc/021-1/banu.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/world/map/npc/021-1/banu.txt b/world/map/npc/021-1/banu.txt
index 2bff70e2..6e5cc51b 100644
--- a/world/map/npc/021-1/banu.txt
+++ b/world/map/npc/021-1/banu.txt
@@ -20,9 +20,10 @@
mes "\"Ah, hello. You've come at just the right moment. The field work is hard and the sun is burning.";
mes "Would you mind refilling an old woman's Empty Bottle with water?\"";
menu
- "Sure!",-,
+ "Sure!",L_Next,
"Sorry, I'm busy.",L_Close;
+L_Next:
getinventorylist;
if (@inventorylist_count == 100)
goto L_FullInv;
@@ -59,8 +60,10 @@ L_Knife:
mes "[Banu]";
mes "\"Hello dear. Did you get the knife for me?\"";
menu
- "Yeah, here is it.",-,
+ "Yeah, here is it.",L_Next1,
"Not yet.",L_Close;
+
+L_Next1:
if (countitem("Knife") < 1)
goto L_NoKnife;
delitem "Knife", 1;