summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/017-10/_import.txt1
-rw-r--r--npc/017-10/vault.txt20
-rw-r--r--npc/017-2/_import.txt1
-rw-r--r--npc/017-2/vault.txt20
-rw-r--r--npc/017-3/vault.txt2
-rw-r--r--npc/017-4/_import.txt1
-rw-r--r--npc/017-4/vault.txt20
-rw-r--r--npc/017-5/_import.txt1
-rw-r--r--npc/017-5/vault.txt20
9 files changed, 85 insertions, 1 deletions
diff --git a/npc/017-10/_import.txt b/npc/017-10/_import.txt
index 7cbdcd3de..71e9f1aa5 100644
--- a/npc/017-10/_import.txt
+++ b/npc/017-10/_import.txt
@@ -5,3 +5,4 @@
"npc/017-10/dispatcher.txt",
"npc/017-10/mayor.txt",
"npc/017-10/politics.txt",
+"npc/017-10/vault.txt",
diff --git a/npc/017-10/vault.txt b/npc/017-10/vault.txt
new file mode 100644
index 000000000..86bfeffc6
--- /dev/null
+++ b/npc/017-10/vault.txt
@@ -0,0 +1,20 @@
+// TMW2/LoF Script.
+// Author:
+// Jesusalva
+// Notes:
+// Based on BenB idea.
+
+017-10,20,41,0 script Vault#01710 NPC_NO_SPRITE,{
+ LootableVault(3, 5, "01710");
+ close;
+
+OnInit:
+ .distance=3;
+ end;
+
+OnClock0202:
+OnClock1419:
+ $VAULT_01710+=rand2(50,100);
+ end;
+}
+
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;
+}
+
diff --git a/npc/017-3/vault.txt b/npc/017-3/vault.txt
index 090900bc0..c52033046 100644
--- a/npc/017-3/vault.txt
+++ b/npc/017-3/vault.txt
@@ -4,7 +4,7 @@
// Notes:
// Based on BenB idea.
-017-3,80,39,0 script Vault NPC_NO_SPRITE,{
+017-3,80,39,0 script Vault#0173 NPC_NO_SPRITE,{
LootableVault(1, 3, "01738039");
close;
diff --git a/npc/017-4/_import.txt b/npc/017-4/_import.txt
index d2c0b1937..b16bdba4f 100644
--- a/npc/017-4/_import.txt
+++ b/npc/017-4/_import.txt
@@ -4,3 +4,4 @@
"npc/017-4/pihro.txt",
"npc/017-4/pyndragon.txt",
"npc/017-4/refine.txt",
+"npc/017-4/vault.txt",
diff --git a/npc/017-4/vault.txt b/npc/017-4/vault.txt
new file mode 100644
index 000000000..0301190ab
--- /dev/null
+++ b/npc/017-4/vault.txt
@@ -0,0 +1,20 @@
+// TMW2/LoF Script.
+// Author:
+// Jesusalva
+// Notes:
+// Based on BenB idea.
+
+017-4,20,41,0 script Vault#0174 NPC_VAULT,{
+ LootableVault(2, 5, "0174");
+ close;
+
+OnInit:
+ .distance=3;
+ end;
+
+OnClock0201:
+OnClock1418:
+ $VAULT_0174+=rand2(27,40);
+ end;
+}
+
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;
+}
+