- Renamed
RoomPosition.findNearest()
method tofindClosest
.findNearest
alias is still available, however it is deprecated and will be removed soon. RoomPosition.findClosest()
andRoomPosition.findInRange()
methods now accept object arrays as the first argument allowing look-ups against arbitrary object lists.- Added new option
algorithm
toRoomPosition.findClosest()
method for performance optimization. - Added new options to
Room.findPath()
method:avoid
andignore
that allow flexible pathfinding customization. - Decreased the default value for
heuristicWeight
option inRoom.findPath()
method from 10 to 3. - Added
ConstructionSite.ticksToLive
property. - Decreased
RANGED_ATTACK
power from 15 to 10. - Decreased
ATTACK
body part construction cost from 100 to 80. - Movement cost factors changed:
- 10 for swamp tiles;
- 2 for plain land tiles;
- 1 for road tiles regardless of the terrain.
- Increased roads construction cost at swamp tile from 300 to 1500.
- Increased roads hits amount from 100 to 300.
|