HerbPlotInfo
Defined in: client/api.d.ts:3130
One loaded herb plot as THIS client sees it. An unregistered one (state null) carries only template, dbId and its position, and only plots() adds index, name, path and dist.
Properties
Section titled “Properties”completionInSec?
Section titled “completionInSec?”
optionalcompletionInSec?:number
Defined in: client/api.d.ts:3259
CompletionTime minus the nurture clock; 0 when no deadline is set.
dbId:
string
Defined in: client/api.d.ts:3169
ObjectStateManager::GetDbId — reflected per-actor persistence name.
optionaldist?:number
Defined in: client/api.d.ts:3279
Distance from the local player in cm; -1 if unknown.
fertilizerId?
Section titled “fertilizerId?”
optionalfertilizerId?:string
Defined in: client/api.d.ts:3189
Fertilizer applied; independent of growth state.
growing?
Section titled “growing?”
optionalgrowing?:boolean
Defined in: client/api.d.ts:3214
IsGrowing.
growthTimeSec?
Section titled “growthTimeSec?”
optionalgrowthTimeSec?:number
Defined in: client/api.d.ts:3224
Copied off the plant definition when it was planted.
optionalherb?:string
Defined in: client/api.d.ts:3239
Name of the spawned AHerb actor, empty if none.
index?
Section titled “index?”
optionalindex?:number
Defined in: client/api.d.ts:3134
Position in plots(); order is not stable between calls.
inSanctuary?
Section titled “inSanctuary?”
optionalinSanctuary?:boolean
Defined in: client/api.d.ts:3219
Whether the plot is in the Room of Requirement.
multiHarvestable?
Section titled “multiHarvestable?”
optionalmultiHarvestable?:boolean
Defined in: client/api.d.ts:3234
Whether it regrows instead of being consumed.
optionalname?:string
Defined in: client/api.d.ts:3139
Actor name.
optionalpath?:string
Defined in: client/api.d.ts:3144
Full object path; no PersistentLevel means a Blueprint archetype.
plantId?
Section titled “plantId?”
optionalplantId?:string
Defined in: client/api.d.ts:3184
Plant occupying the plot.
plotId?
Section titled “plotId?”
optionalplotId?:string
Defined in: client/api.d.ts:3154
GetPlotID — a PlotDefinition row, i.e. a plot SIZE, not a unique key.
plotUid?
Section titled “plotUid?”
optionalplotUid?:number
Defined in: client/api.d.ts:3159
Persistence UID; CRC32 of the plot’s world position.
progress?
Section titled “progress?”
optionalprogress?:number
Defined in: client/api.d.ts:3194
0..1 growth progress.
regrowthRatio?
Section titled “regrowthRatio?”
optionalregrowthRatio?:number
Defined in: client/api.d.ts:3199
0..1 regrowth progress for a multi-harvest plant.
regrowthTimeSec?
Section titled “regrowthTimeSec?”
optionalregrowthTimeSec?:number
Defined in: client/api.d.ts:3229
Copied off the plant definition when it was planted.
remainingSec?
Section titled “remainingSec?”
optionalremainingSec?:number
Defined in: client/api.d.ts:3204
Only meaningful while Growing(1) or Regrowing(4).
stage?
Section titled “stage?”
optionalstage?:number
Defined in: client/api.d.ts:3244
The herb mesh stage; it animates, so a read right after a write shows the old one.
stages?
Section titled “stages?”
optionalstages?:number
Defined in: client/api.d.ts:3249
GetNumStages — the stage count for this plant.
state:
number|null
Defined in: client/api.d.ts:3174
EHerbGrowthState: 0 None, 1 Growing, 2 Grown, 3 Harvested, 4 Regrowing. Null if unregistered.
stateName?
Section titled “stateName?”
optionalstateName?:string
Defined in: client/api.d.ts:3179
State as a name.
stationUid?
Section titled “stationUid?”
optionalstationUid?:number
Defined in: client/api.d.ts:3164
Parent station UID; stale on a plot whose state was rebound.
template
Section titled “template”template:
boolean
Defined in: client/api.d.ts:3149
Whether it is a class archetype rather than a placed actor.
timerHandle?
Section titled “timerHandle?”
optionaltimerHandle?:number
Defined in: client/api.d.ts:3254
Growth timer handle; 0 means nothing is armed.
optionalx?:number
Defined in: client/api.d.ts:3264
World position.
optionaly?:number
Defined in: client/api.d.ts:3269
World position.
yield?
Section titled “yield?”
optionalyield?:number
Defined in: client/api.d.ts:3209
Byproducts a harvest would grant.
optionalz?:number
Defined in: client/api.d.ts:3274
World position.