diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-28 03:55:24 -0300 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-28 03:55:24 -0300 |
commit | 5d5c56b913ea5d7378954ac1be8ca400d73b2ae0 (patch) | |
tree | c30f2ed01a222722472b0f63a0a1308d02865228 /npc/items | |
parent | a5f1f39147ba6635bc191106c7ee346e2ccce5d9 (diff) | |
download | serverdata-5d5c56b913ea5d7378954ac1be8ca400d73b2ae0.tar.gz serverdata-5d5c56b913ea5d7378954ac1be8ca400d73b2ae0.tar.bz2 serverdata-5d5c56b913ea5d7378954ac1be8ca400d73b2ae0.tar.xz serverdata-5d5c56b913ea5d7378954ac1be8ca400d73b2ae0.zip |
Include petcaring book (a patch done by me)
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/books.txt | 32 |
1 files changed, 32 insertions, 0 deletions
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; +} + |