code/__HELPERS/radio.dm
/proc/sanitize_frequency | Ensure the frequency is within bounds of what it should be sending/receiving at |
---|---|
/proc/format_frequency | Format frequency by moving the decimal. |
/proc/unformat_frequency | Opposite of format, returns as a number |
/proc/return_unused_frequency | returns a random unused frequency between MIN_FREE_FREQ & MAX_FREE_FREQ if free = TRUE, and MIN_FREQ & MAX_FREQ if FALSE |