<RetVar> = A variable where the requested information is stored.
<RefObj> = The factory, which needs <Var/Ware> as a resource.
<Var/Ware> = The resource, you want to know its amount of for one production cycle of <RefObj>.
This returns the amount of the as <Var/Ware> selected ware, that is needed as a resource by the as <RefObj> selected factory for one production cycle.
Example:
$ware = Energy Cells
$station = get player tracking aim
$number = $station -> get number of resources per cycle for ware $ware
write to player logbook: printf: fmt='%s needs %s units of %s per cycle.', $station, $number, $ware, null, null
return null
This checks how many Energy Cells the current player target factory needs per cycle.
Related Commands:
<RetVar> = <RefObj> get number of products per cycle
Command Location:
- »» Trade Commands
- »» for Stations
<RetVar> = <RefObj> get number of resources per cycle of ware <Var/Ware>
- »» for Stations