A few things (#382)

- Added a distance check for item on object packet
- Added cook x functionality
- Removed a fair amount of dead code
- Did some renaming and fixed some typos
- Cleaned up a lot of the smithing code
- Added a new boundary system to reduce code clutter
- Fixed a firemaking bug
This commit is contained in:
Mr Extremez authored and GitHub committed 2020-03-06 18:52:10 -05:00
1 parent 804ceae886
commit e5799200d7
88 files changed
+2575 -3267

No files matched your search

@@ -47,6 +47,7 @@ import com.rebotted.game.objects.impl.Webs;
import com.rebotted.game.players.Player;
import com.rebotted.game.players.Position;
import com.rebotted.util.Misc;
import com.rebotted.world.Boundary;
import com.rebotted.world.clip.Region;
public class ObjectsActions {
@@ -1478,7 +1479,7 @@ public class ObjectsActions {
}
break;
case 14314:
if (player.inPcBoat()) {
if (Boundary.isIn(player, Boundary.PC_BOAT)) {
if (PestControl.waitingBoat.containsKey(player)) {
PestControl.leaveWaitingBoat(player);
} else {
@@ -2090,7 +2091,7 @@ public class ObjectsActions {
break;
case 9398:// deposit box
player.getPacketSender().sendFrame126("The Bank of " + GameConstants.SERVER_NAME + " - Deposit Box", 7421);
player.getPacketSender().sendString("The Bank of " + GameConstants.SERVER_NAME + " - Deposit Box", 7421);
player.getPacketSender().sendFrame248(4465, 197);
player.getItemAssistant().resetItems(7423);
break;