Home > bitburner > WarehouseAPI > setSmartSupplyUseLeftovers
Set whether smart supply uses leftovers before buying
Signature:
setSmartSupplyUseLeftovers(divisionName: string, cityName: string, materialName: string, enabled: boolean): void;
Parameter | Type | Description |
---|---|---|
divisionName | string | Name of the division |
cityName | string | Name of the city |
materialName | string | Name of the material |
enabled | boolean | smart supply use leftovers enabled |
Returns:
void