summaryrefslogtreecommitdiff
path: root/npc/items/scissors.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/scissors.txt')
-rw-r--r--npc/items/scissors.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/items/scissors.txt b/npc/items/scissors.txt
new file mode 100644
index 00000000..95d07b8b
--- /dev/null
+++ b/npc/items/scissors.txt
@@ -0,0 +1,12 @@
+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:
+ setlook LOOK_HAIR_STYLE, rand(1,getarraysize($@hairstyle$)-1);
+ return;
+}