summaryrefslogtreecommitdiff
path: root/npc/017-2
diff options
context:
space:
mode:
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;
+}
+