/ScreepJandi

Screeps scripts for my Steam profile. My account used to run on this one.

Primary LanguageJavaScript

ScreepJandi

Memory play (WiP)

Spawn

  1. energy_deflator - reduce the energy amount that is used for building creeps. Default 0.
  2. minBuilders - minimum number of builders in a room where spawn is
  3. minRepairers - minimum number of repairers in a room where spawn is
  4. claimRoom - when exists, spawns role: claimer

Creep (all types)

  1. to_recycle
    1. 1: go to spawn in the same room and get recycled by it
  2. maxed: if true, creep stops harvesting/collecting energy and goes to work (harvest, repair, build, upgrade, lorry)

builder

  1. ext - when true, withdraws energy from extensions as well. Usually used around RCL 4 for storage building.

longDistanceHarvester

  1. steps_from_source - tiles traveled from source to unload. One way only
  2. ticks_from_source - time traveled from source to unload. One way only
  3. miving_to_unload - total time moving from energy to unload

lorry

  1. _task
    1. id_to: Where does it unload
    2. id_from: Optional. From where withdraw resources
    3. mineral_type: RESOURCE_*

Flag play (WiP)

Yellow

Used for LINKs. Transfering from yellow-red to yellow-yellow.

Brown

Used for role repairer to recycle constructions. When a repairer sees this flag, it dismantles it.

Lairs (TODO)

Patrol

25 move, 6 heal, rest attack