- Renamed
RoomPosition.findNearest()method tofindClosest.findNearestalias 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
algorithmtoRoomPosition.findClosest()method for performance optimization. - Added new options to
Room.findPath()method:avoidandignorethat allow flexible pathfinding customization. - Decreased the default value for
heuristicWeightoption inRoom.findPath()method from 10 to 3. - Added
ConstructionSite.ticksToLiveproperty. - Decreased
RANGED_ATTACKpower from 15 to 10. - Decreased
ATTACKbody 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.
|
|