Delegate TalkAction.TalkSettings.EvaluationResult
A delegate that is used for EvaluateSimple(Action, Person, float, float) and EvaluateFully(SocialAction).
public delegate void TalkAction.TalkSettings.EvaluationResult(ActionInfo info, Person partner, ref float romanceGain, ref float friendshipGain, ref float romanceLoss, ref float friendshipLoss, ref float goBadlyChance)
Parameters
info
ActionInfoThe action info that is being evaluated
partner
PersonThe partner of the action.
romanceGain
floatThe amount of romance points that should be gained as a result of this action succeeding, which already has all default changes applied
friendshipGain
floatThe amount of friendship points that should be gained as a result of this action succeeding, which already has all default changes applied
romanceLoss
floatThe amount of romance points that should be lost as a result of this action going badly, which already has all default changes applied
friendshipLoss
floatThe amount of friendship points that should be lost as a result of this action going badly, which already has all default changes applied
goBadlyChance
floatThe chance, between 0 and 1, that the conversation should end badly. This value already has all of the default changes applied.
- Extension Methods