[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = (integer) Returns the volume used by a type of ware in a ships cargo hold.
<RefObj> = (Ship) Ship to get the used volume from.
<Var/Ware> = (WareType) WareType to get volume of.
Returns the amount of volume a particular ware uses in a given ships cargo hold.
Example:
$volume = [PLAYERSHIP] -> get volume of ware Energy Cells in cargo bay
Given that an energy cell has volume "1". The return will just be the exact number of energy cells "N" multiplied by "1".
N * 1 = N
Unknown Outcomes:
- Invalid RefObj
- Invalid WareType
Command Location:
- »» Trade Commands
- »» for Ships
<RetVar/IF><RefObj> get volume of ware <Var/Ware> in cargo bay
- »» for Ships