BasePrecondition - Angel-125/Snacks GitHub Wiki
A precondition is a check of some type that prevents outcomes from being applied unless the precondition's check suceeds.
Fields
name
Name of the precondition.
Methods
Constructor
Initializes a new instance of the class.
Parameters
node: A ConfigNode specifying the initialization parameters.
IsValid(ProtoCrewMember,Vessel)
Determines if the precondition is valid.
Parameters
astronaut: The ProtoCrewModule to check.
vessel: The Vessel to check
Return value
IsValid(ProtoCrewMember)
Determines if the precondition is valid.
Parameters
astronaut: The ProtoCrewModule to check.
Return value