summaryrefslogtreecommitdiff
path: root/world/map/npc/items/scissors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/items/scissors.txt')
-rw-r--r--world/map/npc/items/scissors.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/world/map/npc/items/scissors.txt b/world/map/npc/items/scissors.txt
index b806bb33..7b64ce61 100644
--- a/world/map/npc/items/scissors.txt
+++ b/world/map/npc/items/scissors.txt
@@ -1,13 +1,13 @@
-function script useScissors {
- if (rand(3))
- goto L_Change;
- message strcharinfo(0), "Whoops!";
- itemheal -20 - rand(Hp >> 1), 0;
- getitem "Scissors", 1;
- end;
+function|script|useScissors|{
+ if (rand(3))
+ goto L_Change;
+ message strcharinfo(0), "Whoops!";
+ itemheal -20 - rand(Hp >> 1), 0;
+ getitem "Scissors", 1;
+ end;
L_Change:
- setlook LOOK_HAIR_STYLE, rand(20);
- getitem "Scissors", 1;
- end;
+ setlook LOOK_HAIR_STYLE, rand(20);
+ getitem "Scissors", 1;
+ end;
}