industries¶
Source: base/tealdef/game_mechanics/industries/industries.d.tl
Notes
State and config of the industries game script (expansion and closure of industries).
IndustriesState¶
record global base/tealdef/game_mechanics/industries/industries.d.tl:3
global record IndustriesState
Notes
State of the industries game script.
Fields
| Name | Type | Description |
|---|---|---|
toSpawn |
integer |
|
industryFailedExtensions |
{Engine.Entity : FailedExpansion} |
Industry -> last failed expansion. |
IndustriesState.FailedExpansion¶
record base/tealdef/game_mechanics/industries/industries.d.tl:4
record FailedExpansion
Notes
A failed expansion of an industry.
Used in the base game: 2 times in 1 file
base/content/gui/gui/entity_window/industry/industry.tl:55
Fields
| Name | Type | Description |
|---|---|---|
triangles |
{{Vec2f, Vec2f, Vec2f}} |
Triangles of the area that blocked the expansion. |
tick |
integer |
Update count at which the expansion failed. |
IndustriesConfig¶
record global base/tealdef/game_mechanics/industries/industries.d.tl:12
global record IndustriesConfig
Notes
Config of the industries game script (game_script_config resource industries_config.res).
Fields