screeps-connectivity 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 9523f3c: Make highway resources easier to spot on the world map. Power banks are now
8
+ drawn as larger bright-red dots (radius 1.5 → 2.5) instead of small orange ones,
9
+ and deposits — previously rendered as tiny muted-red "foreign" dots because
10
+ their `d` map2 key fell through to the generic user-object path — now show as
11
+ prominent white dots. The deposit key is documented on `RoomMap2Data`.
12
+
3
13
  ## 0.5.1
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screeps-connectivity",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "repository": {
package/src/types/game.ts CHANGED
@@ -7,6 +7,7 @@ export interface RoomMap2Data {
7
7
  c?: [number, number][] | null // controllers
8
8
  m?: [number, number][] | null // minerals
9
9
  k?: [number, number][] | null // source keeper lairs
10
+ d?: [number, number][] | null // deposits (highway commodity resource)
10
11
  [userId: string]: [number, number][] | null | undefined // structures + creeps for that user
11
12
  }
12
13