35 for (
int cacheIndex = 0; cacheIndex < 20; cacheIndex++)
41 buffer.position =
offsets[npcId];
42 entityDef.interfaceType = npcId;
45 entityDef.combatLevel = 1;
50 entityDef.actions =
new String[5];
51 entityDef.
actions[0] =
"Talk-to";
54 entityDef.name =
"Darth Pker";
55 entityDef.description =
"The hunter of bounties".getBytes();
58 entityDef.actions =
new String[5];
59 entityDef.
actions[0] =
"Talk-to";
60 entityDef.
actions[2] =
"Pick-up";
61 entityDef.standingAnimation = 813;
62 entityDef.walkingAnimation = 1146;
63 entityDef.widthScale = 85;
64 entityDef.heightScale = 85;
65 entityDef.name =
"Baby Darth";
66 entityDef.description =
"The baby hunter of bounties".getBytes();
69 entityDef.actions =
new String[5];
73 entityDef.name =
"osroyale Vote Agent";
74 entityDef.actions =
new String[5];
75 entityDef.
actions[0] =
"Talk-to";
79 entityDef.name =
"Shady Insurance Agent";
80 entityDef.actions =
new String[5];
81 entityDef.
actions[0] =
"Talk-to";
85 entityDef.actions =
new String[5];
89 entityDef.name =
"Melee store";
90 entityDef.actions =
new String[5];
94 entityDef.name =
"Beginner Shops";
95 entityDef.actions =
new String[5];
99 entityDef.name =
"Magic store";
100 entityDef.actions =
new String[5];
105 entityDef.name =
"Ensouled Hunter";
109 entityDef.name =
"Shimps & Anchovies";
110 entityDef.actions =
new String[5];
114 entityDef.name =
"Trout & Salmon";
115 entityDef.actions =
new String[5];
119 entityDef.actions =
new String[5];
120 entityDef.
actions[0] =
"Talk-to";
121 entityDef.
actions[2] =
"Trade";
122 entityDef.
actions[3] =
"Claim-armour";
125 entityDef.name =
"Lobster & Swordfish";
128 entityDef.name =
"osroyale Skillermen";
131 entityDef.name =
"Shark";
134 entityDef.name =
"Manta ray";
135 entityDef.actions =
new String[5];
136 entityDef.
actions[0] =
"Big Net";
139 entityDef.name =
"Monkfish";
140 entityDef.actions =
new String[5];
144 entityDef.name =
"Dark crab";
147 entityDef.actions =
new String[5];
151 entityDef.actions =
new String[5];
152 entityDef.
actions[0] =
"Talk-to";
153 entityDef.
actions[2] =
"Trade";
158 entityDef.actions =
new String[5];
159 entityDef.
actions[0] =
"Talk-to";
160 entityDef.
actions[2] =
"Dismiss";
163 entityDef.actions =
new String[5];
165 entityDef.
actions[3] =
"Trade";
169 entityDef.actions =
new String[5];
171 entityDef.
actions[2] =
"Trade";
175 entityDef.name =
"Clanmaster";
176 entityDef.actions =
new String[5];
181 entityDef.name =
"Clothing store";
182 entityDef.actions =
new String[5];
188 entityDef.name =
"Pure store";
189 entityDef.actions =
new String[5];
195 entityDef.name =
"Mage store";
196 entityDef.actions =
new String[5];
202 entityDef.name =
"Range store";
203 entityDef.actions =
new String[5];
211 entityDef.actions =
new String[5];
212 entityDef.
actions[1] =
"Attack";
217 entityDef.name =
"Skilling store";
218 entityDef.actions =
new String[5];
224 entityDef.name =
"Hunter store";
225 entityDef.actions =
new String[5];
231 entityDef.name =
"Consumable store";
232 entityDef.actions =
new String[5];
238 entityDef.name =
"Farming store";
239 entityDef.actions =
new String[5];
245 entityDef.actions =
new String[5];
246 entityDef.
actions[0] =
"Talk-to";
247 entityDef.
actions[2] =
"Trade";
252 entityDef.actions =
new String[5];
253 entityDef.
actions[0] =
"Talk-to";
259 entityDef.name =
"Vote";
260 entityDef.actions =
new String[5];
261 entityDef.
actions[0] =
"Talk-to";
262 entityDef.
actions[2] =
"Trade";
263 entityDef.
actions[3] =
"Claim";
268 entityDef.name =
"Spellbook";
269 entityDef.actions =
new String[5];
270 entityDef.
actions[0] =
"Change";
275 entityDef.name =
"The Donator King";
276 entityDef.actions =
new String[5];
277 entityDef.
actions[0] =
"Talk-to";
278 entityDef.
actions[2] =
"Open-store";
279 entityDef.
actions[3] =
"Claim-purchase";
280 entityDef.description =
"What more is there to say about The Donator King?.".getBytes();
284 entityDef.name =
"osroyale Guide";
287 entityDef.name =
"Skilling Shop";
290 entityDef.name =
"Skilling Store";
295 entityDef.actions =
new String[5];
296 entityDef.
actions[0] =
"Makeover";
301 entityDef.name =
"Merchant";
302 entityDef.actions =
new String[5];
303 entityDef.
actions[0] =
"Sell goods";
309 entityDef.actions =
new String[5];
310 entityDef.
actions[0] =
"Trade";
313 entityDef.actions =
new String[5];
314 entityDef.
actions[0] =
"Talk-to";
317 entityDef.actions =
new String[5];
318 entityDef.
actions[0] =
"Exchange for firecape";
324 entityDef.actions =
new String[5];
325 entityDef.
actions[0] =
"Talk-to";
326 entityDef.
actions[2] =
"Open-interface";
327 entityDef.
actions[3] =
"Offer-items";
330 entityDef.name =
"Void Knight";
331 entityDef.combatLevel = 0;
332 entityDef.actions =
new String[5];
333 entityDef.
actions[1] =
"Attack";
336 entityDef.name =
"Skilling Store";
337 entityDef.combatLevel = 0;
338 entityDef.actions =
new String[2];
339 entityDef.
actions[1] =
"Talk-to";
340 entityDef.
actions[1] =
"Trade";
344 entityDef.name =
"Polly";
345 entityDef.description =
"She takes pride in prestiging.".getBytes();
346 entityDef.actions =
new String[5];
347 entityDef.
actions[0] =
"Talk-to";
348 entityDef.
actions[2] =
"Trade";
349 entityDef.
actions[3] =
"Prestige-panel";
350 entityDef.
actions[4] =
"Perk-information";
351 entityDef.walkingAnimation = 819;
352 entityDef.standingAnimation = 808;
353 entityDef.modelIds =
new int[10];
364 entityDef.recolorTarget =
new int[]{127, 127, 127, 127, 9168, -22419, 9143, 9168, 9143, 7744, 127, 127};
365 entityDef.recolorOriginal =
new int[]{4626, 10128, 10004, 5018, 61, 10351, 57280, 54183, 54503, 6798, 8741, 25238};
368 entityDef.name =
"Mac";
369 entityDef.description =
"Only the most knowledgeable players of osroyale are worthy of such a cape.".getBytes();
370 entityDef.combatLevel = 126;
371 entityDef.walkingAnimation = 819;
373 entityDef.actions =
new String[5];
374 entityDef.
actions[0] =
"Talk-to";
375 entityDef.modelIds =
new int[8];
386 entityDef.actions =
new String[5];
387 entityDef.modelIds =
new int[9];
397 entityDef.standingAnimation = 7518;
398 entityDef.walkingAnimation = 7520;
399 entityDef.recolorOriginal =
new int[]{668, 675, 673, 815, 784};
400 entityDef.recolorTarget =
new int[]{947, 960, 7104, 8146, 0};
401 entityDef.name =
"Donator Guard";
402 entityDef.combatLevel = 420;
403 entityDef.description =
"The protector of the donator zone.".getBytes();
419 for (
int j1 = 0; j1 < j; j1++)
422 }
else if (opcode == 2) {
424 }
else if (opcode == 3)
426 else if (opcode == 12)
428 else if (opcode == 13)
430 else if (opcode == 14)
432 else if (opcode == 15)
434 else if (opcode == 16)
436 else if (opcode == 17) {
450 }
else if (opcode == 18) {
452 }
else if (opcode >= 30 && opcode < 35) {
456 if (
actions[opcode - 30].equalsIgnoreCase(
"hidden"))
458 }
else if (opcode == 40) {
462 for (
int k1 = 0; k1 < colors; k1++) {
466 }
else if (opcode == 41) {
469 for (
int index = 0; index < length; index++) {
473 }
else if (opcode == 60) {
476 for (
int l1 = 0; l1 < l; l1++)
479 }
else if (opcode == 90)
481 else if (opcode == 91)
483 else if (opcode == 92)
485 else if (opcode == 93)
487 else if (opcode == 95)
489 else if (opcode == 97)
491 else if (opcode == 98)
493 else if (opcode == 99)
495 else if (opcode == 100)
497 else if (opcode == 101)
499 else if (opcode == 102) {
502 for (
int var5 = bitfield; var5 != 0; var5 >>= 1) {
506 int[] headIconArchiveIds =
new int[len];
507 short[] headIconSpriteIndex =
new short[len];
509 for (
int i = 0; i < len; i++) {
510 if ((bitfield & 1 << i) == 0) {
511 headIconArchiveIds[i] = -1;
512 headIconSpriteIndex[i] = -1;
520 }
else if (opcode == 103) {
522 }
else if (opcode == 106) {
538 for (
int index = 0; index <= length; index++) {
546 }
else if (opcode == 107) {
548 }
else if (opcode == 109) {
550 }
else if (opcode == 111) {
552 }
else if (opcode == 114) {
554 }
else if (opcode == 115) {
559 }
else if (opcode == 116) {
561 }
else if (opcode == 117) {
566 }
else if (opcode == 118) {
585 for (
int index = 0; index <= length; index++) {
593 }
else if (opcode == 249) {
596 for (
int i = 0; i < length; i++) {
607 System.out.println(
"Unrecognized NPC opcode " + opcode +
", last=" + lastOpcode);