summaryrefslogtreecommitdiff
path: root/npc/042-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 14:08:03 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 14:08:03 -0300
commit558be6e0a9a4dc6dd8510cd7475ebb44629297a4 (patch)
treede49b418c683d32625c556f5314c050e37161238 /npc/042-3
parentc61232ef7d40aa683946dc03b44c4bd89ee99db8 (diff)
downloadserverdata-558be6e0a9a4dc6dd8510cd7475ebb44629297a4.tar.gz
serverdata-558be6e0a9a4dc6dd8510cd7475ebb44629297a4.tar.bz2
serverdata-558be6e0a9a4dc6dd8510cd7475ebb44629297a4.tar.xz
serverdata-558be6e0a9a4dc6dd8510cd7475ebb44629297a4.zip
More sketches
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;
+}
+