ourgaq.blogg.se

Screeps spawn creep
Screeps spawn creep










module (to export javascript code using module.exports)įollowing are object prototypes of ingame objects, any added property to its prototype will be available to its instances.`global` and `globals` are available in the sandbox, but none of them are defined when scripts are run server side. Note: the global object itself should be assumed non-existing. 2.19.2 Terrain types (undocumented in api documentation).2.19.1 costs (undocumented in api documentation).2.19 Storage constants (undocumented in api documentation).2.18 Link constants (undocumented in api documentation).2.17 Extension constants (undocumented in api documentation).2.16 Wall constants (undocumented in api documentation).2.15 Road constants (undocumented in api documentation).2.14 Source constants (undocumented in api documentation).2.13 Spawn constants (undocumented in api documentation).2.12 Rampart constants (undocumented in api documentation).2.11 Energy constants (undocumented in api documentation).2.10 Obstacle objects types list (undocumented in api documentation, probably used for pathfinder).2.9 Creeps constants (undocumented in api documentation).Screepsautospawner dt ROOM SHARD - Display a distance transfor map for the supplied room and shard. Screepsautospawner terrain ROOM SHARD - Display a map of the terrain for the supplied room and shard. Screepsautospawner position ROOM SHARD - Display the best position for the supplied room and shard. Screepsautospawner shard - Display the selected shard. This will change between runs due to different starting rooms from the server. Screepsautospawner room - Display the shard, room, and position that the system would respawn in. Also returns a -1 error code if respawning isn't appropriate. Screepsautospawner shouldspawn - Return true if the system believes it should respawn. This will also clear all memory and segments. Screepsautospawner respawn - If allowed, identify a shard and room to respawn in and do so. This command is the only interactive command. Screepsautospawner auth - Give the username and password for the Screeps server. It uses a series of rules to make sure that the room it respawns in is appropriate, such as checking for two sources and confirming the player is allowed to spawn in that room, that the room has enough open space, and that the room isn't too swampy.

screeps spawn creep

The ScreepsAutoSpawner identifies when a player is no longer spawned on the Screeps server and then resets the memory before placing a spawn.












Screeps spawn creep