summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-04-11 03:57:39 +0200
committerReid <reidyaro@gmail.com>2016-04-11 03:57:39 +0200
commitb45c819bbe961528982ad24a34ff8406679034fa (patch)
tree63cd7d962a6f4bf2c106bcb39ba61b135357c956
parentf18da3e228219969b2d34fdd6847393a122376f2 (diff)
downloadserverdata-b45c819bbe961528982ad24a34ff8406679034fa.tar.gz
serverdata-b45c819bbe961528982ad24a34ff8406679034fa.tar.bz2
serverdata-b45c819bbe961528982ad24a34ff8406679034fa.tar.xz
serverdata-b45c819bbe961528982ad24a34ff8406679034fa.zip
Add a new book on 001-2-5 (library).
-rw-r--r--npc/001-2-5/_import.txt1
-rw-r--r--npc/001-2-5/books.txt36
2 files changed, 37 insertions, 0 deletions
diff --git a/npc/001-2-5/_import.txt b/npc/001-2-5/_import.txt
index aa10f716..15c10ad5 100644
--- a/npc/001-2-5/_import.txt
+++ b/npc/001-2-5/_import.txt
@@ -1,2 +1,3 @@
+npc: npc/001-2-5/books.txt
npc: npc/001-2-5/mapflags.txt
npc: npc/001-2-5/_warps.txt
diff --git a/npc/001-2-5/books.txt b/npc/001-2-5/books.txt
new file mode 100644
index 00000000..7e361ec6
--- /dev/null
+++ b/npc/001-2-5/books.txt
@@ -0,0 +1,36 @@
+// Evol scripts.
+// Authors:
+// Reid
+// Description:
+// Aemil
+
+001-2-5,30,32,0 script #001-2-5-Book1 NPC_NO_SPRITE,{
+
+ function read_book {
+ narrator 1,
+ l("There are two kinds of dialogue, the one with citizen, and the one with other adventurer."),
+ l("When you go near a villager, you can see a speech bubble ahead of him, you can then talk to him by pressing the [T] key."),
+ l("You can select a specific person with the [N] key, and then, press the [T] key when you are surrounded by more than one person."),
+ l("You can also simply talk to any citizen around you by clicking on them."),
+ l("Nevertheless, you can talk with another adventurer by pressing the [Enter] key and then type what you want say!"),
+ l("If you have to say something to a specific player, you can type \"\\query Playername\" or \"\\whisper Playername message\", this will create a new tab on your chat window.");
+ }
+
+OnShelfUse:
+ @book_name$ = .bookname$;
+ if (openbookshelf ())
+ read_book;
+ close;
+
+OnUse:
+ @book_name$ = .bookname$;
+ if (openbook ())
+ read_book;
+ close;
+
+OnInit:
+ .bookname$ = "Communication Theory";
+ .sex = G_OTHER;
+ .distance = 1;
+ end;
+}