summaryrefslogtreecommitdiff
path: root/npc/017-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-09 16:10:17 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-09 16:10:17 -0300
commit73f268e83c278b735d8f6613a2a74f56bb5a7d62 (patch)
treefa7272759e1642e825ef799e7060c6c4196aefcd /npc/017-3
parentee3ad796031ac328496bf2ebe1616aa7c0f7621e (diff)
downloadserverdata-73f268e83c278b735d8f6613a2a74f56bb5a7d62.tar.gz
serverdata-73f268e83c278b735d8f6613a2a74f56bb5a7d62.tar.bz2
serverdata-73f268e83c278b735d8f6613a2a74f56bb5a7d62.tar.xz
serverdata-73f268e83c278b735d8f6613a2a74f56bb5a7d62.zip
Placeholder for r7
Diffstat (limited to 'npc/017-3')
-rw-r--r--npc/017-3/vault.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/npc/017-3/vault.txt b/npc/017-3/vault.txt
index 13e13b068..06f048efc 100644
--- a/npc/017-3/vault.txt
+++ b/npc/017-3/vault.txt
@@ -5,6 +5,7 @@
// Based on BenB idea.
017-3,80,39,0 script Vault NPC_NO_SPRITE,{
+ if (MERC_RANK) goto L_Debug;
mesn;
mesq l("There's a shiny safe here. How much money is inside? Nobody is looking at you, great!");
// 2*3 = 6 possibilities, 5 attempts
@@ -23,6 +24,25 @@
}
close;
+// TODO: And remove from here.
+L_Debug:
+ mesn;
+ mesq l("Thiefs frequently attack this vault, and locking it again is a pain. If you break the lock you'll need to pay 100 GP.");
+ if (Zeny < 100)
+ close;
+ // 2*3 = 6 possibilities, 5 attempts
+ if (ToDoMerc(2, 3)) {
+ getexp 20, 0;
+ $VAULT_01738039+=2;
+ mesn;
+ mesq l("Safe again! You've gained some experience for your hard work!");
+ } else {
+ mesn;
+ mesq l("Dargh, you broke the lock!!");
+ Zeny-=100;
+ }
+ close;
+
OnInit:
.distance=3;
end;