api:building_function_workplace
Table of Contents
BUILDING_FUNCTION_WORKPLACE
Properties
WorkerCapacity
IsInfiniteCapacity
WorkerRatioFromCapacity
Will override worker capacity if the value is over 0.
- Type:
float - Expected:
float value - Default value:
0.0f
OutputCapacity
StorageRatioFromCapacity
Will override output capacity if the value is over 0.
- Type:
float - Expected:
float value - Default value:
0.0f
UpkeepPerWorker
- Can also be built from:
list<RESOURCE_QUANTITY_PAIR> - Expected:
RESOURCE_COLLECTION_VALUE valueorlist of RESOURCE_QUANTITY_PAIR values
RelatedJob
IsPrivate
CanAssignWorkerAutomatically
If false, monument like the Monastery, can't automatically assign worker to this workplace
- Type:
boolean - Expected:
boolean value - Default value:
true
HasResourceDepot
IsPausable
RandomWorkstationReservation
ShowProgressBar
ProductionCycleDurationInSec
WorkCycleNeededToProduceOnce
InputInventoryCapacity
- Can also be built from:
list<RESOURCE_QUANTITY_PAIR> - Expected:
RESOURCE_COLLECTION_VALUE valueorlist of RESOURCE_QUANTITY_PAIR values
ResourceListNeeded
- Can also be built from:
list<RESOURCE_QUANTITY_PAIR> - Expected:
RESOURCE_COLLECTION_VALUE valueorlist of RESOURCE_QUANTITY_PAIR values
ResourceProduced
- Can also be built from:
list<RESOURCE_QUANTITY_PAIR> - Expected:
RESOURCE_COLLECTION_VALUE valueorlist of RESOURCE_QUANTITY_PAIR values
DesirabilityLayer
AssetNoZoneNotification
AssetNoResourceInZoneNotification
OutputOnlyKeyOverride
InputOutputKeyOverride
IsDisplayInputResourcesInDescription
Display input resources in description if workplace has input resources.
- Type:
boolean - Expected:
boolean value - Default value:
true
AgentWorkingActivityMessageOverride
If set, will replace the default working activity message used in the behavior
- Expected:
WORK_AGENT_ACTIVITY_MESSAGE value - Default value:
nil
api/building_function_workplace.txt · Last modified: 2025/08/25 14:15 by 127.0.0.1
