screepers / typed-screeps

Strong TypeScript declarations for the game Screeps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: Add types for Power Creeps release

pyrodogg opened this issue · comments

Expected Behavior

Power Creeps are currently available on PTR and are expected to be released on MMO on March 18th. Types for the Power Creeps entities should be added or updated.

  • Game.gpl - ptr
    • New
  • Game.powerCreeps - ptr
    • New
  • Game.spawns - ptr
    • May contain StructureSpawn and StructurePowerSpawn entities?
    • PowerSpawns are not available in Game.spawns and there is no corresponding Game.powerSpawns.
  • InterShardMemory - ptr
    • Also expected to launch with Power Creeps
  • Memory.powerCreeps - ptr
    • New
  • PowerCreep - ptr
    • New
  • StructurePowerSpawn - ptr
    • Exists but createPowerCreep should be removed

As far as I remember, Power Creeps are in their own object Game.powerCreeps, not mixed with regular ones in Game.creeps. Same to FIND_* and LOOK_* things, they all are separate

Good to know. I was just starting to look at it to get an idea for what needed changing. The PTR api docs don't fully specify Game.powerCreeps but it looks like it's mentioned in the PowerCreep section. Same with Memory.powerCreeps. Will update the issue description

Game.spawns will not contain StructurePowerSpawn entities.

Closing, as solved in 2.4.5