From 558be6e0a9a4dc6dd8510cd7475ebb44629297a4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Apr 2020 14:08:03 -0300 Subject: More sketches --- npc/042-3/_import.txt | 1 + npc/042-3/jail.txt | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 npc/042-3/jail.txt (limited to 'npc/042-3') 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; +} + -- cgit v1.2.3-60-g2f50