summaryrefslogtreecommitdiff
path: root/npc/items/scissors.txt
blob: 0e10453ce332f7a6ebab09acc64d08caf5076633 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 1, rand(19);
        getitem "Scissors", 1;
        end;
}