Rewrote blast furnace

This commit is contained in:
Ceikry
2023-08-27 13:35:14 +00:00
committed by Ryan
parent e9fa9d0d41
commit 50dce880c1
21 changed files with 1825 additions and 886 deletions
+5 -1
View File
@@ -472,6 +472,10 @@ fun addScenery (sceneryId: Int, location: Location, rotation: Int = 0, type: Int
return scenery
}
fun addScenery (scenery: Scenery) {
SceneryBuilder.add(scenery)
}
/**
* Remove a scenery from the world
* @param scenery the Scenery object to remove.
@@ -1271,7 +1275,7 @@ fun truncateLoc (mover: Entity, destination: Location) : Pair<Boolean,Location>
* @param callback (optional) a callback called when the forced movement completes
* @see NOTE: There are 30 client cycles per second.
*/
fun forceMove (player: Player, start: Location, dest: Location, startArrive: Int, destArrive: Int, dir: Direction? = null, anim: Int = -1, callback: (()->Unit)? = null) {
fun forceMove (player: Player, start: Location, dest: Location, startArrive: Int, destArrive: Int, dir: Direction? = null, anim: Int = 819, callback: (()->Unit)? = null) {
var direction: Direction
if (dir == null) {