Changelog 2016-04-13

Gameplay changes

  • Deployed NPC Invader Raids system.
  • Increased containers decay time from 100 ticks to 500 ticks if the room is owned.
  • Decreased dismantling power from 100 hits to 50 hits returning 0.25 energy units per tick per WORK body part.

API changes

  • Important: the new PathFinder is now activated by default. Call PathFinder.use(false) in the beginning of your script to revert to the old pathfinding.
  • PathFinder.search changes: 
    • If you return false from the roomCallback, the requested room will not be searched, and it won’t count against maxRooms.
    • heuristicWeight option is set to 1.2 by default.
  • Game.map.findRoute method has been completely rewritten. There is now the routeCallback option which can be used to control rooms pathfinding costs (thanks to The_General).
  • Creep.upgradeController now can be used within range of 3 tiles.
  • Added new signature to the RoomPosition.inRangeTo method: inRangeTo(x,y,range).
  • Structure.transfer now can be used even for hostile structures, i.e. you can “steal” resources this way. The ERR_NOT_OWNER code will only be returned if you are not the owner of the target creep, or there is a hostile rampart on top of the structure.
  • Updated runtime script servers to Node.js 5.10.1.