TinyLifeExampleMod/Api/TinyLife/Actions/TalkAction.md

1.3 KiB

TalkAction

Namespace: TinyLife > Actions

Assembly: Tiny Life.dll

Implements IGenericDataHolder

Summary

TalkAction is a generic social action with a set of pre-defined parameters. Things like TinyLife.PersonalityType and TinyLife.Skills.SkillType.Charisma automatically influence this interaction's TinyLife.Actions.TalkAction.TalkSettings.FriendshipGain and TinyLife.Actions.TalkAction.TalkSettings.GoBadlyChance. TinyLife.Actions.TalkAction.Create(System.String,System.Func{TinyLife.Objects.Person,System.Int32},TinyLife.Actions.TalkAction.TalkSettings) should be used to create a talk action.

Constructors

Name Summary
TalkAction ( ActionType, ActionInfo )

Methods

Return Name Summary
void OnCompleted ( CompletionType )

Static Methods

Return Name Summary
TypeSettings Create ( String, Func<Person, Int32>, TalkSettings )