Class TimbnNpcBlock
One block of a TimbnNpcDay.
public sealed class TimbnNpcBlock
- Inheritance
-
TimbnNpcBlock
- Inherited Members
Methods
Intro(Func<TimbnNpcSteps, TimbnNpcSteps>)
The steps run once when the block starts on time.
public TimbnNpcBlock Intro(Func<TimbnNpcSteps, TimbnNpcSteps> build)
Parameters
buildFunc<TimbnNpcSteps, TimbnNpcSteps>
Returns
LateIntro(Func<TimbnNpcSteps, TimbnNpcSteps>)
The steps run in place of the intro when the block is joined late, usually putting the person where the block expects them.
public TimbnNpcBlock LateIntro(Func<TimbnNpcSteps, TimbnNpcSteps> build)
Parameters
buildFunc<TimbnNpcSteps, TimbnNpcSteps>
Returns
Loop(Func<TimbnNpcSteps, TimbnNpcSteps>)
The steps repeated until the next block starts.
public TimbnNpcBlock Loop(Func<TimbnNpcSteps, TimbnNpcSteps> build)
Parameters
buildFunc<TimbnNpcSteps, TimbnNpcSteps>
Returns
Origin(string)
The point the person is put back at during this block when a walk along the paths finds no route, such as a vendor's stall, and the walk is tried once more from there. Without it the walk is skipped.
public TimbnNpcBlock Origin(string pointId)
Parameters
pointIdstring