summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-22 16:05:35 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-22 16:05:35 -0300
commita7efab267cbf5e3c0a47ac190686808eb1d19722 (patch)
tree117cb004bb085bf0aa949825ff506419b785b539 /npc
parente7cc836c0f7497bc2778f627ba20aaf05d0f0ad9 (diff)
downloadserverdata-a7efab267cbf5e3c0a47ac190686808eb1d19722.tar.gz
serverdata-a7efab267cbf5e3c0a47ac190686808eb1d19722.tar.bz2
serverdata-a7efab267cbf5e3c0a47ac190686808eb1d19722.tar.xz
serverdata-a7efab267cbf5e3c0a47ac190686808eb1d19722.zip
Apply same to Petcaring book. You don't need to purchase it once you get JSaves
Grimorium.
Diffstat (limited to 'npc')
-rw-r--r--npc/items/books.txt37
1 files changed, 24 insertions, 13 deletions
diff --git a/npc/items/books.txt b/npc/items/books.txt
index 4aee90ca8..c1d208acd 100644
--- a/npc/items/books.txt
+++ b/npc/items/books.txt
@@ -97,21 +97,28 @@ OnInit:
+function script PetcaringBook {
+ 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("Pets must keep a strict diet. Pious eats Piberries, Bhoppers eat Aquadas, and Maggots eats Bug Legs."),
+ l("White Cats drink Milk, Forest Mushroom eats Moss, Black Cats eats marshmallow. Keep in mind whatever they eat."),
+ 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("Dying will also decrease the pet intimacy, and there are bonuses when your intimacy is high!"),
+ 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. When in the egg, they will not feel hunger."),
+ l("Give your pet a nice name, and keep it healthy, and you'll be a successful pet owner!"),
+ l("Some pets will also collect loot for you, right click on it so it drop whatever it is holding for you."),
+ l("...And if you're still trying to check your pet stats, just hover it with your mouse. Thanks."),
+ l("-- Animals Protection Agency of Hurnscald");
+ return;
+}
+
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("Pets must keep a strict diet. Pious eats Piberries, Bhoppers eat Aquadas, and Maggots eats Bug Legs."),
- l("White Cats drink Milk, Forest Mushroom eats Moss, Black Cats eats marshmallow. Keep in mind whatever they eat."),
- 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("Dying will also decrease the pet intimacy, and there are bonuses when your intimacy is high!"),
- 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. When in the egg, they will not feel hunger."),
- l("Give your pet a nice name, and keep it healthy, and you'll be a successful pet owner!"),
- l("Some pets will also collect loot for you, right click on it so it drop whatever it is holding for you."),
- l("...And if you're still trying to check your pet stats, just hover it with your mouse. Thanks."),
- l("-- Animals Protection Agency of Hurnscald");
+ PetcaringBook();
+ close;
}
+
OnShelfUse:
@book_name$ = .bookname$;
if (openbookshelf ())
@@ -174,7 +181,8 @@ OnInit:
rif( MAGIC_EXP ,rif(@menu == 2, "► ") + l("Ch 2 — Mana Magic vs Common Magic")),
rif( MAGIC_LVL >= 2 ,rif(@menu == 3, "► ") + l("Ch 3 — Subclass")),
rif( true ,rif(@menu == 4, "► ") + l("Open Fishing Book")),
- rif( true ,rif(@menu == 5, "► ") + l("Read Rules")),
+ rif( true ,rif(@menu == 5, "► ") + l("Open Petcaring Book")),
+ rif( true ,rif(@menu == 6, "► ") + l("Read Rules")),
l("Close");
switch(@menu)
@@ -267,6 +275,9 @@ OnInit:
FishingBook();
break;
case 5:
+ PetcaringBook();
+ break;
+ case 6:
GameRules();
break;
default: