pub enum Component {
Show 19 variants
CitizenAi,
Citizen,
Happiness,
Build,
Destroy,
Fire,
Road,
Jobs,
NaturalResource,
Pile,
CreateRawMaterial,
CreateNaturalResource,
Animal,
CropField,
Orchard,
Pasture,
DropPile,
Quarry,
Fishing,
}Expand description
Which component a SendMessage targets (CitizenAI, Citizen).
Variants§
CitizenAi
The citizen’s AI.
Citizen
The citizen component (needs, family).
Happiness
Not identified yet.
Build
BuildComponent message 0 adds one unit of construction work.
Destroy
DestroyComponent message 0 adds one unit of deconstruction work.
Fire
FireComponent message 0, a bucket of water.
Original: FUN_1400499f0.
Road
CompleteRoad’s start: a the cell, b the cell type, message the byte.
Original: FUN_1400cad20, FUN_1400a1b10.
Jobs
The job manager: message 0 is CompleteTask’s start, 1 its abort; a is the work id, b the
task parameter.
Original: FUN_1400fdc30, FUN_1400fdcd0.
NaturalResource
A NaturalResourceComponent: 0 remove (RemoveNaturalResource start, a its flag), 1 release
the removal claim (its abort), 2 play animation a (AnimateNaturalResource start).
Original: FUN_14012b910.
Pile
A RawMaterialComponent pile: 0 picked up (PickupRawMaterial start).
CreateRawMaterial
CreateRawMaterial’s start: a the output template, b the cell, entity the workplace,
message the yield factor as f32 bits.
Original: FUN_1400cc010.
CreateNaturalResource
CreateNaturalResource’s start once the cell is free: a the template, b the cell.
Original: FUN_1400cbb20.
Animal
RemoveAnimal’s start: the animal entity is removed.
Original: FUN_1400cfcc0.
CropField
CropFieldComponent’s message slot: message 0 planted / 1 tended, a the cell index,
entity the field.
Original: FUN_140120020.
Orchard
OrchardComponent’s message slot: 0 planted, 1 picked, 2 tended; a the tree slot.
Original: FUN_1400522f0.
Pasture
PastureComponent’s message slot: 0 a rancher’s visit.
Original: FUN_14012cbf0.
DropPile
A loose pile of a (material), b units, left on the ground near the citizen (the units
already left its storage).
Original: FUN_1400ccd90.
Quarry
QuarryComponent’s message slot: the quarry entity digs deeper.
Original: FUN_1400554e0.
Fishing
FishingComponent: the fishing sequence’s report (a the catch’s cell). It reaches the
component’s default message handler, which does nothing.