code/__HELPERS/sanitize_values.dm 
/proc/sanitize_list | Cleans up the provided List by ensuring it has nothing in filter and only items in allow (if allow is non-null) Default is used if List is not a list. No work is performed if filter and allow are not lists. |
---|---|
/proc/sanitize_loadout | Ensures that our job loadout is an associated list of role path -> list of slots -> list of gear |