RuneHive-Game
Loading...
Searching...
No Matches
PetData.java
Go to the documentation of this file.
1package com.runehive.content.pet;
2
3import com.runehive.content.dialogue.DialogueFactory;
4import com.runehive.game.world.entity.mob.player.Player;
5
6import java.util.Arrays;
7import java.util.Optional;
8
9/**
10 * Holds the data for pets.
11 *
12 * @author Daniel
13 */
14public enum PetData {
15 BABY_DARTH("Baby Darth", 671, 5567) {
16 @Override
17 public void dialogue(DialogueFactory factory) {
18 Player player = factory.getPlayer();
19 factory.sendPlayerChat("Wakey wakey baby!");
20 factory.sendNpcChat(5567, "I'm not a baby!");
21 factory.sendOption("What's my PK'ing information?", () -> {
22 factory.sendNpcChat(5567, "You have " + player.kill + " kills and " + player.death + " deaths.",
23 "Your current killstreak is " + player.killstreak.streak + ".");
24 }, "Reset my KDR", () -> {
25 factory.sendNpcChat(5567, "That will cost you 5,000 blood money.", "Would you like to proceed?");
26 factory.sendOption("Reset my KDR", () -> {
27 if (!player.inventory.contains(13307, 5000)) {
28 factory.sendNpcChat(5567, "You don't have enough blood money!");
29 return;
30 }
31 player.kill = 0;
32 player.death = 0;
33 player.inventory.remove(13307, 5000);
34 factory.sendNpcChat(5567, "Your KDR has been reset.");
35 }, "No, don't do it", factory::clear);
36 }, "Nevermind", factory::clear);
37 factory.execute();
38 }
39 },
40 VORKI("Vorki", 21992, 8025) {
41 @Override
42 public void dialogue(DialogueFactory factory) {
43 //TODO http://oldschoolrunescape.wikia.com/wiki/Vorki
44 factory.sendPlayerChat("We have yet to add Vorki's dialogue :(");
45 factory.execute();
46 }
47 },
48 PIRATE_PETE("Pirate Pete", 7505, 4052) {
49 @Override
50 public void dialogue(DialogueFactory factory) {
51 factory.sendPlayerChat("Why does it take pirates so long to learn the alphabet?");
52 factory.sendNpcChat(4052, "Uhm I don't know.");
53 factory.sendPlayerChat("Because they can spend years at C.");
54 factory.sendNpcChat(4052, "LOOL I Get it! Aha! That was brilliant matey!");
55
56 factory.execute();
57
58 }
59 },
60 PHOENIX("Phoenix", 20693, 7368) {
61 @Override
62 public void dialogue(DialogueFactory factory) {
63 factory.sendPlayerChat("So... The Pyromancers, they're cool, right?");
64 factory.sendNpcChat(7368, "We share a common goal..");
65 factory.sendPlayerChat("Which is?");
66 factory.sendNpcChat(7368, "Keeping the cinders burning and preventing", "the long night from swallowing us all.");
67 factory.sendPlayerChat("That sounds scary.");
68 factory.sendNpcChat(7368, "As long as we remain vigilant and praise the Sun, all will be well.");
69 factory.execute();
70 }
71 },
72 HELLPUPPY("Hellpuppy", 13247, 3099) {
73 @Override
74 public void dialogue(DialogueFactory factory) {
75 factory.sendPlayerChat("How many souls have you devoured?");
76 factory.sendNpcChat(3099, "None.");
77 factory.sendPlayerChat("Awww p-");
78 factory.sendNpcChat(3099, "Yet.");
79 factory.sendPlayerChat("Oh.");
80 factory.execute();
81 }
82 },
83
84 OLMLET("Olmlet", 20851, 7519) {
85 @Override
86 public void dialogue(DialogueFactory factory) {
87 factory.sendNpcChat(7519, "Hee hee! What shall we talk about, human?");
88 factory.sendPlayerChat("Where do creatures like you come from?");
89 factory.sendNpcChat(7519, "From eggs, of course!", "You can't make an olmlet without breaking an egg.");
90 factory.sendPlayerChat("That's... informative. Thank you.");
91 factory.execute();
92 }
93 },
94 SKOTOS("Skotos", 21273, 7671) {
95 @Override
96 public void dialogue(DialogueFactory factory) {
97 factory.sendNpcChat(7370, "I do not think thou understand the depths", "of the darkness you have unleashed upon the world.", "To dub it in such a scintillant manner is offensive to mine being.");
98 factory.sendPlayerChat("So why are you following me around?");
99 factory.sendNpcChat(7370, "Dark forces of which ye know nought have deemed that this is my geas.");
100 factory.sendPlayerChat("Your goose?");
101 factory.sendNpcChat(7370, "*Sighs* Nae. But thine is well and truly cooked.");
102
103 factory.execute();
104 }
105 },
106 PRINCE_BLACK_DRAGON("Prince Black Dragon", 12653, 6636) {
107 @Override
108 public void dialogue(DialogueFactory factory) {
109 factory.sendPlayerChat("Shouldn't a prince only have two heads?");
110 factory.sendNpcChat(6636, "Why is that?");
111 factory.sendPlayerChat("Well, a standard Black dragon has one, ", "the King has three, so in between must have two?");
112 factory.sendNpcChat(6636, "You're overthinking this.");
113 factory.execute();
114 }
115 },
116 KREE("Kree'arra", 12649, 6643) {
117 @Override
118 public void dialogue(DialogueFactory factory) {
119 factory.sendPlayerChat("Huh... that's odd... I thought that would be big news.");
120 factory.sendNpcChat(6643, "You thought what would be big news?");
121 factory.sendPlayerChat("Well there seems to be an absence of a certain ", "ornithological piece: a headline regarding mass", "awareness of a certain avian variety.");
122 factory.sendNpcChat(6643, "What are you talking about?");
123 factory.sendPlayerChat("Oh have you not heard?", "It was my understanding that everyone had heard....");
124 factory.sendNpcChat(6643, "Heard wha...... OH NO!!!!?!?!!?!");
125 factory.sendPlayerChat("OH WELL THE BIRD, BIRD, BIRD, BIRD", "BIRD IS THE WORD. OH WELL THE BIRD,", "BIRD, BIRD, BIRD BIRD IS THE WORD.");
126 factory.sendStatement("There's a slight pause as Kree'Arra Jr. goes stiff.");
127 factory.execute();
128 }
129 },
130 ZILYANA("Zilyana", 12651, 6633) {
131 @Override
132 public void dialogue(DialogueFactory factory) {
133 if (factory.getPlayer().equipment.contains(11806)) {
134 factory.sendPlayerChat("I FOUND THE GODSWORD!");
135 factory.sendNpcChat(6633, "GOOD!!!!!");
136 } else {
137 factory.sendPlayerChat("FIND THE GODSWORD!");
138 factory.sendNpcChat(6633, "FIND THE GODSWORD!");
139 }
140 factory.execute();
141 }
142 },
143 TSUROTH("K'ril tsutsaroth", 12652, 6634) {
144 @Override
145 public void dialogue(DialogueFactory factory) {
146 factory.sendPlayerChat("How's life in the light?");
147 factory.sendNpcChat(6634, "Burns slightly.");
148 factory.sendPlayerChat("You seem much nicer than your father. He's mean.");
149 factory.sendNpcChat(6634, "If you were stuck in a very dark cave", "for centuries you'd be pretty annoyed too.");
150 factory.sendPlayerChat("I guess.");
151 factory.sendNpcChat(6634, "He's actually quite mellow really..");
152 factory.sendPlayerChat("Uh.... Yeah.");
153 factory.execute();
154
155 }
156 },
157 GRAARDOR("General graardor", 12650, 6644) {
158 @Override
159 public void dialogue(DialogueFactory factory) {
160 factory.sendPlayerChat("Not sure this is going to be worth my", "time but... how are you?");
161 factory.sendNpcChat(6644, "SFudghoigdfpDSOPGnbSOBNfdbd", "nopbdnopbddfnopdfpofhdARRRGGGGH");
162 factory.sendPlayerChat("Nope. Not worth it.");
163 factory.execute();
164
165 }
166 },
167 PRIME("Daggonoth prime", 12644, 6629) {
168 @Override
169 public void dialogue(DialogueFactory factory) {
170 factory.sendPlayerChat("So despite there being three kings, you're", "clearly the leader, right?");
171 factory.sendNpcChat(6629, "Yes.");
172 factory.sendPlayerChat("I'm glad I got you as a pet.");
173 factory.sendNpcChat(6629, "Ugh. Human, I'm not a pet.");
174 factory.sendPlayerChat("Stop following me then.");
175 factory.sendNpcChat(6629, "I can't seem to stop.");
176 factory.sendPlayerChat("Pet.");
177 factory.execute();
178 }
179 },
180 REX("Daggonoth rex", 12645, 6641) {
181 @Override
182 public void dialogue(DialogueFactory factory) {
183 factory.sendPlayerChat("Do you have any berserker rings?");
184 factory.sendNpcChat(6641, "Nope.");
185 factory.sendPlayerChat("You sure?");
186 factory.sendNpcChat(6641, "Yes.");
187 factory.sendPlayerChat("So, if I tipped you upside down and shook you,", "you'd not drop any berserker rings?");
188 factory.sendNpcChat(6641, "Nope.");
189 factory.sendPlayerChat("What if I endlessly killed your father for weeks on end,", "would I get one then?");
190 factory.sendNpcChat(6641, "Been done by someone, nope");
191 factory.execute();
192 }
193 },
194 SUPREME("Daggonoth supreme", 12643, 6628) {
195 @Override
196 public void dialogue(DialogueFactory factory) {
197 factory.sendPlayerChat("Hey, so err... I kind of own you now.");
198 factory.sendNpcChat(6628, "Tsssk. Next time you enter those caves,", "human, my father will be having words.");
199 factory.sendPlayerChat("Maybe next time I'll add your brothers to my collection.");
200 factory.execute();
201 }
202 },
203 CHAOS("Chaos elemental", 11995, 2055) {
204 @Override
205 public void dialogue(DialogueFactory factory) {
206 factory.sendPlayerChat("Is it true a level 3 skiller caught one of your siblings?");
207 factory.sendNpcChat(2055, "Yes, they killed my mummy, kidnapped my brother,", "smiled about it and went to sleep.");
208 factory.sendPlayerChat("Aww, well you have me now! I shall call you", "Squishy and you shall be mine and you shall be my Squishy");
209 factory.sendPlayerChat("Come on, Squishy come on, little Squishy!");
210 factory.execute();
211 }
212 },
213 KRAKEN("Kraken", 12655, 6640) {
214 @Override
215 public void dialogue(DialogueFactory factory) {
216 factory.sendPlayerChat("What's Kraken?");
217 factory.sendNpcChat(6640, "Not heard that one before.");
218 factory.sendPlayerChat("How are you actually walking on land?");
219 factory.sendNpcChat(6640, "We have another leg, just below the center of", "our body that we use to move across solid surfaces.");
220 factory.sendPlayerChat("That's.... interesting.");
221 factory.sendNpcChat(6640, "Please, let me go back to my duties now...");
222 factory.execute();
223 }
224 },
225 CALLISTO("Callisto cub", 13178, 5558) {
226 @Override
227 public void dialogue(DialogueFactory factory) {
228 factory.sendPlayerChat("Why the grizzly face?");
229 factory.sendNpcChat(5558, "You're not funny...");
230 factory.sendPlayerChat("You should get in the.... sun more.");
231 factory.sendNpcChat(5558, "You're really not funny...");
232 factory.sendPlayerChat("One second, let me take a picture of you", "with my.... kodiak camera.");
233 factory.sendNpcChat(5558, " .....");
234 factory.sendPlayerChat("Feeling.... blue.");
235 factory.sendNpcChat(5558, "If you don't stop, I'm going to leave", "some... brown... at your feet, human.");
236 factory.execute();
237 }
238 },
239 MOLE("Baby mole", 12646, 6651) {
240 @Override
241 public void dialogue(DialogueFactory factory) {
242 factory.sendPlayerChat("Hey, Mole. How is life above ground?");
243 factory.sendNpcChat(6651, "Well, the last time I was above ground,", "I was having to contend with people throwing", "snow at some weird yellow duck in my park.");
244 factory.sendPlayerChat("Why were they doing that?");
245 factory.sendNpcChat(6651, "No idea, I didn't stop to ask as an angry", "mob was closing in on them pretty quickly.");
246 factory.sendPlayerChat("Sounds awful.");
247 factory.sendNpcChat(6651, "Anyway, keep Molin'!");
248 factory.execute();
249 }
250 },
251 ZULRAH_GREEN("Snakeling", 12921, 2127) {
252 @Override
253 public void dialogue(DialogueFactory factory) {
254 factory.sendPlayerChat("Hey little snake!");
255 factory.sendNpcChat(2127, "Soon, Zulrah shall establish dominion over this plane.");
256 factory.sendPlayerChat("Wanna play fetch?");
257 factory.sendNpcChat(2127, "Submit to the almighty Zulrah.");
258 factory.sendPlayerChat("Walkies? Or slidies...?");
259 factory.sendNpcChat(2127, "Zulrah's wilderness as a God will soon be demonstrated.");
260 factory.sendPlayerChat("I give up...");
261 factory.execute();
262 }
263 },
264 ZULRAH_RED("Snakeling", 12939, 2128) {
265 @Override
266 public void dialogue(DialogueFactory factory) {
267 factory.sendPlayerChat("Hey little snake!");
268 factory.sendNpcChat(2128, "Soon, Zulrah shall establish dominion over this plane.");
269 factory.sendPlayerChat("Wanna play fetch?");
270 factory.sendNpcChat(2128, "Submit to the almighty Zulrah.");
271 factory.sendPlayerChat("Walkies? Or slidies...?");
272 factory.sendNpcChat(2128, "Zulrah's wilderness as a God will soon be demonstrated.");
273 factory.sendPlayerChat("I give up...");
274 factory.execute();
275 }
276 },
277 ZULRAH_BLUE("Snakeling", 12940, 2129) {
278 @Override
279 public void dialogue(DialogueFactory factory) {
280 factory.sendPlayerChat("Hey little snake!");
281 factory.sendNpcChat(2129, "Soon, Zulrah shall establish dominion over this plane.");
282 factory.sendPlayerChat("Wanna play fetch?");
283 factory.sendNpcChat(2129, "Submit to the almighty Zulrah.");
284 factory.sendPlayerChat("Walkies? Or slidies...?");
285 factory.sendNpcChat(2129, "Zulrah's wilderness as a God will soon be demonstrated.");
286 factory.sendPlayerChat("I give up...");
287 factory.execute();
288 }
289 },
290 KAL_PRINCESS("Kalphite Princess", 12654, 6637) {
291 @Override
292 public void dialogue(DialogueFactory factory) {
293 factory.sendPlayerChat("What is it with your kind and potato cactus?");
294 factory.sendNpcChat(6637, "Truthfully?");
295 factory.sendPlayerChat("Yeah, please.");
296 factory.sendNpcChat(6637, "Soup. We make a fine soup with it.");
297 factory.sendPlayerChat("Kalphites can cook?");
298 factory.sendNpcChat(6637, "Nah, we just collect it and put it there", "because we know fools like yourself will come", "down looking for it then inevitably be killed by my mother.");
299 factory.sendPlayerChat("Evidently not, that's how I got you!");
300 factory.sendNpcChat(6637, "Touché");
301 factory.execute();
302 }
303 },
304 VETION("Vet'ion jr.", 13179, 5560) {
305 @Override
306 public void dialogue(DialogueFactory factory) {
307 factory.sendPlayerChat("Who is the true lord and king of the lands?");
308 factory.sendNpcChat(5560, "The mighty heir and lord of the Wilderness.");
309 factory.sendPlayerChat("Where is he? Why hasn't he lifted your burden?");
310 factory.sendNpcChat(5560, "I have not fulfilled my purpose.");
311 factory.sendPlayerChat("What is your purpose?");
312 factory.sendNpcChat(5560, "Not what is, what was. A great war tore this", "land apart and, for my failings in protecting", "this land, I carry the burden of its waste.");
313 factory.execute();
314
315 }
316 },
317 VENENATIS("Venenatis spiderling", 13177, 5557) {
318 @Override
319 public void dialogue(DialogueFactory factory) {
320 factory.sendPlayerChat("It's a good thing I don't have arachnophobia.");
321 factory.sendNpcChat(5557, "We're misunderstood. Without us in your house,", "you'd be infested with flies and other REAL nasties.");
322 factory.sendPlayerChat("Thanks for that enlightening fact.");
323 factory.sendNpcChat(5557, "Everybody gets one.");
324 factory.execute();
325
326 }
327 },
328 SMOKE_DEV("Smoke devil", 12648, 6655) {
329 @Override
330 public void dialogue(DialogueFactory factory) {
331 factory.sendPlayerChat("Your kind comes in three different sizes?");
332 factory.sendNpcChat(6655, "Four, actually.");
333 factory.sendPlayerChat("Wow. Whoever created you wasn't very creative.", "You're just resized versions of one another!");
334 factory.execute();
335
336 }
337 },
338 SCORPIA("Scorpia's offspring", 13181, 5547) {
339 @Override
340 public void dialogue(DialogueFactory factory) {
341 factory.sendPlayerChat("At night time, if I were to hold ultraviolet", "light over you, would you glow?");
342 factory.sendNpcChat(5547, "Two things wrong there, human.");
343 factory.sendPlayerChat("Oh?");
344 factory.sendNpcChat(5547, "One, When has it ever been night time here?");
345 factory.sendNpcChat(5547, "Two, When have you ever seen ultraviolet light around here?");
346 factory.sendPlayerChat("Hm...");
347 factory.sendNpcChat(5547, "In answer to your question though.", "Yes I, like every scorpion, would glow.");
348 factory.execute();
349
350 }
351 },
352 CORP("Dark Core", 12816, 318) {
353 @Override
354 public void dialogue(DialogueFactory factory) {
355 factory.sendPlayerChat("Got any sigils for me?");
356 factory.sendStatement("The Core shakes its head.");
357 factory.sendPlayerChat("Oh no, Core-al!");
358 factory.sendPlayerChat("Let's bounce!");
359 factory.execute();
360
361 }
362 },
363 JAD("Tzrek-jad", 13225, 5892) {
364 @Override
365 public void dialogue(DialogueFactory factory) {
366 factory.sendPlayerChat("Do you miss your people?");
367 factory.sendNpcChat(5892, "Mej-TzTok-Jad Kot-Kl!", "(TzTok-Jad will protect us!)");
368 factory.sendPlayerChat("No.. I don't think so.");
369 factory.sendNpcChat(5892, "Jal-Zek Kl? (Foreigner hurt us?)");
370 factory.sendPlayerChat("No, no, I wouldn't hurt you.");
371 factory.execute();
372
373 }
374 },
375 ROCK_GOLEM("Rock golem", 13321, 2182) {
376 @Override
377 public void dialogue(DialogueFactory factory) {
378 factory.sendPlayerChat("So you're made entirely of rocks?");
379 factory.sendNpcChat(6716, "Not quite, my body is formed mostly of minerals.");
380 factory.sendPlayerChat("Aren't minerals just rocks?");
381 factory.sendNpcChat(6716, "No, rocks are rocks, minerals are minerals.", "I am formed from minerals.");
382 factory.sendPlayerChat("But you're a Rock Golem...");
383 factory.execute();
384
385 }
386 },
387 HERON("Heron", 13320, 6715) {
388 @Override
389 public void dialogue(DialogueFactory factory) {
390 factory.sendNpcChat(6715, "Hop inside my mouth if you want to live!");
391 factory.sendPlayerChat("I'm not falling for that... I'm not a fish!", "I've got more foresight than that.");
392 factory.execute();
393
394 }
395 },
396 BABY_CHINCHOMPA("Baby chinchompa", 13323, 6718) {
397 @Override
398 public void dialogue(DialogueFactory factory) {
399 factory.sendNpcChat(6718, "Squeak squeak!");
400 factory.execute();
401
402 }
403 },
404 GIANT_SQUIRREL("Giant squirrel", 20659, 7334) {
405 @Override
406 public void dialogue(DialogueFactory factory) {
407 factory.sendPlayerChat("So how come you are so agile?");
408 factory.sendNpcChat(7334, "If you were so nutty about nuts, maybe you", "would understand the great lengths we go to!");
409 factory.execute();
410
411 }
412 },
413 TANGLEROOT("Tangleroot", 20661, 7335) {
414 @Override
415 public void dialogue(DialogueFactory factory) {
416 factory.sendPlayerChat("How are you doing today?");
417 factory.sendNpcChat(7335, "I am Tangleroot!");
418 factory.execute();
419
420 }
421 },
422 ROCKY("Rocky", 20663, 7336) {
423 @Override
424 public void dialogue(DialogueFactory factory) {
425 factory.sendPlayerChat("*Whistles*");
426 factory.sendStatement("You slip your hand into Rocky's pocket.");
427 factory.sendNpcChat(7336, "OY!! You're going to have to do", "better than that! Sheesh, what an amateur.");
428 factory.execute();
429
430 }
431 },
432 RIFT_GUARDIAN("Rift guardian", 20665, 7337) {
433 @Override
434 public void dialogue(DialogueFactory factory) {
435 factory.sendPlayerChat("Can you see your own rift?");
436 factory.sendNpcChat(7337, "No. From time to time I feel it shift and", "change inside me though. It is an odd feeling.");
437 factory.execute();
438
439 }
440 },
441 BEAVER("Beaver", 13322, 6717) {
442 @Override
443 public void dialogue(DialogueFactory factory) {
444 factory.sendPlayerChat("How much wood could a woodchuck chuck if a", "woodchuck could chuck wood?");
445 factory.sendNpcChat(6717, "Approximately 32,768 depending on", "his woodcutting level.");
446 factory.execute();
447 }
448 };
449
450 /** The name of the pet. */
451 private final String name;
452
453 /** The item identification of the pet. */
454 private final int item;
455
456 /** The npc identification of the fucking faggot pet. */
457 private final int npc;
458
459 /** The dialogue of the pet. */
460 public abstract void dialogue(DialogueFactory factory);
461
462 /** Constructs a new <code>PetData<code>. */
463 PetData(String name, int item, int npc) {
464 this.item = item;
465 this.npc = npc;
466 this.name = name;
467 }
468
469 /** Gets the name of the pet. */
470 public String getName() {
471 return name;
472 }
473
474 /** Gets the item identification of the pet. */
475 public int getItem() {
476 return item;
477 }
478
479 /** Gets the npc identification of the pet. */
480 public int getNpc() {
481 return npc;
482 }
483
484 /** Gets the pet data based on the given item identification. */
485 public static Optional<PetData> forItem(int id) {
486 return Arrays.stream(values()).filter(a -> a.item == id).findAny();
487 }
488
489 /** Gets the pet data based on the given npc identification. */
490 public static Optional<PetData> forNpc(int id) {
491 return Arrays.stream(values()).filter(a -> a.npc == id).findAny();
492 }
493
494 /** Gets the pet data based on the given ordinal. */
495 public static Optional<PetData> forOrdinal(int ordinal) {
496 return Arrays.stream(values()).filter(pet -> pet.ordinal() == ordinal).findFirst();
497 }
498}
Represents a factory class that contains important functions for building dialogues.
final DialogueFactory execute()
Retrieves the next dialogue in the chain and executes it.
final DialogueFactory sendPlayerChat(String... lines)
Appends a PlayerDialogue to the current dialogue chain.
Player getPlayer()
The player that owns this factory.
final DialogueFactory sendNpcChat(int id, String... lines)
Appends an NpcDialogue to the current dialogue chain.
final DialogueFactory sendStatement(String... lines)
Appends a StatementDialogue to the current dialogue chain.
final DialogueFactory sendOption(String option1, Runnable action1, String option2, Runnable action2)
Appends the OptionDialogue onto the current dialogue chain.
This class represents a character controlled by a player.
Definition Player.java:125
boolean remove(Item item)
Attempts to withdraw item from this container.
boolean contains(int id)
Determines if this container contains id.
boolean contains(int[] bowsWithNoArrowsRequired)
final int npc
The npc identification of the fucking faggot pet.
Definition PetData.java:457
static Optional< PetData > forOrdinal(int ordinal)
Gets the pet data based on the given ordinal.
Definition PetData.java:495
final String name
The name of the pet.
Definition PetData.java:451
final int item
The item identification of the pet.
Definition PetData.java:454
static Optional< PetData > forNpc(int id)
Gets the pet data based on the given npc identification.
Definition PetData.java:490
PetData(String name, int item, int npc)
Constructs a new PetData.
Definition PetData.java:463
static Optional< PetData > forItem(int id)
Gets the pet data based on the given item identification.
Definition PetData.java:485
abstract void dialogue(DialogueFactory factory)
The dialogue of the pet.
String getName()
Gets the name of the pet.
Definition PetData.java:470
int getItem()
Gets the item identification of the pet.
Definition PetData.java:475
int getNpc()
Gets the npc identification of the pet.
Definition PetData.java:480