summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-01-27 16:43:43 +0100
committerSaulc <lucashelaine14@gmail.com>2018-01-27 16:43:43 +0100
commitd35035ce81bbcfb788b4d11865269b1fb1726843 (patch)
tree44868bbc683e97028db5bf814591a7deb5143ee5 /npc
parentb25a8c5bb48b2694c47425e084f39ea673b407d2 (diff)
downloadserverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.tar.gz
serverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.tar.bz2
serverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.tar.xz
serverdata-d35035ce81bbcfb788b4d11865269b1fb1726843.zip
add npc in 003-2
Diffstat (limited to 'npc')
-rw-r--r--npc/001-2-9/janus.txt2
-rw-r--r--npc/003-2/_import.txt3
-rw-r--r--npc/003-2/estard.txt125
-rw-r--r--npc/005-1/_import.txt2
-rw-r--r--npc/005-1/_mobs.txt2
-rw-r--r--npc/005-1/_warps.txt2
-rw-r--r--npc/005-5/nylo.txt165
-rw-r--r--npc/_import.txt1
8 files changed, 298 insertions, 4 deletions
diff --git a/npc/001-2-9/janus.txt b/npc/001-2-9/janus.txt
index a652a7c5e..2f19b1b9a 100644
--- a/npc/001-2-9/janus.txt
+++ b/npc/001-2-9/janus.txt
@@ -14,7 +14,7 @@
001-2-9,30,28,0 script Janus NPC_JANUS,{
function create_party {
- .@party_price = 1000;
+ .@party_price = 10000;
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Creating a party has some advantages, it's a pretty good choice!"),
diff --git a/npc/003-2/_import.txt b/npc/003-2/_import.txt
new file mode 100644
index 000000000..3cac95565
--- /dev/null
+++ b/npc/003-2/_import.txt
@@ -0,0 +1,3 @@
+// Map 003-2: Tulimshar Guild House
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/003-2/estard.txt",
diff --git a/npc/003-2/estard.txt b/npc/003-2/estard.txt
new file mode 100644
index 000000000..43ae3602d
--- /dev/null
+++ b/npc/003-2/estard.txt
@@ -0,0 +1,125 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Light Armor shop keeper.
+// Variables:
+// ArtisQuests_Enora
+// Values:
+// 0 Default.
+// 1 BlackSmith quest delivered.
+// 2 Chelios Quest given.
+// 3 Chelios Quest done.
+// 4 BlackSmith gave the sword.
+// 5 Light Armor Shop quest delivered.
+// 6 Light Armor Shop gave the cloths.
+
+003-2,24,26,0 script Estard NPC_ELVEN_FEMALE_ARMOR_SHOP,{
+
+ function create_party {
+ .@party_price = 10000;
+
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
+ l("Creating a party has some advantages, it's a pretty good choice!"),
+ l("I remember when I created my first party, we were amazed to share some experience with a small group of adventurer..."),
+ l("Oh! And our party chat was really entertaining, I do highly recommend you to share this fun as well."),
+ lg("The cost to create a party is @@ E, are you interested?",
+ "The cost to create a party is @@ E, are you interested?", .@party_price);
+
+ if (askyesno() == 1)
+ {
+ if (Zeny < .@party_price)
+ {
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You don't have enough money, bring @@ E.", .@party_price);
+ }
+ else
+ {
+ Zeny = Zeny - .@party_price;
+ setq General_Janus, 2;
+ skill NV_BASIC, 7, 0;
+
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("Awesome, come back if you ever want to create a larger group!");
+ }
+ }
+ }
+
+
+ function explain_service {
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
+ l("You are on the human resource wing of the Town Hall."),
+ l("We offer party and guild certifications and we can also teach you how to use some basic communication skills."),
+ l("Do you know how to speak with people around you?");
+
+ if (askyesno() == 2)
+ {
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
+ l("You lack some very basic skills...");
+
+ if (compareandsetq(General_Janus, 0, 1))
+ {
+ speech S_LAST_NEXT | S_NO_NPC_NAME,
+ l("This book contains everything you should know about it, take it!");
+
+ inventoryplace CommunicationTheory, 1;
+ getitem CommunicationTheory, 1;
+ }
+ else
+ {
+ speech S_LAST_NEXT | S_NO_NPC_NAME,
+ l("You can read the book that I gave you earlier at the library if you lost it.");
+ }
+ }
+ else
+ {
+ if (compareandsetq(General_Janus, 0, 1))
+ {
+ speech S_LAST_NEXT | S_NO_NPC_NAME,
+ l("Anyway."),
+ l("This book contains everything you should know about it, take it!");
+
+ inventoryplace CommunicationTheory, 1;
+ getitem CommunicationTheory, 1;
+ }
+
+ }
+
+ return;
+ }
+
+
+ speech S_LAST_NEXT,
+ lg("Welcome miss.", "Good day sir.");
+
+ do
+ {
+ // Beta users by-pass check.
+ if (getskilllv(NV_BASIC) > 6 && getq(General_Janus) == 1)
+ {
+ setq General_Janus, 2;
+ }
+
+ select
+ rif(getq(General_Janus) == 1, l("I would like to create a party.")),
+ l("What service do you offer?"),
+ menuaction(l("Quit"));
+
+ switch (@menu)
+ {
+ case 1:
+ create_party;
+ break;
+ case 2:
+ explain_service;
+ break;
+ }
+ } while (@menu != 3);
+
+ closedialog;
+ goodbye;
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 3;
+ end;
+}
diff --git a/npc/005-1/_import.txt b/npc/005-1/_import.txt
index 08601d0bf..1159841a8 100644
--- a/npc/005-1/_import.txt
+++ b/npc/005-1/_import.txt
@@ -1,4 +1,4 @@
-// Map 005-1: Drasil Island
+// Map 005-1: Candor Island
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/005-1/_mobs.txt",
"npc/005-1/_warps.txt",
diff --git a/npc/005-1/_mobs.txt b/npc/005-1/_mobs.txt
index 8c30dfb07..22191540a 100644
--- a/npc/005-1/_mobs.txt
+++ b/npc/005-1/_mobs.txt
@@ -1,5 +1,5 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Map 005-1: Drasil Island mobs
+// Map 005-1: Candor Island mobs
005-1,36,40,2,1 monster CloverPatch 1028,1,35000,300000
005-1,23,56,1,0 monster IronFragments 1058,1,35000,300000
005-1,63,84,7,6 monster Maggot 1030,8,35000,300000
diff --git a/npc/005-1/_warps.txt b/npc/005-1/_warps.txt
index 30a459eba..558d5242b 100644
--- a/npc/005-1/_warps.txt
+++ b/npc/005-1/_warps.txt
@@ -1,5 +1,5 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Map 005-1: Drasil Island warps
+// Map 005-1: Candor Island warps
005-1,43,107,0 warp #005-1_43_107 0,0,000-2-0,21,28
005-1,31,80,0 warp #005-1_31_80 0,0,005-2,33,42
005-1,34,74,0 warp #005-1_34_74 0,0,005-3,25,42
diff --git a/npc/005-5/nylo.txt b/npc/005-5/nylo.txt
index 503824916..c60c0239a 100644
--- a/npc/005-5/nylo.txt
+++ b/npc/005-5/nylo.txt
@@ -3,6 +3,171 @@
005-5,27,38,0 script Nylo NPC_PLAYER,{
+ function nylo_close {
+ close;
+ }
+
+ function nylo_thanks {
+ speech S_LAST_BLANK_LINE,
+ l("[Nyle]"),
+ l("You are very welcome.");
+ close;
+ }
+
+ function nylo_items2 {
+ speech S_LAST_BLANK_LINE,
+ l("[Nyle]"),
+ l("Let Cynric open your storage. You might also want to open your inventory."),
+ l("Pick an item from either storage or inventory and choose what you want to do with it by clicking the right button."),
+ l("You can also pick and drag items from one window into the other but this will move all items of this kind.");
+ next;
+ speech S_LAST_BLANK_LINE,
+ l("Items in your storage are totally safe. Banking itself is totally safe.");
+ do
+ {
+ select
+ l("Thanks!");
+
+ switch (@menu)
+ {
+ case 1:
+ nylo_thanks;
+ break;
+ }
+ } while (@menu != 1);
+ }
+
+ function nylo_money2 {
+ speech S_LAST_BLANK_LINE,
+ l("[Nyle]"),
+ l("That's easy. Cynric will save your money when you ask him to deposit. Or you pick up your money by asking to withdraw."),
+ l("You only have to tell him how much you want to deposit or withdraw."),
+ l("Also you can ask how much he already save for you by checking your balance.");
+ next;
+ speech S_LAST_BLANK_LINE,
+ l("Money in your storage is totally safe. Banking itself is totally safe.");
+
+ do
+ {
+ select
+ l("Thanks!");
+
+ switch (@menu)
+ {
+ case 1:
+ nylo_thanks;
+ break;
+ }
+ } while (@menu != 1);
+ }
+
+ function nylo_items {
+ speech S_LAST_BLANK_LINE,
+ l("[Nyle]"),
+ l("Let Cynric open your storage. You might also want to open your inventory."),
+ l("Pick an item from either storage or inventory and choose what you want to do with it by clicking the right button."),
+ l("You can also pick and drag items from one window into the other but this will move all items of this kind.");
+ next;
+ speech S_LAST_BLANK_LINE,
+ l("Items in your storage are totally safe. Banking itself is totally safe.");
+ do
+ {
+ select
+ l("And how do I save money?"),
+ l("Thanks!");
+
+ switch (@menu)
+ {
+ case 1:
+ nylo_money2;
+ break;
+ case 2:
+ nylo_thanks;
+ break;
+ }
+ } while (@menu != 2);
+ }
+
+ function nylo_money {
+ speech S_LAST_BLANK_LINE,
+ l("[Nyle]"),
+ l("That's easy. Cynric will save your money when you ask him to deposit. Or you pick up your money by asking to withdraw."),
+ l("You only have to tell him how much you want to deposit or withdraw."),
+ l("Also you can ask how much he already save for you by checking your balance.");
+ next;
+ speech S_LAST_BLANK_LINE,
+ l("Money in your storage is totally safe. Banking itself is totally safe.");
+
+ do
+ {
+ select
+ l("And how do I save items?"),
+ l("Thanks!");
+
+ switch (@menu)
+ {
+ case 1:
+ nylo_items2;
+ break;
+ case 2:
+ nylo_thanks;
+ break;
+ }
+ } while (@menu != 2);
+ }
+
+ function nylo_eplain {
+ speech S_LAST_BLANK_LINE,
+ l("[Nyle]"),
+ l("There are banks all over the world. Usually every important village or city has one."),
+ l("You can save both items and money at a bank.");
+
+ do
+ {
+ select
+ l("How do I save items?"),
+ l("How do I save money?"),
+ l("Thanks!");
+
+ switch (@menu)
+ {
+ case 1:
+ nylo_items;
+ break;
+ case 2:
+ nylo_money;
+ break;
+ case 3:
+ nylo_thanks;
+ break;
+ }
+ } while (@menu != 3);
+ }
+
+ speech S_LAST_BLANK_LINE,
+ l("[Nyle]"),
+ l("Visiting the bank too right? We're only a small village but Cynric is the best bank guy I know.");
+
+ do
+ {
+ select
+ l("Yeah, you're right."),
+ l("What is banking?");
+ switch (@menu)
+ {
+ case 1:
+ nylo_close;
+ break;
+ case 2:
+ nylo_eplain;
+ break;
+ }
+ } while (@menu != 2);
+
+ closedialog;
+ goodbye;
+ close;
+
OnInit:
.sex = G_MALE;
.distance = 3;
diff --git a/npc/_import.txt b/npc/_import.txt
index fbebc881b..f784e93b3 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -64,6 +64,7 @@
@include "npc/003-2-0/_import.txt"
@include "npc/003-2-1/_import.txt"
@include "npc/003-2-2/_import.txt"
+@include "npc/003-2/_import.txt"
@include "npc/005-1/_import.txt"
@include "npc/005-2/_import.txt"
@include "npc/005-3/_import.txt"