summaryrefslogtreecommitdiff
path: root/npc/017-5
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-5')
-rw-r--r--npc/017-5/_import.txt1
-rw-r--r--npc/017-5/vault.txt20
2 files changed, 21 insertions, 0 deletions
diff --git a/npc/017-5/_import.txt b/npc/017-5/_import.txt
index ac4bb9e62..26bd1dd4b 100644
--- a/npc/017-5/_import.txt
+++ b/npc/017-5/_import.txt
@@ -3,3 +3,4 @@
"npc/017-5/_warps.txt",
"npc/017-5/nahrec.txt",
"npc/017-5/silversmith.txt",
+"npc/017-5/vault.txt",
diff --git a/npc/017-5/vault.txt b/npc/017-5/vault.txt
new file mode 100644
index 000000000..2b8575683
--- /dev/null
+++ b/npc/017-5/vault.txt
@@ -0,0 +1,20 @@
+// TMW2/LoF Script.
+// Author:
+// Jesusalva
+// Notes:
+// Based on BenB idea.
+
+017-5,53,26,0 script Vault#0175 NPC_NO_SPRITE,{
+ LootableVault(1, 5, "0175");
+ close;
+
+OnInit:
+ .distance=3;
+ end;
+
+OnClock0202:
+OnClock1419:
+ $VAULT_0175+=rand2(21,36);
+ end;
+}
+