summaryrefslogtreecommitdiff
path: root/npc/012-2-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-27 14:56:31 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-27 14:56:31 -0300
commit347df5f615f1886961138b9372b53c60513df7be (patch)
treee4c1201c157560611075ccd243a44b96f279b4e2 /npc/012-2-3
parent00e39161670779562498528e6cfde20528739a39 (diff)
parent19ff29792c7767788255409755ace832a7396da0 (diff)
downloadserverdata-jesusalva/serena.tar.gz
serverdata-jesusalva/serena.tar.bz2
serverdata-jesusalva/serena.tar.xz
serverdata-jesusalva/serena.zip
Merge branch 'master' into jesusalva/serenajesusalva/serena
Diffstat (limited to 'npc/012-2-3')
-rw-r--r--npc/012-2-3/cynric.txt36
-rw-r--r--npc/012-2-3/nyle.txt58
2 files changed, 86 insertions, 8 deletions
diff --git a/npc/012-2-3/cynric.txt b/npc/012-2-3/cynric.txt
index 83e2c00b..e243c30f 100644
--- a/npc/012-2-3/cynric.txt
+++ b/npc/012-2-3/cynric.txt
@@ -6,13 +6,41 @@
// THIS IS A PLACEHOLDER!
012-2-3,27,28,0 script Cynric NPC_CYNRIC,{
- speech
- l("Welcome."),
- l("Someone was too lazy to even write a placeholder text, so please come back later");
+ mesn;
+ mesq l("Welcome to Candor's Bank!");
+ next;
+
+ do
+ {
+ select
+ l("I would like to store some items."),
+ l("I would like to perform money transactions."),
+ menuaction(l("Quit"));
+
+ mes "";
+
+ switch (@menu) {
+ case 1:
+ mesn;
+ mesq l("Sure thing! I'll have your items transported here from Artis before you realize!");
+ next;
+ closeclientdialog();
+ openstorage();
+ close;
+ case 2:
+ MerchantGuild_Bank();
+ break;
+ default:
+ closeclientdialog;
+ goodbye;
+ close;
+ }
+
+ } while (true);
close;
OnInit:
.sex = G_MALE;
- .distance = 2;
+ .distance = 4;
end;
}
diff --git a/npc/012-2-3/nyle.txt b/npc/012-2-3/nyle.txt
index 0c81127a..269bb20f 100644
--- a/npc/012-2-3/nyle.txt
+++ b/npc/012-2-3/nyle.txt
@@ -6,13 +6,63 @@
// THIS IS A PLACEHOLDER!
012-2-3,42,30,0 script Nyle NPC_NYLE,{
- speech
- l("Welcome."),
- l("Someone was too lazy to even write a placeholder text, so please come back later");
+ mesn;
+ mesq l("Welcome to my fine shop.");
+ next;
+ closeclientdialog;
+ shop .name$;
close;
OnInit:
.sex = G_MALE;
- .distance = 2;
+ .distance = 4;
+ tradertype(NST_MARKET);
+
+ // Equips
+ sellitem BrimmedHat, -1, 35;
+ sellitem Armbands, -1, 20;
+ sellitem IronArmbands, -1, 20;
+ sellitem BrownTrousers, -1, 30;
+ sellitem LousyMoccasins, -1, 20;
+ sellitem WoodenSword, -1, 50;
+ sellitem PiouSlayer, -1, 15;
+ sellitem LeatherShield, -1, 30;
+ sellitem TrainingArrow, -1, 20000;
+
+ // Edible
+ sellitem Bread, -1, 15;
+ sellitem CommonCarp, -1, 8;
+ sellitem GrassCarp, -1, 7;
+ sellitem PiberriesInfusion, -1, 200;
+ sellitem FatesPotion, -1, 100;
+ sellitem ClothoLiquor, -1, 50;
+ sellitem LachesisBrew, -1, 30;
+ sellitem AtroposMixture, -1, 10;
+ sellitem ElixirOfLife, -1, 2;
+
+ // Misc
+ sellitem PiouEgg, -1, 25;
+ end;
+
+OnClock0001:
+ restoreshopitem BrimmedHat, 35;
+ restoreshopitem Armbands, 20;
+ restoreshopitem IronArmbands, 20;
+ restoreshopitem BrownTrousers, 30;
+ restoreshopitem LousyMoccasins, 20;
+ restoreshopitem WoodenSword, 50;
+ restoreshopitem PiouSlayer, 15;
+ restoreshopitem LeatherShield, 30;
+ restoreshopitem TrainingArrow, 20000;
+ restoreshopitem Bread, 15;
+ restoreshopitem CommonCarp, 8;
+ restoreshopitem GrassCarp, 7;
+ restoreshopitem PiberriesInfusion, 200;
+ restoreshopitem FatesPotion, 100;
+ restoreshopitem ClothoLiquor, 50;
+ restoreshopitem LachesisBrew, 30;
+ restoreshopitem AtroposMixture, 10;
+ restoreshopitem ElixirOfLife, 2;
+ restoreshopitem PiouEgg, 25;
end;
}