<RetVar> = The command return will be stored in this variable.
<Var/Ware> = The ware that you want the average price of.
This command returns the 'Average' price for the selected ware.
As all wares have a 'Minimum' and a 'Maximum' price that is preset, the 'median' (middle) of these is the Average price.
Example:
$avg.ecell.price = get average price of ware Energy Cells
As Energy Cells have a 'Min' price of 12cr and a 'Max' price of 20cr, $avg.ecell.price will be the average of these two numbers, being 16cr
Command Location:
- »» Trade Commands
<RetVar> = get average price of ware <Var/Ware>