findNearestalias is still available, however it is deprecated and will be removed soon.
RoomPosition.findInRange()methods now accept object arrays as the first argument allowing look-ups against arbitrary object lists.
- Added new option
RoomPosition.findClosest()method for performance optimization.
- Added new options to
ignorethat allow flexible pathfinding customization.
- Decreased the default value for
Room.findPath()method from 10 to 3.
RANGED_ATTACKpower from 15 to 10.
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.
Have more questions? Submit a request