A rare resource deposit needed for producing commodities. Can be harvested by creeps with a
WORK
body part.
Each harvest operation triggers a cooldown period, which becomes longer and longer over time.
Learn more about deposits from this article .
Cooldown |
0.001 * totalHarvested ^ 1.2
|
|
Decay | 50,000 ticks after appearing or last harvest operation |
Applied effects, an array of objects with the following properties:
parameter | type | description |
---|---|---|
effect
|
number |
Effect ID of the applied effect. Can be either natural effect ID or Power ID. |
level
optional |
number |
Power level of the applied effect. Absent if the effect is not a Power effect. |
ticksRemaining
|
number |
How many ticks will the effect last. |
An object representing the position of this object in the room.
The link to the Room object. May be undefined in case if an object is a flag or a construction site and is placed in a room that is not visible to you.
The amount of game ticks until the next harvest action is possible.
The deposit type, one of the following constants:
RESOURCE_MIST
RESOURCE_BIOMASS
RESOURCE_METAL
RESOURCE_SILICON
A unique object identificator. You can use
Game.getObjectById
method to retrieve an object instance by its
id
.
The cooldown of the last harvest operation on this deposit.
The amount of game ticks when this deposit will disappear.