ModBuildingProductionDataInfo: Difference between revisions

From The Colonists
Jump to navigation Jump to search
initial creation
 
No edit summary
Line 6: Line 6:
{| class="wikitable sortable" style="text-align: center"  
{| class="wikitable sortable" style="text-align: center"  
|-
|-
! Entry !! Description !! Used In
! Entry !! Description !! Used In !! Non-Default Example
|-
|-
| $type
| $type
| "BuildingProductionDataInfo, Game"
| "BuildingProductionDataInfo, Game"
| default
| default
|
|-
|-
| processTime
| processTime
| length of production cycle
| length of production cycle
| 30.0
| 30.0
|
|-
|-
| minProcessTime
| minProcessTime
| yyy
| Animal Field related
| -1.0
| -1.0
|
|-
|-
| additionalTime
| additionalTime
| yyy
| ??
| 0.0
| 0.0
|
|-
|-
| itemStackGroupsProduced
| itemStackGroupsProduced
| array of resource(s) produced
| array of resource(s) produced
| exxx
| example
|
|-
|-
| miscCatProduced
| miscCatProduced
| ID of icon for output panel
| ID of icon for output panel
| 255
| 255
|
|-
|-
| itemRequirements
| itemRequirements
| array of tech required
| array of tech required
| -
| -
|
|-
|-
| defaultProductionBalance
| defaultProductionBalance
| default split for multiple outputs
| default split for multiple outputs
| 50
| 50
|
|-
|-
| isClearanceModeAvailable
| isClearanceModeAvailable
| Destroy produced resource
| Destroy produced resource
| false
| false
|
|-
|-
| displayProcessTime
| displayProcessTime
| ??
| ??
| -1.0
| -1.0
|
|-
|-
| workerProductionSpeedBoostFactor
| workerProductionSpeedBoostFactor
| yyy
| yyy
| 1.0
| 1.0
|
|-
|-
| activeDirtyType
| activeDirtyType
| 0, unless called every frame, then=4
| 0, unless animation called every frame, then=4
| 4
| 4
|
|-
|-
| typeId
| typeId
| 21 = BuildingProductionDataInfo
| 21 = BuildingProductionDataInfo
| 21
| 21
|
|-
|-
|}
|}

Revision as of 21:26, 14 December 2022

place holder, under construction.
List of all the BuildingConstructionDataInfo entries and example values.

Mod Building.json - ageComponentsDict - BuildingProductionDataInfo

Table of building.json -> ageComponentsDict -> BuildingProductionDataInfo entries:

Entry Description Used In Non-Default Example
$type "BuildingProductionDataInfo, Game" default
processTime length of production cycle 30.0
minProcessTime Animal Field related -1.0
additionalTime ?? 0.0
itemStackGroupsProduced array of resource(s) produced example
miscCatProduced ID of icon for output panel 255
itemRequirements array of tech required -
defaultProductionBalance default split for multiple outputs 50
isClearanceModeAvailable Destroy produced resource false
displayProcessTime ?? -1.0
workerProductionSpeedBoostFactor yyy 1.0
activeDirtyType 0, unless animation called every frame, then=4 4
typeId 21 = BuildingProductionDataInfo 21