icontypes.lua seems like it offers no way for a map to add an icon (or for a mod either for that matter, but at least a mod can just override the file). So any custom units bundled with a map are forced to use an existing icon. Apply the usual VFS.Include("icontypes_map.lua") pattern.