<RetVar> = A variable, where the requested information is stored.
<RefObj> = A factory you want to know its current production status.
<Var/Number> = A TRUE or FALSE value or its representing number 1 or 0.
This command returns the current production status of the as <RefObj> selected factory.
If <Var/Number> is TRUE, it will return the percentage of wares that are already in stock of the factory and that are needed for the next production cycle. If <Var/Number> is FALSE, it will just return 1 if the factory has enough resources for the next production cycle, or 0 if it hasn't.
Example:
$station = get player tracking aim
$percentage = $station -> get production status: as percentage=[TRUE]
write to player logbook: printf: fmt='%s has %s percent of wares for the next production cycle in stock.', $station, $percentage, null, null, null
return null
This will return the percentage of wares the player's target station has for the next production cycle in stock.
Command Location:
- »» Trade Commands
- »» for Stations
<RetVar> = <RefObj> get production status: as percentage=<Var/Number>
- »» for Stations