Suspicious / irrelevant names:
no_doubles:
["g","o","o","d"] call no_doubles
returns ["g","o","d"]
It also removes triplets, 4-letter repeats etc,
so "no_doubles" isn't a strong enough word.
swap_identity - provides "body exchange" for 2
non-player units. The first one will get voice, face
and glasses of another and vice versa.
symbol_counts - how many times latin letters and
"0-9" digit chars are present in given char vector?
Returns 36 integers.
symbol_counts2 - a version with custom symbol set.
type_list - actualy 2 lists: one list of unique elements,
and another one of their counts. But in OFP list is
associated with a simple array (of units).
unwrap_type_list - makes reverse process:
[[1,3,2],["hk","m16","grenade"]] call unwrap_type_list
returns
["hk","m16","m16","m16","grenade","grenade]