diff options
-rw-r--r-- | npc/functions/bank.txt | 36 |
1 files changed, 4 insertions, 32 deletions
diff --git a/npc/functions/bank.txt b/npc/functions/bank.txt index 40ff31d..feb1146 100644 --- a/npc/functions/bank.txt +++ b/npc/functions/bank.txt @@ -21,7 +21,6 @@ function script Banking { select rif(Zeny > 0, l("Deposit.")), rif(BankVault > 0, l("Withdraw.")), - l("Buy a Housing Letter"), l("I'm done."); switch (@menu) @@ -119,32 +118,6 @@ function script Banking { } break; - case 3: - .@gp=REAL_ESTATE_CREDITS+Zeny; - mesc l("You currently have @@ mobiliary credits + GP at your disposal.", format_number(.@gp)); - mesc l("@@ - @@ - @@", getitemlink(HousingLetterI), getitemlink(HousingLetterII), getitemlink(HousingLetterIII)); - next; - select - l("Nothing"), - rif(.@gp >= 11000, l("Housing Letter I for 11,000 GP")), - rif(.@gp >= 101000, l("Housing Letter II for 101,000 GP")), - rif(.@gp >= 1001000, l("Housing Letter III for 1,001,000 GP")); - mes ""; - switch (@menu) { - case 2: - realestate_payment(11000); - getitem HousingLetterI, 1; - break; - case 3: - realestate_payment(101000); - getitem HousingLetterII, 1; - break; - case 4: - realestate_payment(1001000); - getitem HousingLetterIII, 1; - break; - } - break; default: return; } } while (true); @@ -166,7 +139,7 @@ function script BKInfo { // name, city, price, ID function script BKReg { - .@price=max(2000, getarg(2)-#BankP); + .@price=max(100, getarg(2)-#BankP); .@id=getarg(3, 1); @menu=3; do @@ -183,7 +156,6 @@ function script BKReg { if (@menu == 1) { Zeny=Zeny-.@price; setq General_Banker, .@id; - #BankP=#BankP+(rand2(150,400)*(.@id**2)); mesn getarg(0); mesq l("Registered! You can now use any banking service, of any town!"); } else if (@menu == 3) { @@ -199,7 +171,7 @@ function script Banker { mesq l("Welcome! My name is @@, I am a representative of the Merchant Guild on @@.", getarg(0), getarg(1)); next; - if (getq(General_Banker) == 0) { + if (false) { BKReg(getarg(0), getarg(1), getarg(2,10000)); } else { do @@ -208,8 +180,8 @@ function script Banker { l("I would like to store some items."), l("I would like to perform money transactions."), l("Did I received any mail?"), - rif(REBIRTH || is_sponsor(), l("I would like to use the Premium Storage.")), - rif(REBIRTH, l("I would like to use the Deluxe Storage.")), + rif(BaseLevel >= 100 || is_sponsor(), l("I would like to use the Premium Storage.")), + rif(BaseLevel >= 120, l("I would like to use the Deluxe Storage.")), l("What is this guild for?"), l("Bye."); |