summaryrefslogtreecommitdiff
path: root/npc/042-3/jail.txt
blob: 23baed06a3a5141a7d4b713795da4b73a3998508 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// TMW 2 Script
// Author:
//  Jesusalva
//  Micksha
// Description:
//  Controls jails
//  Controls lockpicks

042-3,0,0,0	script	#KSlimeSpawn	NPC_HIDDEN,{
    end;

OnKillSlime:
    if (@lockpicks)
        end;
    if (rand2(10000) > 1000)
        end;
    @lockpicks=true;
    getitem Lockpicks, 1;
    getitem TreasureKey, 1;
    end;
}