summaryrefslogtreecommitdiff
path: root/npc/042-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-3')
-rw-r--r--npc/042-3/_import.txt1
-rw-r--r--npc/042-3/jail.txt22
2 files changed, 23 insertions, 0 deletions
diff --git a/npc/042-3/_import.txt b/npc/042-3/_import.txt
index abbb39d5f..0aec19ef6 100644
--- a/npc/042-3/_import.txt
+++ b/npc/042-3/_import.txt
@@ -1,3 +1,4 @@
// Map 042-3: Camelot - Jail
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/042-3/_warps.txt",
+"npc/042-3/jail.txt",
diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt
new file mode 100644
index 000000000..23baed06a
--- /dev/null
+++ b/npc/042-3/jail.txt
@@ -0,0 +1,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;
+}
+