summaryrefslogtreecommitdiff
path: root/npc/items/scissors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/scissors.txt')
-rwxr-xr-xnpc/items/scissors.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/items/scissors.txt b/npc/items/scissors.txt
new file mode 100755
index 00000000..d27e8f6f
--- /dev/null
+++ b/npc/items/scissors.txt
@@ -0,0 +1,13 @@
+function script useScissors {
+ getitem "Scissors", 1;
+ if (rand(3))
+ goto L_Change;
+ message strcharinfo(0), "Whoops!";
+ heal -20 - rand(Hp >> 1), 0;
+ return;
+
+L_Change:
+ callfunc "getHeadStyles";
+ setlook LOOK_HAIR_STYLE, rand(1,getarraysize(@HairStyles$));
+ return;
+}