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.
Titanium

Axionite
Axionite comes in two forms:Raw axionite

Refined axionite

Whenever “axionite” is mentioned in the spec without qualification, it refers to refined axionite.
Conversion
The core can convert refined axionite from the global resource pool into titanium withc.convert(amount).
Converted axionite is removed from the Ax collected stat and added to the Ti
collected stat.
Resource distribution
Resources are stored and moved in stacks of 10. At the end of each round, buildings that output resources send them to adjacent buildings that accept them. Each stored stack also has a resource ID. You can query the stack currently sitting in a conveyor or other storage building withc.get_stored_resource_id(...).
See conveyors, harvester & foundry, and turrets for details on input/output directions.
Cost scaling
Every building and unit you construct increases the cost of future builds. The cost of every building and unit is: Where scale starts at 1.0 and increases additively with each entity built — two gunners at +10% each give 1.2x, not 1.21x. You can query the current scale withc.get_scale_percent() which returns it as a percentage (100.0 at base).
When an entity is destroyed, its scaling contribution is removed — costs go back down.

