Function screeps::constants::controller_levels
source · pub const fn controller_levels(current_rcl: u32) -> Option<u32>
Expand description
Translates the CONTROLLER_LEVELS
constant.
The number of control points required to upgrade to the next level at each room control level.
Returns Some
for levels 1-7, None
for all others.