Table of Contents

Delegate TalkAction.TalkSettings.EvaluationResult

Namespace
TinyLife.Actions
Assembly
Tiny Life.dll
public delegate void TalkAction.TalkSettings.EvaluationResult(ActionInfo info, PersonLike partner, float originalGain, float originalRomancePercentage, float originalGoBadlyChance, ref float romanceGain, ref float friendshipGain, ref float romanceLoss, ref float friendshipLoss, ref float goBadlyChance)

Parameters

info ActionInfo

The action info that is being evaluated

partner PersonLike

The partner of the action.

originalGain float

The amount of friendship and romance points that should be gained as a result of this action succeeding, without any default changes applied

originalRomancePercentage float

The amount of romance, out of originalGain that should be gained as a result of this action succeeding, without any default changes applied

originalGoBadlyChance float

The chance, between 0 and 1, that the conversation should end badly. This value doesn't yet have any default changes applied.

romanceGain float

The amount of romance points that should be gained as a result of this action succeeding, which already has all default changes applied

friendshipGain float

The amount of friendship points that should be gained as a result of this action succeeding, which already has all default changes applied

romanceLoss float

The amount of romance points that should be lost as a result of this action going badly, which already has all default changes applied

friendshipLoss float

The amount of friendship points that should be lost as a result of this action going badly, which already has all default changes applied

goBadlyChance float

The chance, between 0 and 1, that the conversation should end badly. This value already has all of the default changes applied.

Extension Methods