summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2017-08-19 20:52:06 +0200
committerReid <reidyaro@gmail.com>2017-08-19 20:52:06 +0200
commit4a3d156faea0b1b4eaa16bb5039327a9862f3449 (patch)
tree20c106547cbaea404186596dcd1c1bd277163469
parentc070bcd6916c367744eaea185f0cd83352cb7475 (diff)
downloadserverdata-4a3d156faea0b1b4eaa16bb5039327a9862f3449.tar.gz
serverdata-4a3d156faea0b1b4eaa16bb5039327a9862f3449.tar.bz2
serverdata-4a3d156faea0b1b4eaa16bb5039327a9862f3449.tar.xz
serverdata-4a3d156faea0b1b4eaa16bb5039327a9862f3449.zip
Fix openbook() formating (extra flags and function calls).
-rw-r--r--npc/functions/openbook.txt14
1 files changed, 5 insertions, 9 deletions
diff --git a/npc/functions/openbook.txt b/npc/functions/openbook.txt
index 9153900e..a46d957c 100644
--- a/npc/functions/openbook.txt
+++ b/npc/functions/openbook.txt
@@ -9,10 +9,8 @@
function script openbook {
.@book_name$ = "\"" + l(getarg(0, getvariableofnpc(.book_name$, strnpcinfo(0)))) + "\"";
- narrator 4,
- l("You open a book named @@.", .@book_name$);
-
- narrator 8,
+ narrator S_LAST_NEXT,
+ l("You open a book named @@.", .@book_name$),
l("Do you want to read it?");
return (select ("Yes.", "No.") == 1);
@@ -21,18 +19,16 @@ function script openbook {
function script openbookshelf {
.@book_name$ = "\"" + l(getarg(0, getvariableofnpc(.book_name$, strnpcinfo(0)))) + "\"";
- narrator 4,
+ narrator S_LAST_NEXT,
l("You see a dust covered book on the shelf..."),
- l("The name of the book is @@.", .@book_name$);
-
- narrator 8,
+ l("The name of the book is @@.", .@book_name$),
l("Do you want to read it?");
return (select ("Yes.", "No.") == 1);
}
function script openoldbook {
- narrator 4,
+ narrator S_LAST_NEXT,
l("You open the book, but it looks like the sea water and time damaged it severely. Some pages are not readable anymore. Some others are simply missing."),
l("The old book seems to tell about the legend of Aemil. Would you like to read it?");