Land Mobility Checks
At the moment one cannot tell if a unit is a submarine, land unit, or a ship. Some checks should be exposed to the lua interface
i don't know but: through the script inside BA/BAR called :"shard_help_unit_table" we have a mtype class, inside the unittable, that can be: air veh bot sub ship amp or hov.
Indeed, but such a workaround shouldn't be necessary, I was thinking of a suite of checks for various mobility options, rather than something that returned an mtype, then that distinction is up to the AI logic rather than the API
What does the Spring C++ AI interface have access to? UnitDefs?
Yes, there's more information in there than is provided via the Shard API ( so much work, not all of it immediatley useful ). Basically anything available in the engines internal unitdef representation