BasePlan Module
Declarative building layout: resolves named slot lists into placement decisions that honour terrain, clearance, builder reach, and wall-in constraints.
Functions and values
| Function or value |
Description
|
|
Built-in plan matching feature 023's iter 026 opening sequence: 2 armmex (nearest metal spots) + 2 armsolar (NearBaseCentre ±200, 0) + 1 armlab (NearBaseCentre 0, 350).
|
|
Empty progress — use at match start.
|
Full Usage:
markConsumed progress slotName
Parameters:
PlanProgress
slotName : string
Returns: PlanProgress
|
Mark a slot as consumed (structure built or under construction).
|
Full Usage:
markInFlight progress slotName
Parameters:
PlanProgress
slotName : string
Returns: PlanProgress
|
Mark a slot as in-flight (BuildCommand issued, awaiting UnitFinished).
|
Full Usage:
markUnfulfillable progress slotName reason
Parameters:
PlanProgress
slotName : string
reason : SlotFailure
Returns: PlanProgress
|
Mark a slot as permanently unfulfillable with the given reason.
|
Full Usage:
resolvePlan plan context
Parameters:
BasePlan
context : ResolveContext
Returns: ResolvedSlot list
|
Resolve every slot in plan against context.
Returns one ResolvedSlot per
|
FSBarV1_Archived