<RetVar> = The command return will be stored in this variable.
<Var/Number> = The 'maintype' number you wish to get the number of 'subtypes' of.
Each ware belongs to a main and sub-category called maintype and subtype.
This instruction returns the number of 'subtypes' of a particular 'maintype' as entered in the command.
Example:
$subtype.count = get number of subtypes of maintype 8
This will return the number of subtypes for maintype 8 (Lasers). Each players game may be different dependant on 'scripts' and 'mods' installed that may add wares to a 'maintype', thus increasing the 'subtype' count.
Additional Information:
A list of Maintypes and their Subtypes can be found here.
Command Location:
- »» Trade Commands
<RetVar> =get number of subtypes of maintype <Var/Number>