Returns the energy usage for a given assembly type ID from the on-chain EnergyConfig. Uses cached EnergyConfig data after the first fetch.
In-game type ID (e.g. from rawData.type_id)
Energy usage (e.g. energy_constant), or 0 if not found or not yet loaded
Returns the energy usage for a given assembly type ID from the on-chain EnergyConfig. Uses cached EnergyConfig data after the first fetch.