mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
Update (#394)
Closes #393 - Sophanem city gates now functioning Closes #392 - Improved rug travel, added missing travel options Closes #391 - Added those curtains, along with many more curtains and other functional objects Closes #390 - Dramen branch now untradeable/same with staff Closes #389 - Lumbridge door should no longer get stuck, should fix other doors aswell Closes #388 - Added Rasolo npc spawn Closes #385 - Added missing fishing guild spawns Closes #384 - Added missing port khazard npcs and a few other missing npcs too Closes #379 - Added smelt x option Closes #334 - Fixed dragon dagger store price and fixed high alch/low alch value for it Closes #278 - Fixed strange numbers on runecrafting interface Closes #244 -These were previously fixed Also included: - Added recieving random gems when mining (thanks to ben for pointing this out) - Reduced door usage delay - Random cleanup and deleted some unsued files/code - Fixed many npc item drop names (thanks to iizyy for pointing them out) - Fixed a few wizard tower doors - Did more cleanup with the some of the old boundary methods - Tidied up the discord commands and added the proper urls for them
This commit is contained in:
@@ -281,7 +281,6 @@ public class Boundary {
|
||||
|
||||
public static final Boundary ARDOUGNE_ZOO = new Boundary(2593, 2639, 3265, 3288);
|
||||
public static final Boundary APE_ATOLL = new Boundary(2694, 2811, 2691, 2805);
|
||||
public static final Boundary TUTORIAL_ISLAND = new Boundary(2625, 2687, 4670, 4735);
|
||||
public static final Boundary BARROWS = new Boundary(3543, 3584, 3265, 3311);
|
||||
public static final Boundary BARROWS_UNDERGROUND = new Boundary(3529, 3581, 9673, 9722);
|
||||
public static final Boundary PC_BOAT = new Boundary(2660, 2663, 2638, 2643);
|
||||
|
||||
@@ -72,6 +72,28 @@ public class ObjectHandler {
|
||||
}
|
||||
GameEngine.objectHandler.placeObject(OBJECT);
|
||||
}
|
||||
|
||||
public void createAnObject(Player player, int id, int x, int y, int h) {
|
||||
Objects OBJECT = new Objects(id, x, y, h, 0, 10, 0);
|
||||
if (id == -1) {
|
||||
removeObject(OBJECT);
|
||||
} else {
|
||||
addObject(OBJECT);
|
||||
}
|
||||
GameEngine.objectHandler.placeObject(OBJECT);
|
||||
}
|
||||
|
||||
|
||||
public void createAnObject(int id, int x, int y, int h, int face, int type) {
|
||||
Objects OBJECT = new Objects(id, x, y, h, face, type, 0);
|
||||
if (id == -1) {
|
||||
removeObject(OBJECT);
|
||||
} else {
|
||||
addObject(OBJECT);
|
||||
}
|
||||
//Server.canLoadObjects = true;
|
||||
GameEngine.objectHandler.placeObject(OBJECT);
|
||||
}
|
||||
|
||||
public void createAnObject(int id, int x, int y) {
|
||||
Objects OBJECT = new Objects(id, x, y, 0, 0, 10, 0);
|
||||
|
||||
Reference in New Issue
Block a user