Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.battlecode.cam/llms.txt

Use this file to discover all available pages before exploring further.

Harvester

Harvester Must be placed on an ore deposit. Outputs one stack of the corresponding resource to an adjacent building every 4 rounds. The first output happens immediately on the round the harvester is built. Prioritises outputting in directions used least recently.
PropertyValue
HP30
Base cost20 Ti
Scaling5%
Output interval4 rounds
# Build a harvester on an ore tile
if c.can_build_harvester(ore_pos):
    c.build_harvester(ore_pos)
Harvesters are now cheap enough to get online early. A base harvester costs only 20 Ti and adds just +5% scaling.

Axionite Foundry

Axionite foundry Takes one stack each of titanium and raw axionite, then outputs one stack of refined axionite. Accepts input and produces output from any side.
PropertyValue
HP50
Base cost40 Ti
Scaling50%
Foundries have the highest scaling contribution at +50% each. Building one adds 50% to your cost multiplier (e.g. 1.0x -> 1.5x if it’s your first build, but 1.5x -> 2.0x if you’ve already built other things). Plan carefully before committing 40 Ti.

Refining process

  1. Feed titanium (via conveyor) → foundry stores it
  2. Feed raw axionite (via conveyor) → foundry combines them
  3. Foundry outputs one stack of refined axionite to an adjacent accepting building