Farming Skill, Orb Charging, Battle Staff Creation, etc (#377)
- Farming Skill Added - Orb charging implemented - Battle staff creation implemented - Cleaned up some code - Stuck command will now tele you from further out in wildy if you are not in combat - Fixed an issue with amulet of glory - Added forcechats for npcs at Gnome Agility Course, and for Cows, Ducks and Sheeps just like in actual osrs - Added base for God Book preaching
This commit is contained in:
1 parent
9b220ec47c
commit
ef6968b283
71 files changed
+12165
-541
No files matched your search
@@ -38,6 +38,28 @@ public class NpcActions {
|
||||
}
|
||||
}
|
||||
switch (npcType) {
|
||||
case 2324 :
|
||||
case 2323 :
|
||||
case 2326 :
|
||||
case 2325 :
|
||||
case 2337 :
|
||||
case 2336 :
|
||||
case 2335 :
|
||||
case 2338 :
|
||||
case 2334 :
|
||||
case 2332 :
|
||||
case 2333 :
|
||||
case 2327 :
|
||||
case 2343 :
|
||||
case 2331 :
|
||||
case 2344 :
|
||||
case 2330 :
|
||||
case 2340 :
|
||||
case 2339 :
|
||||
case 2341 :
|
||||
case 2342 :
|
||||
c.getDialogueHandler().sendDialogues(3530, npcType);
|
||||
break;
|
||||
case 209:
|
||||
c.getDialogueHandler().sendDialogues(3500, 209);
|
||||
break;
|
||||
@@ -981,7 +1003,10 @@ public class NpcActions {
|
||||
}
|
||||
}
|
||||
switch (npcType) {
|
||||
|
||||
case 3021 :
|
||||
c.getFarmingTools().loadInterfaces();
|
||||
break;
|
||||
|
||||
case 3:
|
||||
c.getDialogueHandler().sendDialogues(5, npcType);
|
||||
break;
|
||||
|
||||
@@ -479,8 +479,41 @@ public class NpcHandler {
|
||||
|
||||
if (npcs[i].npcType == 3782 && PestControl.gameStarted) {
|
||||
if (Misc.random(10) == 4) {
|
||||
npcs[i].forceChat(voidKnightTalk[Misc
|
||||
.random3(voidKnightTalk.length)]);
|
||||
npcs[i].forceChat(voidKnightTalk[Misc.random3(voidKnightTalk.length)]);
|
||||
}
|
||||
}
|
||||
|
||||
if (npcs[i].npcType == 162) {
|
||||
if (npcs[i].getX() == 2475 && npcs[i].getY() == 3438) {
|
||||
npcs[i].forceChat("Okay get over that log, quick quick!");
|
||||
} else if (npcs[i].getX() == 2471 && npcs[i].getY() == 3427) {
|
||||
npcs[i].forceChat("Move it, move it, move it!");
|
||||
} else if (npcs[i].getX() == 2476 && npcs[i].getY() == 3423) {
|
||||
npcs[i].forceChat("That's it - straight up");
|
||||
} else if (npcs[i].getX() == 2475 && npcs[i].getY() == 3421) {
|
||||
if (Misc.random(1) == 0) {
|
||||
npcs[i].forceChat("Terrorbirds could climb faster than that!");
|
||||
} else {
|
||||
npcs[i].forceChat("Come on scaredy cat, get across that rope!");
|
||||
}
|
||||
} else if (npcs[i].getX() == 2481 && npcs[i].getY() == 3424) {
|
||||
npcs[i].forceChat("My Granny can move faster than you.");
|
||||
}
|
||||
}
|
||||
|
||||
if (npcs[i].npcType == 43) {
|
||||
if (Misc.random(20) == 4) {
|
||||
npcs[i].forceChat("Baa!");
|
||||
}
|
||||
}
|
||||
if (npcs[i].npcType == 81 || npcs[i].npcType == 397 || npcs[i].npcType == 1766 || npcs[i].npcType == 1767 || npcs[i].npcType == 1768) {
|
||||
if (Misc.random(30) == 4) {
|
||||
npcs[i].forceChat("Moo");
|
||||
}
|
||||
}
|
||||
if (npcs[i].npcType == 45) {
|
||||
if (Misc.random(30) == 6) {
|
||||
npcs[i].forceChat("Quack!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user