From cf18ce071c79ae37e14ea38943e0b1d88da70a7b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 13:33:57 -0300 Subject: Override --- npc/functions/openbook.txt | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 npc/functions/openbook.txt (limited to 'npc/functions/openbook.txt') diff --git a/npc/functions/openbook.txt b/npc/functions/openbook.txt deleted file mode 100644 index cb1a0b11..00000000 --- a/npc/functions/openbook.txt +++ /dev/null @@ -1,34 +0,0 @@ -// Evol functions. -// Author: -// Reid -// Description: -// Narrator dialogue to show the selected book. - -function script openbook { - .@book_name$ = getarg(0, getvariableofnpc(.book_name$, strnpcinfo(0))); - - narrator(S_LAST_NEXT, - l("You open a book named \"%s\".", .@book_name$), - l("Do you want to read it?")); - - return (select("Yes.", "No.") == 1); -} - -function script openbookshelf { - .@book_name$ = 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 \"%s\".", .@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); -} -- cgit v1.2.3-70-g09d2