Skip to content

mission_task_industry_boosted

Source: base/tealdef/mission/tasks/transport_cargo/mission_task_industry_boosted.d.tl

Notes

Task that waits until an industry is boosted.

MissionTaskIndustryBoosted

record global base/tealdef/mission/tasks/transport_cargo/mission_task_industry_boosted.d.tl:3

global record MissionTaskIndustryBoosted is MissionInterface.TaskScript<MissionTaskIndustryBoosted.State, MissionTaskIndustryBoosted.Params>

Load: local industry_boosted = ug_require "::/mission/tasks/transport_cargo/industry_boosted.tl"

Notes

Task (industry_boosted) that completes when any industry of the given constructions has the given booster active (or, without boosterIndex, a boosted person capacity).

MissionTaskIndustryBoosted.Params

record base/tealdef/mission/tasks/transport_cargo/mission_task_industry_boosted.d.tl:4

record Params

Notes

Params of the task.

Used in the base game: 3 times in 2 files

base/content/mission/mission/tasks/transport_cargo/industry_boosted.tl:4

local type P = MissionTaskIndustryBoosted.Params
mods/release/urbangames_campaign_mission_05/content/mission/mission/mission_story.tl:1415
taskParams : MissionTaskIndustryBoosted.Params = {

Fields

Name Type Description
boosterIndex integer Index of the booster to check; nil checks the person-capacity boost.
constructionEntities {Engine.Entity} Industry constructions to watch.

MissionTaskIndustryBoosted.State

record base/tealdef/mission/tasks/transport_cargo/mission_task_industry_boosted.d.tl:8

record State

Notes

State of the task.

Used in the base game: 1 time in 1 file

base/content/mission/mission/tasks/transport_cargo/industry_boosted.tl:3

local type S = MissionTaskIndustryBoosted.State

Fields

Name Type Description
isComplete boolean A boosted industry was found.