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
@@ -61,6 +61,10 @@ public class ObjectsActions {
|
||||
player.faceUpdate(0);
|
||||
player.clickObjectType = 0;
|
||||
player.turnPlayerTo(objectX, objectY);
|
||||
player.getCompost().handleObjectClick(objectType, objectX, objectY);
|
||||
if (Farming.harvest(player, objectX, objectY)) {
|
||||
return;
|
||||
}
|
||||
if (Webs.webs(player, objectType)) {
|
||||
Webs.slashWeb(player, objectType, objectX, objectY);
|
||||
return;
|
||||
@@ -2567,6 +2571,9 @@ public class ObjectsActions {
|
||||
Stalls.attemptStall(player, objectType, obX, obY);
|
||||
return;
|
||||
}
|
||||
if (Farming.inspectObject(player, obX, obY)) {
|
||||
return;
|
||||
}
|
||||
switch (objectType) {
|
||||
case 6:
|
||||
player.getCannon().loadCannon(obX, obY);
|
||||
@@ -2870,8 +2877,6 @@ public class ObjectsActions {
|
||||
if (!Region.objectExists(objectType, obX, obY, player.heightLevel)) {
|
||||
return;
|
||||
}
|
||||
Farming.openGuide(player, player.objectId);
|
||||
// switch (objectType) {
|
||||
// }
|
||||
Farming.guide(player, obX, obY);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user