From edf3a89db881ad27994baf0ba6da5a8d144faf8f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Jul 2020 06:00:45 -0300 Subject: Moggun pet. Also, add all pets and their food to Jesusaves Grimorium --- npc/items/books.txt | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 3 deletions(-) (limited to 'npc/items') diff --git a/npc/items/books.txt b/npc/items/books.txt index 49951e5b6..2dcf4c032 100644 --- a/npc/items/books.txt +++ b/npc/items/books.txt @@ -183,8 +183,9 @@ OnInit: rif2(3, MAGIC_LVL, l("Ch 3 — Status Ailments")), rif2(4, true, l("Open Fishing Book")), rif2(5, true, l("Open Petcaring Book")), - rif2(6, CRAFTQUEST, l("Open Recipe Book")), - rif2(7, true, l("Read Rules")), + rif2(6, getq(LoFQuest_Pets), l("List of Unlocked Pets and Food")), + rif2(7, CRAFTQUEST, l("Open Recipe Book")), + rif2(8, true, l("Read Rules")), l("Close"); mes ""; @@ -240,11 +241,53 @@ OnInit: PetcaringBook(); break; case 6: + mesf(".:: %s ::.", l("Grand Hunter Quest")); + if (PDQ_CheckGHQ(Maggot) >= 10000) + mesf("%s - %s", + getmonsterlink(Maggot), getitemlink(BugLeg)); + if (PDQ_CheckGHQ(ForestMushroom) >= 10000) + mesf("%s - %s", + getmonsterlink(ForestMushroom), getitemlink(Moss)); + if (PDQ_CheckGHQ(Fluffy) >= 10000) + mesf("%s - %s", + getmonsterlink(Fluffy), getitemlink(LettuceLeaf)); + if (PDQ_CheckGHQ(Duck) >= 10000) + mesf("%s - %s", + getmonsterlink(Duck), getitemlink(CherryCake)); + if (PDQ_CheckGHQ(Bat) >= 10000) + mesf("%s - %s", + getmonsterlink(Bat), getitemlink(RoastedMaggot)); + if (PDQ_CheckGHQ(Moggun) >= 10000) + mesf("%s - %s", + getmonsterlink(Moggun), getitemlink(MoubooSteak)); + if (#LOGIN_ALLTIME >= 6) + mesf("%s - %s", + getmonsterlink(Piou), getitemlink(Piberries)); + next; + mesf(".:: %s ::.", l("Special Event Pets")); + if (countitem(Ratte)) + mesf("%s - %s", + getmonsterlink(Ratto), getitemlink(Cheese)); + if (countitem(BhopEgg)) + mesf("%s - %s", + getmonsterlink(BhopFluffy), getitemlink(Aquada)); + if (countitem(DoggyDog)) + mesf("%s - %s", + getmonsterlink(Toto), getitemlink(AnimalBones)); + if (countitem(CattyCat)) + mesf("%s - %s", + getmonsterlink(WhiteCat), getitemlink(Milk)); + if (countitem(BlackyCat)) + mesf("%s - %s", + getmonsterlink(BlackCat), getitemlink(Mashmallow)); + next; + break; + case 7: closeclientdialog; doevent("#RecipeBook::OnUse"); end; break; - case 7: + case 8: GameRules(); break; default: -- cgit v1.2.3-60-g2f50