diff --git a/api/source/Deposit.md b/api/source/Deposit.md
index 7ae10e05..681db758 100644
--- a/api/source/Deposit.md
+++ b/api/source/Deposit.md
@@ -11,7 +11,7 @@ Learn more about deposits from [this article](/resources.html).
| Cooldown |
- `0.001 * totalHarvested ^ 1.2` |
+ | 0.001 * totalHarvested ^ 1.2 |
|
| Decay |
diff --git a/api/source/Map.md b/api/source/Map.md
index dcf4d064..b4757855 100644
--- a/api/source/Map.md
+++ b/api/source/Map.md
@@ -219,7 +219,7 @@ switch(terrain.get(10,15)) {
}
```
-Get a `Room.Terrain` object which provides fast access to static terrain data. This method works for any room in the world even if you have no access to it.
+Get a Room.Terrain object which provides fast access to static terrain data. This method works for any room in the world even if you have no access to it.
{% api_method_params %}
roomName : string
@@ -229,7 +229,7 @@ The room name.
### Return value
-Returns new `Room.Terrain` object.
+Returns new Room.Terrain object.
{% api_method Game.map.getTerrainAt 'x, y, roomName|pos' 1 '{"deprecated": "Please use a faster method [`Game.map.getRoomTerrain`](#Game.map.getRoomTerrain) instead."}'%}
@@ -318,4 +318,3 @@ property | type | description
---|---
`status` | string | One of the following string values: normal – the room has no restrictionsclosed – the room is not availablenovice – the room is part of a novice arearespawn – the room is part of a respawn area
`timestamp` | number | Status expiration time in milliseconds since UNIX epoch time. This property is null if the status is permanent.
-
diff --git a/api/source/PathFinder.md b/api/source/PathFinder.md
index da62da97..7c87470f 100644
--- a/api/source/PathFinder.md
+++ b/api/source/PathFinder.md
@@ -117,7 +117,7 @@ An object containing additional pathfinding flags.
maxCost
number
- The maximum allowed cost of the path returned. If at any point the pathfinder detects that it is impossible to find a path with a cost less than or equal to `maxCost` it will immediately halt the search. The default is Infinity.
+ The maximum allowed cost of the path returned. If at any point the pathfinder detects that it is impossible to find a path with a cost less than or equal to maxCost it will immediately halt the search. The default is Infinity.
heuristicWeight
diff --git a/api/source/Room.Terrain.md b/api/source/Room.Terrain.md
index 9f40679e..8b97199d 100644
--- a/api/source/Room.Terrain.md
+++ b/api/source/Room.Terrain.md
@@ -69,7 +69,7 @@ for(let y = 0; y < 50; y++) {
}
```
-Get terrain type at the specified room position by `(x,y)` coordinates. Unlike the `Game.map.getTerrainAt(...)` method, this one doesn't perform any string operations and returns integer terrain type values (see below).
+Get terrain type at the specified room position by `(x,y)` coordinates. Unlike the Game.map.getTerrainAt(...) method, this one doesn't perform any string operations and returns integer terrain type values (see below).
{% api_method_params %}
x : number
diff --git a/api/source/Room.md b/api/source/Room.md
index e4f10c50..227d6f5a 100644
--- a/api/source/Room.md
+++ b/api/source/Room.md
@@ -486,134 +486,134 @@ The `data` property is different for each event type according to the following
event | description |
- | `EVENT_ATTACK` |
+ EVENT_ATTACK |
A creep or a structure performed an attack to another object.
- - `targetId` - the target object ID
- - `damage` - the amount of hits damaged
- - `attackType` - one of the following constants:
+
targetId - the target object ID
+ damage - the amount of hits damaged
+ attackType - one of the following constants:
- - `EVENT_ATTACK_TYPE_MELEE` - a creep attacked with [attack](#Creep.attack)
- - `EVENT_ATTACK_TYPE_RANGED` - a creep attacked with [rangedAttack](#Creep.rangedAttack), or a tower attacked with [attack](#StructureTower.attack)
- - `EVENT_ATTACK_TYPE_RANGED_MASS` - a creep attacked with [rangedMassAttack](#Creep.rangedMassAttack)
- - `EVENT_ATTACK_TYPE_DISMANTLE` - a creep attacked with [dismantle](#Creep.dismantle)
- - `EVENT_ATTACK_TYPE_HIT_BACK` - a creep hit back on another creep's [attack](#Creep.attack)
- - `EVENT_ATTACK_TYPE_NUKE` - a nuke landed
+ EVENT_ATTACK_TYPE_MELEE - a creep attacked with attack
+ EVENT_ATTACK_TYPE_RANGED - a creep attacked with rangedAttack, or a tower attacked with attack
+ EVENT_ATTACK_TYPE_RANGED_MASS - a creep attacked with rangedMassAttack
+ EVENT_ATTACK_TYPE_DISMANTLE - a creep attacked with dismantle
+ EVENT_ATTACK_TYPE_HIT_BACK - a creep hit back on another creep's attack
+ EVENT_ATTACK_TYPE_NUKE - a nuke landed
|
- | `EVENT_OBJECT_DESTROYED` |
+ EVENT_OBJECT_DESTROYED |
A game object is destroyed or killed.
- - `type` - the type of the destroyed object
+ type - the type of the destroyed object
|
- | `EVENT_ATTACK_CONTROLLER` |
- A creep performed [`attackController`](#Creep.attackController) in the room. |
+ EVENT_ATTACK_CONTROLLER |
+ A creep performed attackController in the room. |
- | `EVENT_BUILD` |
+ EVENT_BUILD |
- A creep performed [`build`](#Creep.build) in the room.
+ A creep performed build in the room.
- - `targetId` - the target object ID
- - `amount` - the amount of build progress gained
- - `structureType` - one of the STRUCTURE_* constants
- - `x` - the X position of the target construction site
- - `y` - the Y position of the target construction site
- - `incomplete` - status of build progress
+ targetId - the target object ID
+ amount - the amount of build progress gained
+ structureType - one of the STRUCTURE_* constants
+ x - the X position of the target construction site
+ y - the Y position of the target construction site
+ incomplete - status of build progress
|
- | `EVENT_HARVEST` |
+ EVENT_HARVEST |
- A creep performed [`harvest`](#Creep.harvest) in the room.
+ A creep performed harvest in the room.
- - `targetId` - the target object ID
- - `amount` - the amount of resource harvested
+ targetId - the target object ID
+ amount - the amount of resource harvested
|
- | `EVENT_HEAL` |
+ EVENT_HEAL |
A creep or a tower healed a creep.
- - `targetId` - the target object ID
- - `amount` - the amount of hits healed
- - `healType` - one of the following constants:
+
targetId - the target object ID
+ amount - the amount of hits healed
+ healType - one of the following constants:
- - `EVENT_HEAL_TYPE_MELEE` - a creep healed with [heal](#Creep.heal)
- - `EVENT_HEAL_TYPE_RANGED` - a creep healed with [rangedHeal](#Creep.rangedHeal), or a tower healed with [heal](#StructureTower.heal)
+ EVENT_HEAL_TYPE_MELEE - a creep healed with heal
+ EVENT_HEAL_TYPE_RANGED - a creep healed with rangedHeal, or a tower healed with heal
|
- | `EVENT_REPAIR` |
+ EVENT_REPAIR |
A creep or a tower repaired a structure.
- - `targetId` - the target object ID
- - `amount` - the amount of hits repaired
- - `energySpent` - the energy amount spent on the operation
+ targetId - the target object ID
+ amount - the amount of hits repaired
+ energySpent - the energy amount spent on the operation
|
- | `EVENT_RESERVE_CONTROLLER` |
+ EVENT_RESERVE_CONTROLLER |
- A creep performed [`reserveController`](#Creep.reserveController) in the room.
+ A creep performed reserveController in the room.
- - `amount` - the amount of reservation time gained
+ amount - the amount of reservation time gained
|
- | `EVENT_UPGRADE_CONTROLLER` |
+ EVENT_UPGRADE_CONTROLLER |
- A creep performed [`upgradeController`](#Creep.upgradeController) in the room.
+ A creep performed upgradeController in the room.
- - `amount` - the amount of control points gained
- - `energySpent` - the energy amount spent on the operation
+ amount - the amount of control points gained
+ energySpent - the energy amount spent on the operation
|
- | `EVENT_EXIT` |
+ EVENT_EXIT |
A creep moved to another room.
- - `room` - the name of the target room
- - `x`, `y` - the coordinates in another room where the creep has appeared
+ room - the name of the target room
+ x, y - the coordinates in another room where the creep has appeared
|
- | `EVENT_TRANSFER` |
+ EVENT_TRANSFER |
- A link performed [`transferEnergy`](https://docs.screeps.com/api/#StructureLink.transferEnergy) or a creep performed [`transfer`](#Creep.transfer) or [`withdraw`](#Creep.withdraw).
+ A link performed transferEnergy or a creep performed transfer or withdraw.
- - `targetId` - the target object ID
- - `resourceType` - the type of resource transferred
- - `amount` - the amount of resource transferred
+ targetId - the target object ID
+ resourceType - the type of resource transferred
+ amount - the amount of resource transferred
|
- | `EVENT_POWER` |
+ EVENT_POWER |
Apply one the creep's powers on the specified target.
- - `targetId` - the target object ID
- - `power` - the power ability to use, one of the PWR_* constants
+ targetId - the target object ID
+ power - the power ability to use, one of the PWR_* constants
|
@@ -657,11 +657,11 @@ switch(terrain.get(10,15)) {
}
```
-Get a `Room.Terrain` object which provides fast access to static terrain data. This method works for any room in the world even if you have no access to it.
+Get a Room.Terrain object which provides fast access to static terrain data. This method works for any room in the world even if you have no access to it.
### Return value
-Returns new `Room.Terrain` object.
+Returns new Room.Terrain object.
{% api_method lookAt 'x, y|target' 2 %}
diff --git a/api/source/StructureLab.md b/api/source/StructureLab.md
index 3a1ca5fd..4c27d809 100644
--- a/api/source/StructureLab.md
+++ b/api/source/StructureLab.md
@@ -44,7 +44,7 @@ Learn more about minerals from [this article](/resources.html).
| Reaction cooldown |
- Depends on the reaction (see [this article](/resources.html)) |
+ Depends on the reaction (see this article) |
| Distance to input labs |
diff --git a/api/source/StructureSpawn.md b/api/source/StructureSpawn.md
index 3eca864b..2c6cad34 100644
--- a/api/source/StructureSpawn.md
+++ b/api/source/StructureSpawn.md
@@ -263,7 +263,7 @@ An object with additional options for the spawning process.
dryRun
boolean
- If `dryRun` is true, the operation will only check if it is possible to create a creep.
+ If dryRun is true, the operation will only check if it is possible to create a creep.
directions
diff --git a/source/auth-tokens.md b/source/auth-tokens.md
index c8f663b1..386a338c 100644
--- a/source/auth-tokens.md
+++ b/source/auth-tokens.md
@@ -43,7 +43,7 @@ Three HTTP header are set for informational purposes which you can use to handle
| Header Name | Description |
|-|-|
| `X-RateLimit-Limit` | The maximum number of requests you're permitted to make per limit window. |
-| `X-RateLimit-Remaining` | The number of requests remaining in the current rate limit window. |
+| X-RateLimit-Remaining | The number of requests remaining in the current rate limit window. |
| `X-RateLimit-Reset` | The time at which the current rate limit window resets in UTC epoch seconds. |
```
@@ -91,4 +91,4 @@ window.addEventListener('message', (event) => {
Please note that this page uses Google Invisible reCAPTCHA, so that it cannot be used automatically.
-You can query info on a specific token (including its unlimited period timer) using the endpoint `https://screeps.com/api/auth/query-token?token=XXX`.
\ No newline at end of file
+You can query info on a specific token (including its unlimited period timer) using the endpoint `https://screeps.com/api/auth/query-token?token=XXX`.
diff --git a/source/invaders.md b/source/invaders.md
index 4d56b3be..8d5803cf 100644
--- a/source/invaders.md
+++ b/source/invaders.md
@@ -37,18 +37,18 @@ There are two sizes of invader creeps:
| Melee |
- |
- |
+ |
+ |
| Ranged |
- |
- |
+ |
+ |
| Healer |
- |
- |
+ |
+ |
diff --git a/source/ptr.md b/source/ptr.md
index 7c465eb3..3147bc8c 100644
--- a/source/ptr.md
+++ b/source/ptr.md
@@ -10,9 +10,9 @@ The Public Test Realm is a stand-alone game server with its own world data, play
-
[ENTER](https://screeps.com/ptr/)
+
ENTER
-
[API Reference](http://docs-ptr.screeps.com/api/)
+
API Reference
---
diff --git a/source/resources.md b/source/resources.md
index 57ca9d92..4ce211f7 100644
--- a/source/resources.md
+++ b/source/resources.md
@@ -157,29 +157,29 @@ Boosting one body part takes 30 mineral compound units and 20 energy units. One
Base compounds |
-| hydroxide |
- +  |
+ hydroxide |
+ +  |
20 |
— |
— |
-| zynthium keanite |
- +  |
+ zynthium keanite |
+ +  |
5 |
— |
— |
-| utrium lemergite |
- +  |
+ utrium lemergite |
+ +  |
5 |
— |
— |
-| ghodium |
- +  |
+ ghodium |
+ +  |
5 |
— |
— |
@@ -188,219 +188,219 @@ Boosting one body part takes 30 mineral compound units and 20 energy units. One
Tier 1 compounds |
-| utrium hydride |
- +  |
+ utrium hydride |
+ +  |
10 |
-`ATTACK` |
-+100% `attack` effectiveness |
+ATTACK |
++100% attack effectiveness |
-| utrium oxide |
- +  |
+ utrium oxide |
+ +  |
10 |
-`WORK` |
-+200% `harvest` effectiveness |
+WORK |
++200% harvest effectiveness |
-| keanium hydride |
- +  |
+ keanium hydride |
+ +  |
10 |
-`CARRY` |
+CARRY |
+50 capacity |
-| keanium oxide |
- +  |
+ keanium oxide |
+ +  |
10 |
-`RANGED_ATTACK` |
-+100% `rangedAttack` and `rangedMassAttack` effectiveness |
+RANGED_ATTACK |
++100% rangedAttack and rangedMassAttack effectiveness |
-| lemergium hydride |
- +  |
+ lemergium hydride |
+ +  |
15 |
-`WORK` |
-+50% `repair` and `build` effectiveness without increasing the energy cost |
+WORK |
++50% repair and build effectiveness without increasing the energy cost |
-| lemergium oxide |
- +  |
+ lemergium oxide |
+ +  |
10 |
-`HEAL` |
-+100% `heal` and `rangedHeal` effectiveness |
+HEAL |
++100% heal and rangedHeal effectiveness |
-| zynthium hydride |
- +  |
+ zynthium hydride |
+ +  |
20 |
-`WORK` |
-+100% `dismantle` effectiveness |
+WORK |
++100% dismantle effectiveness |
-| zynthium oxide |
- +  |
+ zynthium oxide |
+ +  |
10 |
-`MOVE` |
+MOVE |
+100% fatigue decrease speed |
-| ghodium hydride |
- +  |
+ ghodium hydride |
+ +  |
10 |
-`WORK` |
-+50% `upgradeController` effectiveness without increasing the energy cost |
+WORK |
++50% upgradeController effectiveness without increasing the energy cost |
-| ghodium oxide |
- +  |
+ ghodium oxide |
+ +  |
10 |
-`TOUGH` |
+TOUGH |
-30% damage taken |
| Tier 2 compounds |
-| utrium acid |
- +  |
+ utrium acid |
+ +  |
5 |
-`ATTACK` |
-+200% `attack` effectiveness |
+ATTACK |
++200% attack effectiveness |
-| utrium alkalide |
- +  |
+ utrium alkalide |
+ +  |
5 |
-`WORK` |
-+400% `harvest` effectiveness |
+WORK |
++400% harvest effectiveness |
-| keanium acid |
- +  |
+ keanium acid |
+ +  |
5 |
-`CARRY` |
+CARRY |
+100 capacity |
-| keanium alkalide |
- +  |
+ keanium alkalide |
+ +  |
5 |
-`RANGED_ATTACK` |
-+200% `rangedAttack` and `rangedMassAttack` effectiveness |
+RANGED_ATTACK |
++200% rangedAttack and rangedMassAttack effectiveness |
-| lemergium acid |
- +  |
+ lemergium acid |
+ +  |
10 |
-`WORK` |
-+80% `repair` and `build` effectiveness without increasing the energy cost |
+WORK |
++80% repair and build effectiveness without increasing the energy cost |
-| lemergium alkalide |
- +  |
+ lemergium alkalide |
+ +  |
5 |
-`HEAL` |
-+200% `heal` and `rangedHeal` effectiveness |
+HEAL |
++200% heal and rangedHeal effectiveness |
-| zynthium acid |
- +  |
+ zynthium acid |
+ +  |
40 |
-`WORK` |
-+200% `dismantle` effectiveness |
+WORK |
++200% dismantle effectiveness |
-| zynthium alkalide |
- +  |
+ zynthium alkalide |
+ +  |
5 |
-`MOVE` |
+MOVE |
+200% fatigue decrease speed |
-| ghodium acid |
- +  |
+ ghodium acid |
+ +  |
15 |
-`WORK` |
-+80% `upgradeController` effectiveness without increasing the energy cost |
+WORK |
++80% upgradeController effectiveness without increasing the energy cost |
-| ghodium alkalide |
- +  |
+ ghodium alkalide |
+ +  |
30 |
-`TOUGH` |
+TOUGH |
-50% damage taken |
| Tier 3 compounds |
-| catalyzed utrium acid |
- +  |
+ catalyzed utrium acid |
+ +  |
60 |
-`ATTACK` |
-+300% `attack` effectiveness |
+ATTACK |
++300% attack effectiveness |
-| catalyzed utrium alkalide |
- +  |
+ catalyzed utrium alkalide |
+ +  |
60 |
-`WORK` |
-+600% `harvest` effectiveness |
+WORK |
++600% harvest effectiveness |
-| catalyzed keanium acid |
- +  |
+ catalyzed keanium acid |
+ +  |
60 |
-`CARRY` |
+CARRY |
+150 capacity |
-| catalyzed keanium alkalide |
- +  |
+ catalyzed keanium alkalide |
+ +  |
60 |
-`RANGED_ATTACK` |
-+300% `rangedAttack` and `rangedMassAttack` effectiveness |
+RANGED_ATTACK |
++300% rangedAttack and rangedMassAttack effectiveness |
-| catalyzed lemergium acid |
- +  |
+ catalyzed lemergium acid |
+ +  |
65 |
-`WORK` |
-+100% `repair` and `build` effectiveness without increasing the energy cost |
+WORK |
++100% repair and build effectiveness without increasing the energy cost |
-| catalyzed lemergium alkalide |
- +  |
+ catalyzed lemergium alkalide |
+ +  |
60 |
-`HEAL` |
-+300% `heal` and `rangedHeal` effectiveness |
+HEAL |
++300% heal and rangedHeal effectiveness |
-| catalyzed zynthium acid |
- +  |
+ catalyzed zynthium acid |
+ +  |
160 |
-`WORK` |
-+300% `dismantle` effectiveness |
+WORK |
++300% dismantle effectiveness |
-| catalyzed zynthium alkalide |
- +  |
+ catalyzed zynthium alkalide |
+ +  |
60 |
-`MOVE` |
+MOVE |
+300% fatigue decrease speed |
-| catalyzed ghodium acid |
- +  |
+ catalyzed ghodium acid |
+ +  |
80 |
-`WORK` |
-+100% `upgradeController` effectiveness without increasing the energy cost |
+WORK |
++100% upgradeController effectiveness without increasing the energy cost |
-| catalyzed ghodium alkalide |
- +  |
+ catalyzed ghodium alkalide |
+ +  |
150 |
-`TOUGH` |
+TOUGH |
-70% damage taken |
@@ -447,7 +447,7 @@ They also can be used to store resources in a "compressed" form.
Compressing commodities
(click to expand)
-
+
@@ -456,14 +456,14 @@ They also can be used to store resources in a "compressed" form.
| Product | Factory | Components | Cooldown |
-
| {% resource 'Utrium bar' %} × 100 | Any level | Utrium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
-
| {% resource "Lemergium bar" %} × 100 | Any level | Lemergium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
-
| {% resource 'Zynthium bar' %} × 100 | Any level | Zynthium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
-
| {% resource 'Keanium bar' %} × 100 | Any level | Keanium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
-
| {% resource 'Ghodium melt' %} × 100 | Any level | Ghodium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
-
| {% resource 'Oxidant' %} × 100 | Any level | Oxygen × 500 {% resource 'Energy' %} × 200 | 20 ticks |
-
| {% resource 'Reductant' %} × 100 | Any level | Hydrogen × 500 {% resource 'Energy' %} × 200 | 20 ticks |
-
| {% resource 'Purifier' %} × 100 | Any level | Catalyst × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource 'Utrium bar' %} × 100 | Any level | Utrium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource "Lemergium bar" %} × 100 | Any level | Lemergium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource 'Zynthium bar' %} × 100 | Any level | Zynthium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource 'Keanium bar' %} × 100 | Any level | Keanium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource 'Ghodium melt' %} × 100 | Any level | Ghodium × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource 'Oxidant' %} × 100 | Any level | Oxygen × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource 'Reductant' %} × 100 | Any level | Hydrogen × 500 {% resource 'Energy' %} × 200 | 20 ticks |
+
| {% resource 'Purifier' %} × 100 | Any level | Catalyst × 500 {% resource 'Energy' %} × 200 | 20 ticks |
| {% resource 'Battery' %} × 50 | Any level | {% resource 'Energy' %} × 600 | 10 ticks |
@@ -479,20 +479,20 @@ They also can be used to store resources in a "compressed" form.
Decompressing commodities
(click to expand)
- 
+
@@ -543,7 +543,7 @@ These commodities have the most lucrative prices on the market.
Common higher commodities
(click to expand)
-
+
@@ -561,7 +561,7 @@ These commodities have the most lucrative prices on the market.
Mechanical chain
(click to expand)
-
+
@@ -581,7 +581,7 @@ These commodities have the most lucrative prices on the market.
Biological chain
(click to expand)
-
+
@@ -601,7 +601,7 @@ These commodities have the most lucrative prices on the market.
Electronical chain
(click to expand)
-
+
@@ -621,7 +621,7 @@ These commodities have the most lucrative prices on the market.
Mystical chain
(click to expand)
-
+