Changelogs

Changelog 2016-06-17

Changelog 2016-05-30

  • Introduced StructurePortal. This non-player structure instantly teleports your creeps to a distant room acting as a room exit tile. Portals appear randomly in the central room of each sector.
  • Increased mineral deposits regeneration time from 20k to 50k ticks.

Changelog 2016-05-16

  • Introduced StructureNuker.
  • Added Nuke object prototype.
  • Added FIND_NUKES constant.
  • Added STRUCTURE_NUKER constant.
  • Added constants for Room.look* methods:
    • LOOK_CREEPS
    • LOOK_ENERGY
    • LOOK_RESOURCES
    • LOOK_SOURCES
    • LOOK_MINERALS
    • LOOK_STRUCTURES
    • LOOK_FLAGS
    • LOOK_CONSTRUCTION_SITES
    • LOOK_NUKES
    • LOOK_TERRAIN

Changelog 2016-05-12

You can read more about some of the breaking changes in this announcement.

  • Breaking change: Removed Flag.id property.
  • Breaking change: Removed deprecated methods:
    • Creep.transferEnergy (use Creep.transfer instead)
    • Creep.dropEnergy (use Creep.drop instead)
    • Creep.unclaimController (use StructureController.unclaim instead)
    • Game.getUsedCpu (use Game.cpu.getUsed instead)
    • Flag.roomName (use Flag.pos.roomName instead)
    • RoomPosition.findClosest (use either RoomPosition.findClosestByRange or RoomPosition.findClosestByPath instead)
  • Added new prototypes: RoomObject, OwnedStructure, StructureExtension, StructureExtractor, StructureKeeperLair, StructureLab, StructureLink, StructureObserver, StructurePowerBank, StructurePowerSpawn, StructureRampart, StructureStorage, StructureTerminal, StructureTower, StructureContainer, StructureRoad, StructureWall.
  • Structure.transferEnergy method is moved to the corresponding specific structure prototypes (if applicable).
  • All boosted creeps, including NPC invaders, now drop up to 20% (depending on their life time) of the resources spent on their boost when killed.
  • Added new method StructureSpawn.recycleCreep that allows to return up to 100% (depending on life time) of all resources spent on that creep’s spawning and boosting.
  • Energy sources in Source Keeper rooms now have 4,500 energy capacity.
  • Increased terminals capacity from 100,000 to 300,000.
  • Reduced terminal send fee from 0.2 to 0.1 energy unit per resource unit per room.
  • Room.findPath method now has the default maxOps=20000 value in case when origin and target positions are in different rooms.
  • Increased towers count available on different room levels:
    • RCL3: 1 tower
    • RCL5: 2 towers
    • RCL7: 3 towers
    • RCL8: 6 towers
  • Introduced new Creep.attackController method. This is now the way to decrease downgrade or reservation time instead of Creep.claimController. In addition, attacking a controller now prevents it from being upgraded for the next 1,000 ticks.
  • Added StructureController.upgradeBlocked property.

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.

Changelog 2016-03-18

Gameplay changes

  • Introduced new structure: Container. This structure contains up to 2,000 resource units and can be constructed in neutral rooms. It has no owner and can be used by any player.
  • Structures now can be constructed near room borders except the tiles close to exits.

API changes

Changelog 2016-03-14

Gameplay changes

  • Labs now produce 10 mineral units per reaction and have a 10 ticks reaction cooldown period.
  • Changed boost effects of the following mineral compounds:
    • lemergium hydride
    • lemergium acid
    • catalyzed lemergium acid
    • zynthium hydride
    • zynthium acid
    • catalyzed zynthium acid
    • ghodium hydride
    • ghodium acid
    • catalyzed ghodium acid

API changes

Changelog 2016-03-10

Gameplay changes

  • Mineral resources added to the game. Learn more from this announcement.
  • Introduced new structure: Extractor.
  • Introduced new structure: Lab.
  • Introduced new structure: Terminal.
  • Creep.upgradeController now cannot be applied to another player's controller.

API changes