PTR Changelog 2016-06-12
-
This post describes changes on the Public Test Realm. The estimated launch date is June 17.
- Updated runtime servers to Node.js 6.2.1.
- Added new method
StructureRampart.setPublic
. - Added new property
StructureRampart.isPublic
. - Added new global property
Game.constructionSites
. - Added new argument
asArray
to methodsRoom.lookAtArea
andRoom.lookForAtArea
. - Changed
StructureSpawn.renewCreep
cost to the following values:
ticks = floor(667/body_size)
energyCost = ceil(creep_cost/4/body_size)
- Method
Creep.moveByPath
now accepts paths returned fromPathFinder.search
.
-
Nice Changes. The public ramparts are the first step towards diplomacy and guilds.
Also the changed costs of renewCreep are useful. Before, the function was only useful in very special cases.
-
New PathFinder feature is awesome: earlier it was necessary to create own logic for moving by correct directions between rooms (while crossing the borders, so annoying).
I think, because of this new feature, it will be very useful to add ability of built-in serialization of path returned by PathFinder.search(...) (maybe, special flag to opts argument) to make it more suitable for saving into Memory and future using as raw argument for Creep.moveByPath(...), as it now available for Room.findPath(...) and RoomPosition.findPathTo(...).