pub const TERMINAL_SEND_COST_SCALE: u32 = 30;
Expand description

Exponential scaling rate for StructureTerminal energy costs

Energy cost to send resources with a terminal is determined by the formula:

Math.ceil(resource_amount * (1 - Math.exp(-range / 30)))

Code reference