From 8151c7e679f5340d7d1b78f7269313cd7bf0d5ce Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 30 Jul 2019 00:13:41 -0300 Subject: Add an option on Banker to open Mail --- npc/003-0/notes | 19 +++++++++++++++---- npc/functions/bank.txt | 11 ++++++++++- 2 files changed, 25 insertions(+), 5 deletions(-) (limited to 'npc') diff --git a/npc/003-0/notes b/npc/003-0/notes index fda37bf5a..517f68d6d 100644 --- a/npc/003-0/notes +++ b/npc/003-0/notes @@ -106,8 +106,19 @@ USEFUL COMMANDS unitskilluseid(, , {, }) unitskillusepos(, , , , ) -*defpattern(, "", "") -*activatepset() -*deactivatepset() -*deletepset() + *defpattern(, "", "") + *activatepset() + *deactivatepset() + *deletepset() + Regex commands (iilia) + + *statusup2(, ) + Needs testing, said to be permanent but will it survive a status reset? + Actually, we could add an extra memory and re-cast this, if we control + usage correctly. + + *autobonus2(, , {, , {}}) + May cast a bonus when attacked :> + + diff --git a/npc/functions/bank.txt b/npc/functions/bank.txt index 14690875c..03696dad2 100644 --- a/npc/functions/bank.txt +++ b/npc/functions/bank.txt @@ -205,19 +205,28 @@ function script Banker { select l("I would like to store some items."), l("I would like to perform money transactions."), + l("Did I received any mail?"), l("What is this guild for?"), l("Bye."); switch (@menu) { case 1: + closeclientdialog; openstorage; - closedialog; close; break; case 2: Banking; break; case 3: + mesc l("Note: Transfering items on mail cost 2500 GP/item"); + mesc l("Money transference by mail is, however, free."); + next; + closeclientdialog; + openmail(); + close; + break; + case 4: mes ""; BKInfo(); break; -- cgit v1.2.3-60-g2f50