Skip to content
Karl the Pagan edited this page Jan 31, 2017 · 5 revisions

Remote Mining Documentation

Parameters

  • REMOTE_HAULER_MULTIPLIER parameter

Absolute maximum number of haulers spawned per source in a remote mining room. This should be increased when you have finished road construction. Hauler routes will then be calculated based on the estimated mining rate and distance from delivery. Default: 1

  • REMOTE_HAULER_REHOME parameter

May haulers choose a storage room closer than their spawn room for delivery? Default: false

  • REMOTE_HAULER_MIN_WEIGHT parameter

Small haulers are a CPU drain. Constrain how small hauler creeps may be. Default: 800

  • REMOTE_WORKER_MULTIPLIER parameter

Number of workers spawned per remote mining room. Default: 1

Memory commands

  • Task.mining.carry(<roomName>, <change>) command

Changes a mining room's carry capacity and echos the current bias. Omit the argument to only retrieve the setting.

Diagnostic commands

  • Task.mining.strategies.hauler.maxWeight(<roomName>, <storageRoomInstance>, <livingHaulerList>) command

Calculate the total maxWeight budget for a hauler route. <livingHaulerList> is optional and if omitted existingCarry will be 0.

  • Memory.debugTrace.mining=maxWeight memory command

Provides logging of maxWeight calculations. (requires TRACE: true, DEBUG: true parameters).