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
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.
| Property | Value |
|---|
| HP | 30 |
| Base cost | 20 Ti |
| Scaling | 5% |
| Output interval | 4 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
Takes one stack each of titanium and raw axionite, then outputs one stack of refined axionite. Accepts input and produces output from any side.
| Property | Value |
|---|
| HP | 50 |
| Base cost | 40 Ti |
| Scaling | 50% |
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
- Feed titanium (via conveyor) → foundry stores it
- Feed raw axionite (via conveyor) → foundry combines them
- Foundry outputs one stack of refined axionite to an adjacent accepting building