User Tools

Site Tools


api:building_function_workplace

BUILDING_FUNCTION_WORKPLACE

Properties


WorkerCapacity

Serialized


IsInfiniteCapacity

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

WorkerRatioFromCapacity

Serialized

Will override worker capacity if the value is over 0.

  • Type: float
  • Expected: float value
  • Default value: 0.0f

OutputCapacity

Serialized


StorageRatioFromCapacity

Serialized

Will override output capacity if the value is over 0.

  • Type: float
  • Expected: float value
  • Default value: 0.0f

UpkeepPerWorker

Serialized


RelatedJob

Serialized


IsPrivate

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

CanAssignWorkerAutomatically

Serialized

If false, monument like the Monastery, can't automatically assign worker to this workplace

  • Type: boolean
  • Expected: boolean value
  • Default value: true

HasResourceDepot

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

IsPausable

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

RandomWorkstationReservation

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

ShowProgressBar

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

ProductionCycleDurationInSec

Serialized

  • Type: float
  • Expected: float value
  • Default value: 20.0f

WorkCycleNeededToProduceOnce

Serialized


AssetWorkplaceRecipeList

Serialized


InputInventoryCapacityMultiplier

Serialized

This will be multiplied by the needed resources quantities to determine input inventory's capacity.
For gathering workplaces, should set at 0, since they have no input inventory.


DesirabilityLayer

Serialized


AssetNoZoneNotification

Serialized


AssetNoResourceInZoneNotification

Serialized


OutputOnlyKeyOverride

Serialized

  • Type: string
  • Expected: string value

InputOutputKeyOverride

Serialized

  • Type: string
  • Expected: string value

IsDisplayInputResourcesInDescription

Serialized

Display input resources in description if workplace has input resources.

  • Type: boolean
  • Expected: boolean value
  • Default value: true

AgentWorkingActivityMessageOverride

Serialized

If set, will replace the default working activity message used in the behavior


DeprecatedResourceListNeeded

Serialized

Deprecated since version 1.12; use WORKPLACE_RECIPE instead


DeprecatedResourceProduced

Serialized

Deprecated since version 1.12; use WORKPLACE_RECIPE instead

api/building_function_workplace.txt · Last modified: 2026/10/09 13:20 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki