summaryrefslogtreecommitdiff
path: root/world/map/npc/items
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-13 10:30:14 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-13 22:09:03 -0400
commit414b37aedff74320b0c991a113e752fa3e014bd7 (patch)
treea2b03602e3c54a9968f5b8961dc5fab85da8b803 /world/map/npc/items
parentda0f4578b83cc2f9df249dc1bb5bb33d720cb7a8 (diff)
downloadserverdata-414b37aedff74320b0c991a113e752fa3e014bd7.tar.gz
serverdata-414b37aedff74320b0c991a113e752fa3e014bd7.tar.bz2
serverdata-414b37aedff74320b0c991a113e752fa3e014bd7.tar.xz
serverdata-414b37aedff74320b0c991a113e752fa3e014bd7.zip
a few fixes/modifications here and there
Diffstat (limited to 'world/map/npc/items')
-rw-r--r--world/map/npc/items/scissors.txt4
-rw-r--r--world/map/npc/items/shock_sweet.txt4
-rw-r--r--world/map/npc/items/warpTowels.txt2
3 files changed, 5 insertions, 5 deletions
diff --git a/world/map/npc/items/scissors.txt b/world/map/npc/items/scissors.txt
index 44dbbac8..640cc1c5 100644
--- a/world/map/npc/items/scissors.txt
+++ b/world/map/npc/items/scissors.txt
@@ -5,10 +5,10 @@ function|script|useScissors
message strcharinfo(0), "Whoops!";
heal -20 - rand(Hp >> 1), 0;
getitem "Scissors", 1;
- end;
+ return;
L_Change:
setlook LOOK_HAIR_STYLE, rand(20);
getitem "Scissors", 1;
- end;
+ return;
}
diff --git a/world/map/npc/items/shock_sweet.txt b/world/map/npc/items/shock_sweet.txt
index 1ae787e3..4de758d1 100644
--- a/world/map/npc/items/shock_sweet.txt
+++ b/world/map/npc/items/shock_sweet.txt
@@ -4,12 +4,12 @@ function|script|useShockSweet
goto L_Change;
message strcharinfo(0), "Yuck, this tastes like earwax!";
heal -20 - (Hp >> 2), 0;
- end;
+ return;
L_Change:
setlook LOOK_HAIR_COLOR, HC_WHITE;
message strcharinfo(0), "Gah! That was some strong stuff!";
sc_start sc_poison, 1, 20;
misceffect 15, strcharinfo(0);
- end;
+ return;
}
diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt
index f586ed99..8e9ef4ac 100644
--- a/world/map/npc/items/warpTowels.txt
+++ b/world/map/npc/items/warpTowels.txt
@@ -152,7 +152,7 @@ L_End:
set @NextLocationX, 0;
set @NextLocationY, 0;
set @warpTowelName$, "";
- end;
+ return;
}
function|script|MultiWarpTowel