summaryrefslogtreecommitdiff
path: root/world/map/npc/items/scissors.txt
blob: 71e1f52ce1b8e0bcc81e1e5050fd870695fc0862 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}