diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-29 06:00:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-29 06:00:45 -0300 |
commit | edf3a89db881ad27994baf0ba6da5a8d144faf8f (patch) | |
tree | 0044d8cf9af9cf57519a2b52e0100c4805f5ab4d /npc/items | |
parent | d4e78a6cd27b8d1d8a6dd85a8edeccfdde965cd6 (diff) | |
download | serverdata-edf3a89db881ad27994baf0ba6da5a8d144faf8f.tar.gz serverdata-edf3a89db881ad27994baf0ba6da5a8d144faf8f.tar.bz2 serverdata-edf3a89db881ad27994baf0ba6da5a8d144faf8f.tar.xz serverdata-edf3a89db881ad27994baf0ba6da5a8d144faf8f.zip |
Moggun pet. Also, add all pets and their food to Jesusaves Grimorium
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/books.txt | 49 |
1 files changed, 46 insertions, 3 deletions
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: |