summaryrefslogtreecommitdiff
path: root/npc/017-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-24 14:09:51 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-24 14:09:51 -0300
commit030c193444568be32f9d5317566216c710973da0 (patch)
tree68119f52e950a2d56713c331a072a960458bd56e /npc/017-2
parent429df6641e2194a9c1d3f96847251954f7f597a4 (diff)
downloadserverdata-030c193444568be32f9d5317566216c710973da0.tar.gz
serverdata-030c193444568be32f9d5317566216c710973da0.tar.bz2
serverdata-030c193444568be32f9d5317566216c710973da0.tar.xz
serverdata-030c193444568be32f9d5317566216c710973da0.zip
Add several vaults to LoF Village, with varying difficulties.
This is required by Kamelot
Diffstat (limited to 'npc/017-2')
-rw-r--r--npc/017-2/_import.txt1
-rw-r--r--npc/017-2/vault.txt20
2 files changed, 21 insertions, 0 deletions
diff --git a/npc/017-2/_import.txt b/npc/017-2/_import.txt
index 9c2f5c724..6665a1d62 100644
--- a/npc/017-2/_import.txt
+++ b/npc/017-2/_import.txt
@@ -1,3 +1,4 @@
// Map 017-2: Jack's House
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/017-2/_warps.txt",
+"npc/017-2/vault.txt",
diff --git a/npc/017-2/vault.txt b/npc/017-2/vault.txt
new file mode 100644
index 000000000..3f3e49cbc
--- /dev/null
+++ b/npc/017-2/vault.txt
@@ -0,0 +1,20 @@
+// TMW2/LoF Script.
+// Author:
+// Jesusalva
+// Notes:
+// Based on BenB idea.
+
+017-2,45,22,0 script Vault#0172 NPC_VAULT,{
+ LootableVault(0, 3, "0172");
+ close;
+
+OnInit:
+ .distance=3;
+ end;
+
+OnClock0201:
+OnClock1418:
+ $VAULT_0172+=rand2(3,7);
+ end;
+}
+