diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-28 14:50:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-28 14:50:12 -0300 |
commit | 32a6889ee855a22908d0e4827769c4da3e2cd751 (patch) | |
tree | 6a2a4f82013f7ca933ea05914eee1c88730e18aa /npc/functions | |
parent | ea0762658f2b59aff311c9e686f235674d0e0797 (diff) | |
download | serverdata-32a6889ee855a22908d0e4827769c4da3e2cd751.tar.gz serverdata-32a6889ee855a22908d0e4827769c4da3e2cd751.tar.bz2 serverdata-32a6889ee855a22908d0e4827769c4da3e2cd751.tar.xz serverdata-32a6889ee855a22908d0e4827769c4da3e2cd751.zip |
Clean up
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/openbook.txt | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/npc/functions/openbook.txt b/npc/functions/openbook.txt index 0278415ce..7cf87dd40 100644 --- a/npc/functions/openbook.txt +++ b/npc/functions/openbook.txt @@ -9,9 +9,8 @@ function script openbook { .@book_name$ = "\"" + l(getarg(0, getvariableofnpc(.book_name$, strnpcinfo(0)))) + "\""; - narrator S_LAST_NEXT, - l("You open a book named @@.", .@book_name$), - l("Do you want to read it?"); + mesc l("You open a book named @@. Do you want to read it?", .@book_name$); + next; return (select("Yes.", "No.") == 1); } @@ -20,17 +19,9 @@ function script openbookshelf { .@book_name$ = "\"" + l(getarg(0, getvariableofnpc(.book_name$, strnpcinfo(0)))) + "\""; narrator S_LAST_NEXT, - l("You see a dust covered book on the shelf..."), - l("The name of the book is @@.", .@book_name$), + l("You see a dust covered book on the shelf... The name of the book is @@.", .@book_name$), l("Do you want to read it?"); return (select("Yes.", "No.") == 1); } -function script openoldbook { - 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?"); - - return (select("Yes.", "No.") == 1); -} |