Developer postOriginal post (opens in a new tab)

Changelog 2016-07-11

  • Introduced Creep.withdraw method. It replaces all structures’ transfer methods which are now considered deprecated.
  • Executing StructureSpawn.createCreep now inserts a new dummy Creep object into Game.creeps hash immediately. The id property of such object is undefined until the next tick.
  • Executing Room.createFlag now inserts a new Flag object into Game.flags hash immediately.

READ THE FULL ARTICLE