From 5d5c56b913ea5d7378954ac1be8ca400d73b2ae0 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Wed, 28 Feb 2018 03:55:24 -0300 Subject: Include petcaring book (a patch done by me) --- npc/items/books.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'npc/items') diff --git a/npc/items/books.txt b/npc/items/books.txt index 730e1efca..2b990bfe2 100644 --- a/npc/items/books.txt +++ b/npc/items/books.txt @@ -90,3 +90,35 @@ OnInit: end; } + + +000-0,0,0,0 script #Book-Petcaring NPC_HIDDEN,{ + function read_book { + narrator 1, + l("So you have now a pet, who is loyal to you. It'll follow you everywhere, but there are two things you must know."), + l("Do not let intimacy and hunger get to zero. If any of those get to zero, it'll leave you forever."), + l("Pious must keep a strict diet composed of Piberries."), + l("However, you should only give food when it's hungry, otherwise it'll believe you're a bad owner and intimacy will decrease."), + l("To perform most actions, like feeding and renaming, just right-click it. You can even put it back on the egg if its following gets too annoying."), + l("Give your pet a nice name, and keep it healthy, and you'll be a successful pet owner!"), + l("When you intimacy is high, it'll increase your stats and who knows, might even help you in combat!"), + l("...And if you're still trying to check your pet stats, just hover it with your mouse. Thanks."), + l("-- Animals Protection Agency of Aemil"); + } +OnShelfUse: + @book_name$ = .bookname$; + if (openbookshelf ()) + read_book; + close; +OnUse: + @book_name$ = .bookname$; + if (openbook ()) + read_book; + close; +OnInit: + .bookname$ = "Fluffy Animals who Love Their Owners"; + .sex = G_OTHER; + .distance = 1; + end; +} + -- cgit v1.2.3-70-g09d2