diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-11 22:43:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-11 22:43:44 -0300 |
commit | 9dd64f8fee1321452a55aa39ea163f4b67683471 (patch) | |
tree | 915560b190c5fb844ffc5667f2fbcc5b4f00f85a /npc/032-1 | |
parent | 85edd8bd0ef4236809be8cc77f4d17c835d81491 (diff) | |
download | serverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.tar.gz serverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.tar.bz2 serverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.tar.xz serverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.zip |
Disable your bank account (temporarily) while you're in the past.
Diffstat (limited to 'npc/032-1')
-rw-r--r-- | npc/032-1/episode.txt | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/npc/032-1/episode.txt b/npc/032-1/episode.txt index 0655d5e0a..f028c453c 100644 --- a/npc/032-1/episode.txt +++ b/npc/032-1/episode.txt @@ -73,6 +73,9 @@ OnFin: sleep2(1500); warp "017-3", 72, 69; // Nothing else needs to be done, quest was closed earlier + // So we just fix your bank account + BankVault += #MerchantBank; + #MerchantBank = 0; end; OnInit: @@ -542,6 +545,8 @@ OnInit: } 032-1,114,194,0 script Imec#EP NPC_LOF_TRAVMERC,{ + #MerchantBank+=#MerchantBank; + #MerchantBank=0; .@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99); .@x = getq3(LoFQuest_EPISODE); .@met_banu = (.@x & 1); @@ -567,14 +572,14 @@ OnInit: next; menuint l("I'm sure the Doctor has a trick... No loans, thanks."), 0, - rif(BankVault > 1250, l("1,000 GP")), 1000, - rif(BankVault > 3125, l("2,500 GP")), 2500, - rif(BankVault > 6250, l("5,000 GP")), 5000, - rif(BankVault > 12500, l("10,000 GP")), 10000, - rif(BankVault > 62500, l("50,000 GP")), 50000, - rif(BankVault > 312500, l("250,000 GP")), 250000; + rif(#MerchantBank > 1250, l("1,000 GP")), 1000, + rif(#MerchantBank > 3125, l("2,500 GP")), 2500, + rif(#MerchantBank > 6250, l("5,000 GP")), 5000, + rif(#MerchantBank > 12500, l("10,000 GP")), 10000, + rif(#MerchantBank > 62500, l("50,000 GP")), 50000, + rif(#MerchantBank > 312500, l("250,000 GP")), 250000; mes ""; - BankVault -= @menuret * 125 / 100; + #MerchantBank -= @menuret * 125 / 100; Zeny += @menuret; mesn; mesq l("...As you wish."); |