summaryrefslogtreecommitdiff
path: root/npc/001-2-6
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-01-13 20:50:42 +0100
committerSaulc <lucashelaine14@gmail.com>2018-01-13 20:50:42 +0100
commit20df2abc1aca00d6aa5dc78347133890f36b32f3 (patch)
tree4ad4a8bb8b0605473a702e314799a4626347721a /npc/001-2-6
downloadserverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.tar.gz
serverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.tar.bz2
serverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.tar.xz
serverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.zip
Initial commit
Diffstat (limited to 'npc/001-2-6')
-rw-r--r--npc/001-2-6/_import.txt8
-rw-r--r--npc/001-2-6/_warps.txt3
-rw-r--r--npc/001-2-6/books.txt167
-rw-r--r--npc/001-2-6/christopher.txt69
-rw-r--r--npc/001-2-6/dolfina.txt21
-rw-r--r--npc/001-2-6/leonard.txt89
-rw-r--r--npc/001-2-6/mapflags.txt1
7 files changed, 358 insertions, 0 deletions
diff --git a/npc/001-2-6/_import.txt b/npc/001-2-6/_import.txt
new file mode 100644
index 000000000..cc06496d0
--- /dev/null
+++ b/npc/001-2-6/_import.txt
@@ -0,0 +1,8 @@
+// Map 001-2-6: First Floor
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/001-2-6/_warps.txt",
+"npc/001-2-6/books.txt",
+"npc/001-2-6/christopher.txt",
+"npc/001-2-6/dolfina.txt",
+"npc/001-2-6/leonard.txt",
+"npc/001-2-6/mapflags.txt",
diff --git a/npc/001-2-6/_warps.txt b/npc/001-2-6/_warps.txt
new file mode 100644
index 000000000..e778bf331
--- /dev/null
+++ b/npc/001-2-6/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 001-2-6: First Floor warps
+001-2-6,57,38,0 warp #001-2-6_57_38 3,0,001-2-4,57,28
diff --git a/npc/001-2-6/books.txt b/npc/001-2-6/books.txt
new file mode 100644
index 000000000..53091bdf0
--- /dev/null
+++ b/npc/001-2-6/books.txt
@@ -0,0 +1,167 @@
+// Evol scripts.
+// Authors:
+// Reid
+// WildX
+// Description:
+// Aemil
+
+001-2-6,39,41,0 script #001-2-6-Book1 NPC_NO_SPRITE,{
+
+ function read_book {
+ mes "";
+ mes col("Master Piou sat on a tree,", 9);
+ mes col("Holding a cheese in his beak.", 9);
+ mes col("Master Fluffy was attracted by the odour,", 9);
+ mes col("And tried to attract him thus.", 9);
+ next;
+ mes col("\"Mister Piou, good day to you.", 9);
+ mes col("You are a handsome and good looking bird!", 9);
+ mes col("In truth, if your song is as beautiful as your plumage,", 9);
+ mes col("You are the Phoenix of this forest.\"", 9);
+ next;
+ mes col("Hearing these words the Piou felt great joy,", 9);
+ mes col("And to demonstrate his beautiful voice,", 9);
+ mes col("He opened his mouth wide and let drop his prey.", 9);
+ mes col("The Fluffy seized it and said:", 9);
+ next;
+ mes col("\"My good Sir,", 9);
+ mes col("Know that every flatterer,", 9);
+ mes col("Lives at the expense of those who take him seriously:", 9);
+ mes col("This is a lesson that is worth a cheese no doubt.\"", 9);
+ next;
+ mes col("The Piou, embarrassed and confused,", 9);
+ mes col("Swore, though somewhat later, that he would never be ", 9);
+ mes col("tricked thus again.", 9);
+ next;
+ mes col("-- " + l("Aesop"), 9);
+ }
+
+OnShelfUse:
+ if (openbookshelf())
+ read_book;
+ close;
+
+OnUse:
+ if (openbook())
+ read_book;
+ close;
+
+OnInit:
+ .book_name$ = "The Piou and The Fluffy";
+ .sex = G_OTHER;
+ .distance = 1;
+ end;
+}
+
+001-2-6,48,41,0 script #001-2-6-Book2 NPC_NO_SPRITE,{
+
+ function read_book {
+ mes "";
+ mes col("Poem is making the words dance", 9);
+ mes col("Words become music and glance", 9);
+ mes col("Over lovers under a starry night", 9);
+ mes col("Whose eyes listen under Moonlight", 9);
+ next;
+ mes col("No matter the grammar", 9);
+ mes col("If words beat in rhythm", 9);
+ mes col("Find an order with them", 9);
+ mes col("As on anvil strikes the hammer", 9);
+ next;
+ mes col("No matter the spelling", 9);
+ mes col("Just say something sparkling", 9);
+ mes col("If not, how could CrazyKatiektch", 9);
+ mes col("Say her love to glamourous Gliktch?", 9);
+ next;
+ mes col("True be or not true be", 9);
+ mes col("That's not the question", 9);
+ mes col("And rhyming is not too", 9);
+ mes col("If you don't like to", 9);
+ mes col("Share your mind is your mission", 9);
+ mes col("Whatever inside can be", 9);
+ next;
+ mes col("Don't be shy, you are nice", 9);
+ mes col("From your mind, break the ice", 9);
+ mes col("Whatever your idea", 9);
+ mes col("It's the good one and, ahem!", 9);
+ mes col("That makes everybody", 9);
+ mes col("Able to write a poem", 9);
+ next;
+ mes col("-- " + l("Nard"), 9);
+ }
+
+OnShelfUse:
+ if (openbookshelf())
+ read_book;
+ close;
+
+OnUse:
+ if (openbook())
+ read_book;
+ close;
+
+OnInit:
+ .book_name$ = "Poem about Poems";
+ .sex = G_OTHER;
+ .distance = 1;
+ end;
+}
+
+001-2-6,43,39,0 script #001-2-6-Book3 NPC_NO_SPRITE,{
+
+ function read_book {
+ mes "";
+ mes col("Hush now and hear the chorus of the woods", 9);
+ mes col("Bent trees whistling with the beat of the drum", 9);
+ mes col("With no choir master nor voice to be sung", 9);
+ mes col("The music of the trees floats through the breeze", 9);
+ mes col("Sleep well my angel but don't follow along", 9);
+ mes col("Because the voices of death sing a sweet song", 9);
+ next;
+ mes col("-- " + l("Princess Slayer"), 9);
+ }
+
+OnShelfUse:
+ if (openbookshelf())
+ read_book;
+ close;
+
+OnUse:
+ if (openbook())
+ read_book;
+ close;
+
+OnInit:
+ .book_name$ = "Chorus of the Woods";
+ .sex = G_OTHER;
+ .distance = 1;
+ end;
+}
+
+001-2-6,54,28,0 script #001-2-6-Book4 NPC_NO_SPRITE,{
+
+ function read_book {
+ narrator S_FIRST_BLANK_LINE,
+ l("Aemil was once a magnificent land unknown to us all."),
+ l("Before the end of the Mana War, a band of adventurers formed in the Ancean region of Argaes from those who had lost their homes and families."),
+ l("They sailed from Hurnscald to Tulimshar and then Nivalis, the last permanent settlements of humans."),
+ l("There, they gathered merchants and warriors to join them in a journey to find a new land on which to live."),
+ l("The group found the support of Tulimshar's merchant lords and was given ships to sail east."),
+ l("They sailed past the Clear Sea and towards the Long Ocean which nobody had explored before."),
+ l("The newly created Fleet of Ancea travelled so far that they were never heard from again."),
+ l("Their leaders then came to the conclusion that an alliance was the only way they could survive."),
+ l("They eventually found a new land after much hardship and named it Aurora, after its beautiful sunrise."),
+ l("A great city, eventually to become larger than the cities of Ancea, rose on the coast of Aemil. This city was named Esperia."),
+ l("However..."),
+ l("The end of the story got erased, probably because of the sea water. Some pages are still missing. Thus much is lost to time, including the author's name.");
+ }
+
+OnUse:
+ if (openoldbook())
+ read_book;
+ close;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 1;
+ end;
+}
diff --git a/npc/001-2-6/christopher.txt b/npc/001-2-6/christopher.txt
new file mode 100644
index 000000000..1bef67866
--- /dev/null
+++ b/npc/001-2-6/christopher.txt
@@ -0,0 +1,69 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Librarian
+
+001-2-6,57,46,0 script Christopher NPC_CHRISTOPHER,{
+ function ghost_in_the_library
+ {
+ narrator S_LAST_NEXT,
+ l("Christopher is surrounded by the sunlight from the window.");
+
+ speech
+ l("To be a legend, you've either got to be dead or excessively old!"),
+ l("I think that I am now both..."),
+ l("I mean, I am very tired to move all of these books!");
+
+ return;
+ }
+
+ function need_help
+ {
+ speech S_LAST_NEXT,
+ l("Do you need help with something?");
+
+ switch (select(l("What kinds of books are there here?"),
+ l("You seem a bit tired sir."),
+ l("Nothing.")))
+ {
+ case 1:
+ npctalk3 l("You can find novels and poems on this floor.");
+ break;
+ case 2:
+ mes "";
+ ghost_in_the_library();
+ break;
+ case 3:
+ npctalk3 l("I love peace and quiet, that's a good choice.");
+ }
+ return;
+ }
+
+ function not_so_loud
+ {
+ npctalkonce l("This floor is reserved for quiet reading, don't speak too loud.");
+
+ return;
+ }
+
+ switch (rand(3))
+ {
+ case 0:
+ ghost_in_the_library();
+ break;
+ case 1:
+ need_help();
+ break;
+ case 2:
+ not_so_loud();
+ break;
+ }
+
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 2;
+ end;
+}
diff --git a/npc/001-2-6/dolfina.txt b/npc/001-2-6/dolfina.txt
new file mode 100644
index 000000000..8d9c1a2c4
--- /dev/null
+++ b/npc/001-2-6/dolfina.txt
@@ -0,0 +1,21 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Aemil
+
+001-2-6,31,44,0 script Dolfina NPC_ELVEN_FEMALE_READING,{
+ mesn;
+ mesq l("Stop disturbing me, I already re-read that part twice because of you!");
+
+ goto L_Close;
+
+L_Close:
+ close;
+
+OnInit:
+ .sex = G_FEMALE;
+ .distance = 2;
+ end;
+}
+
diff --git a/npc/001-2-6/leonard.txt b/npc/001-2-6/leonard.txt
new file mode 100644
index 000000000..7b238c1a0
--- /dev/null
+++ b/npc/001-2-6/leonard.txt
@@ -0,0 +1,89 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Librarian
+
+001-2-6,52,28,0 script Leonard NPC_LEONARD,{
+
+ function esperia_city
+ {
+ speech S_FIRST_BLANK_LINE,
+ l("You have put your finger on it, I am not."),
+ l("I grew up and lived a good while in Esperia, the capital city."),
+ l("This place is surrounded by two very important elements: academia and the arts. I was surrounded by theater, music, dance, museums..."),
+ l("I had a great childhood in Esperia!"),
+ l("It was wonderful.");
+
+ emotion E_HAPPY;
+
+ return;
+ }
+
+ function need_help
+ {
+ speech S_LAST_NEXT,
+ l("Do you need help with something?");
+
+ switch (select(l("What kinds of books are there here?"),
+ l("Are you a native from Artis?"),
+ l("Nothing.")))
+ {
+ case 1:
+ closedialog;
+ npctalk3 l("You can find novels and poems on this floor.");
+ break;
+ case 2:
+ esperia_city();
+ break;
+ case 3:
+ closedialog;
+ npctalk3 l("Good day to you!");
+ }
+ return;
+ }
+
+ function not_so_loud
+ {
+ npctalkonce l("This floor is reserved for quiet reading, don't speak too loud.");
+
+ return;
+ }
+
+ function miracle
+ {
+ npctalkonce l("The miracle is this: the more we share, the more we have.");
+
+ return;
+ }
+
+ function logic_wisdom
+ {
+ npctalkonce l("Logic is the beginning of wisdom, not the end.");
+
+ return;
+ }
+
+ switch (rand(4))
+ {
+ case 0:
+ logic_wisdom();
+ break;
+ case 1:
+ miracle();
+ break;
+ case 2:
+ not_so_loud();
+ break;
+ case 3:
+ need_help();
+ break;
+ }
+
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 2;
+ end;
+}
diff --git a/npc/001-2-6/mapflags.txt b/npc/001-2-6/mapflags.txt
new file mode 100644
index 000000000..f5ba3e951
--- /dev/null
+++ b/npc/001-2-6/mapflags.txt
@@ -0,0 +1 @@
+001-2-6 mapflag town