<RetVar> = The command return will be stored in this variable.
<Var/Ware> = The ware that you want the subtype of.
Each ware belongs to a main and sub-category called maintype and subtype.
This command returns the specified ware's numerical 'subtype'.
Example:
$ware.subtype = get subtype of ware Fragmentation Bomb Launcher
As a Fragmentation Bomb Launcher is a laser or weapon, it is maintype 8 , however, it is subtype 5 of maintype 8, so $ware.subtype will be 5
Additional Information:
A list of Maintypes and their Subtypes can be found here.
Command Location:
- »» Trade Commands
<RetVar> = get subtype of ware <Var/Ware>