summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-30 22:12:23 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-30 22:12:23 -0300
commit9e699ad9b7c0a233d8aaff1edbd0ce675dc7da89 (patch)
treef6473332ec3a0c61967cf514705b6bdf76672043 /npc
parent4daef039d705f7e7a9a58561e429ef9f255ea90a (diff)
downloadserverdata-9e699ad9b7c0a233d8aaff1edbd0ce675dc7da89.tar.gz
serverdata-9e699ad9b7c0a233d8aaff1edbd0ce675dc7da89.tar.bz2
serverdata-9e699ad9b7c0a233d8aaff1edbd0ce675dc7da89.tar.xz
serverdata-9e699ad9b7c0a233d8aaff1edbd0ce675dc7da89.zip
Lower bank prices, fix bugs, yadda yadda
Diffstat (limited to 'npc')
-rw-r--r--npc/003-3/malindou.txt2
-rw-r--r--npc/009-3/barzil.txt2
-rw-r--r--npc/012-1/richard.txt2
-rw-r--r--npc/functions/bank.txt32
4 files changed, 19 insertions, 19 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index ac93910ec..f90b4c338 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -7,7 +7,7 @@
// Take care of server updates, but instances are defined on their ships.
003-3,36,34,0 script Malindou NPC_LLOYD,{
- Banker(.name$, "Tulimshar", 15000);
+ Banker(.name$, "Tulimshar", 14000);
close;
OnInit:
diff --git a/npc/009-3/barzil.txt b/npc/009-3/barzil.txt
index f45f28ceb..9fff1a7cc 100644
--- a/npc/009-3/barzil.txt
+++ b/npc/009-3/barzil.txt
@@ -7,7 +7,7 @@
009-3,29,38,0 script Barzil NPC_LLOYD,{
if (ST_TIER == 2 && gettimetick(2) < QUEST_ELEVARTEMPO) goto L_Tier2;
- Banker(.name$, "Halinarzo", 13000);
+ Banker(.name$, "Halinarzo", 12000);
close;
L_Tier2:
diff --git a/npc/012-1/richard.txt b/npc/012-1/richard.txt
index 4ed5b4eb6..ceff3c56f 100644
--- a/npc/012-1/richard.txt
+++ b/npc/012-1/richard.txt
@@ -4,7 +4,7 @@
// Jesusalva
012-1,65,64,0 script Richard NPC_LLOYD,{
- Banker(.name$, "Halinarzo", 15000);
+ Banker(.name$, "Hurnscald", 14000);
close;
OnInit:
diff --git a/npc/functions/bank.txt b/npc/functions/bank.txt
index c56048d2b..68f6f1b85 100644
--- a/npc/functions/bank.txt
+++ b/npc/functions/bank.txt
@@ -125,9 +125,22 @@ function script Banking {
} while (true);
}
+function script BKInfo {
+ speech S_LAST_NEXT,
+ l("We organize some auction and we help local merchants to launch their businesses."),
+ l("We also feature some services like a storage and a bank for members."),
+ l("Registration is open to everybody, but newcomers need to pay a fee for all of the paperwork.");
+
+ narrator S_FIRST_BLANK_LINE,
+ l("The bank and item storage is shared between all characters within a same account."),
+ l("With it, you can safely move items and funds between your characters."),
+ l("To move between characters that are on different accounts, you have to use the Trade function.");
+ return;
+}
+
+// name, city, price
function script BKReg {
- .@price = getarg(2, 10000);
- .@price=min(2000, .@price-#BankP);
+ .@price=max(2000, getarg(2)-#BankP);
@menu=3;
do
{
@@ -152,19 +165,6 @@ function script BKReg {
return;
}
-function script BKInfo {
- speech S_LAST_NEXT,
- l("We organize some auction and we help local merchants to launch their businesses."),
- l("We also feature some services like a storage and a bank for members."),
- l("Registration is open to everybody, but newcomers need to pay a fee for all of the paperwork.");
-
- narrator S_FIRST_BLANK_LINE,
- l("The bank and item storage is shared between all characters within a same account."),
- l("With it, you can safely move items and funds between your characters."),
- l("To move between characters that are on different accounts, you have to use the Trade function.");
- return;
-}
-
// name, city, price (defaults to 10k)
function script Banker {
mesn getarg(0);
@@ -172,7 +172,7 @@ function script Banker {
next;
if (getq(General_Banker) == 0) {
- BKReg();
+ BKReg(getarg(0), getarg(1), getarg(2,10000));
} else {
do
{