Table of Contents

Class ActionType

Namespace
TinyLife.Actions
Assembly
Tiny Life.dll

Action types are blueprints for Action instances which can be registered using Register(TypeSettings). An action type contains information about its action and can create an instance using ConstructedType.

[JsonConverter(typeof(StaticJsonConverter<ActionType>), new object[] { typeof(ActionType), "PrivateTypes" })]
public class ActionType : IEmotionSource
Inheritance
ActionType
Implements
Inherited Members
Extension Methods

Fields

AddALittleSomething

public static readonly ActionType AddALittleSomething

Field Value

ActionType

AddCandle

public static readonly ActionType AddCandle

Field Value

ActionType

AdmireFood

public static readonly ActionType AdmireFood

Field Value

ActionType

AdmireLgbtFlag

public static readonly ActionType AdmireLgbtFlag

Field Value

ActionType

AdmitToBeingRomanticWithSomeoneElse

public static readonly ActionType AdmitToBeingRomanticWithSomeoneElse

Field Value

ActionType

AdoptAsParent

public static readonly ActionType AdoptAsParent

Field Value

ActionType

AdoptChild

public static readonly ActionType AdoptChild

Field Value

ActionType

AgeUp

public static readonly ActionType AgeUp

Field Value

ActionType

AnnouncePregnancy

public static readonly ActionType AnnouncePregnancy

Field Value

ActionType

ArgueAboutToyOwnership

public static readonly ActionType ArgueAboutToyOwnership

Field Value

ActionType

AskAboutCareerDreams

public static readonly ActionType AskAboutCareerDreams

Field Value

ActionType

AskAboutComputerSpecs

public static readonly ActionType AskAboutComputerSpecs

Field Value

ActionType

AskAboutDay

public static readonly ActionType AskAboutDay

Field Value

ActionType

AskAboutFamilyWellbeing

public static readonly ActionType AskAboutFamilyWellbeing

Field Value

ActionType

AskAboutFictionBooks

public static readonly ActionType AskAboutFictionBooks

Field Value

ActionType

AskAboutGamingRig

public static readonly ActionType AskAboutGamingRig

Field Value

ActionType

AskAboutJob

public static readonly ActionType AskAboutJob

Field Value

ActionType

AskAboutNonfictionBooks

public static readonly ActionType AskAboutNonfictionBooks

Field Value

ActionType

AskAboutParenting

public static readonly ActionType AskAboutParenting

Field Value

ActionType

AskAboutPersonality

public static readonly ActionType AskAboutPersonality

Field Value

ActionType

AskBabysitterBabiesSat

public static readonly ActionType AskBabysitterBabiesSat

Field Value

ActionType

AskBabysitterBrewConsumption

public static readonly ActionType AskBabysitterBrewConsumption

Field Value

ActionType

AskBabysitterCredentials

public static readonly ActionType AskBabysitterCredentials

Field Value

ActionType

AskFood

public static readonly ActionType AskFood

Field Value

ActionType

AskForArtAdvice

public static readonly ActionType AskForArtAdvice

Field Value

ActionType

AskHow

public static readonly ActionType AskHow

Field Value

ActionType

AskIfSingle

public static readonly ActionType AskIfSingle

Field Value

ActionType

AskMedicalHistory

public static readonly ActionType AskMedicalHistory

Field Value

ActionType

AskToCook

public static readonly ActionType AskToCook

Field Value

ActionType

AskToLeave

public static readonly ActionType AskToLeave

Field Value

ActionType

AskToTakeOutOfCrib

public static readonly ActionType AskToTakeOutOfCrib

Field Value

ActionType

AskToTaste

public static readonly ActionType AskToTaste

Field Value

ActionType

AskToTellStory

public static readonly ActionType AskToTellStory

Field Value

ActionType

AskWhy

public static readonly ActionType AskWhy

Field Value

ActionType

Babble

public static readonly ActionType Babble

Field Value

ActionType

BakeFood

public static readonly ActionType BakeFood

Field Value

ActionType

BatheBaby

public static readonly ActionType[] BatheBaby

Field Value

ActionType[]

BeAwayFromLotEmployment

public static readonly ActionType BeAwayFromLotEmployment

Field Value

ActionType

BeEnticing

public static readonly ActionType BeEnticing

Field Value

ActionType

BlowOutCandles

public static readonly ActionType BlowOutCandles

Field Value

ActionType

BoastAboutPagesWritten

public static readonly ActionType BoastAboutPagesWritten

Field Value

ActionType

BragAboutComputer

public static readonly ActionType BragAboutComputer

Field Value

ActionType

BreakUp

public static readonly ActionType BreakUp

Field Value

ActionType

BrewCoffee

public static readonly ActionType BrewCoffee

Field Value

ActionType

BribeForFriendship

public static readonly ActionType BribeForFriendship

Field Value

ActionType

CallOver

public static readonly ActionType CallOver

Field Value

ActionType

CallToMeal

public static readonly ActionType CallToMeal

Field Value

ActionType

CasualCompliment

public static readonly ActionType CasualCompliment

Field Value

ActionType

CelebrateBirthday

public static readonly ActionType CelebrateBirthday

Field Value

ActionType

ChangeDiaper

public static readonly ActionType[] ChangeDiaper

Field Value

ActionType[]

ChangeOutfit

public static readonly ActionType ChangeOutfit

Field Value

ActionType

ChangePronouns

public static readonly ActionType ChangePronouns

Field Value

ActionType

ChastiseForFoodBeliefs

public static readonly ActionType[] ChastiseForFoodBeliefs

Field Value

ActionType[]

Chat

public static readonly ActionType Chat

Field Value

ActionType

ChatOnPhone

public static readonly ActionType ChatOnPhone

Field Value

ActionType

ChatOnPhoneWith

public static readonly ActionType ChatOnPhoneWith

Field Value

ActionType

ChatWith

public static readonly ActionType ChatWith

Field Value

ActionType

Clean

public static readonly ActionType Clean

Field Value

ActionType

CleanDish

public static readonly ActionType CleanDish

Field Value

ActionType

CleanEverything

public static readonly ActionType CleanEverything

Field Value

ActionType

CleanOutFridge

public static readonly ActionType CleanOutFridge

Field Value

ActionType

CleanUpBaby

public static readonly ActionType[] CleanUpBaby

Field Value

ActionType[]

CollectSunlight

public static readonly ActionType CollectSunlight

Field Value

ActionType

CollectTrash

public static readonly ActionType CollectTrash

Field Value

ActionType

ColorColoringBook

public static readonly ActionType ColorColoringBook

Field Value

ActionType

CompareMuscleSize

public static readonly ActionType CompareMuscleSize

Field Value

ActionType

ComparePhysicalFeatures

public static readonly ActionType ComparePhysicalFeatures

Field Value

ActionType

ComplainAboutAdults

public static readonly ActionType ComplainAboutAdults

Field Value

ActionType

ComplainAboutLife

public static readonly ActionType ComplainAboutLife

Field Value

ActionType

ComplainAboutParent

public static readonly ActionType ComplainAboutParent

Field Value

ActionType

ComplainAboutRelationship

public static readonly ActionType ComplainAboutRelationship

Field Value

ActionType

ComplimentLooks

public static readonly ActionType ComplimentLooks

Field Value

ActionType

ConfideIn

public static readonly ActionType ConfideIn

Field Value

ActionType

CookChildFood

public static readonly ActionType CookChildFood

Field Value

ActionType

CookFood

public static readonly ActionType CookFood

Field Value

ActionType

CreateApp

public static readonly ActionType[] CreateApp

Field Value

ActionType[]

CriticizeDeforestation

public static readonly ActionType CriticizeDeforestation

Field Value

ActionType

CryAt

public static readonly ActionType CryAt

Field Value

ActionType

DebatePineappleOnPizza

public static readonly ActionType DebatePineappleOnPizza

Field Value

ActionType

DebugAddToHousehold

public static readonly ActionType DebugAddToHousehold

Field Value

ActionType

DebugDie

public static readonly ActionType DebugDie

Field Value

ActionType

DebugTeleport

public static readonly ActionType DebugTeleport

Field Value

ActionType

DebugToggleBroken

public static readonly ActionType DebugToggleBroken

Field Value

ActionType

DebugToggleDirty

public static readonly ActionType DebugToggleDirty

Field Value

ActionType

DeepCompliment

public static readonly ActionType DeepCompliment

Field Value

ActionType

DeliverMail

public static readonly ActionType DeliverMail

Field Value

ActionType

DeliverNewspaper

public static readonly ActionType DeliverNewspaper

Field Value

ActionType

Die

public static readonly ActionType Die

Field Value

ActionType

DiscussFineDining

public static readonly ActionType DiscussFineDining

Field Value

ActionType

DiscussHomeAutomation

public static readonly ActionType DiscussHomeAutomation

Field Value

ActionType

DiscussNpP

public static readonly ActionType DiscussNpP

Field Value

ActionType

DiscussWorkoutRegimen

public static readonly ActionType DiscussWorkoutRegimen

Field Value

ActionType

DoHomework

public static readonly ActionType DoHomework

Field Value

ActionType

Eat

public static readonly ActionType Eat

Field Value

ActionType

EditOutfits

public static readonly ActionType EditOutfits

Field Value

ActionType

EnthuseAboutCoupons

public static readonly ActionType EnthuseAboutCoupons

Field Value

ActionType

ExplainActivities

public static readonly ActionType[] ExplainActivities

Field Value

ActionType[]

ExpressFearOfCrowds

public static readonly ActionType ExpressFearOfCrowds

Field Value

ActionType

ExpressPregnancyConcerns

public static readonly ActionType ExpressPregnancyConcerns

Field Value

ActionType

Flirt

public static readonly ActionType Flirt

Field Value

ActionType

FlirtyJoke

public static readonly ActionType FlirtyJoke

Field Value

ActionType

FollowAdult

public static readonly ActionType FollowAdult

Field Value

ActionType

FoolAround

public static readonly ActionType FoolAround

Field Value

ActionType

GaugeRelationship

public static readonly ActionType GaugeRelationship

Field Value

ActionType

GetBakingIngredients

public static readonly ActionType GetBakingIngredients

Field Value

ActionType

GetFoodFromDisplayCase

public static readonly ActionType GetFoodFromDisplayCase

Field Value

ActionType

GetFoodSomewhereElse

public static readonly ActionType GetFoodSomewhereElse

Field Value

ActionType

GetFurnitureMail

public static readonly ActionType GetFurnitureMail

Field Value

ActionType

GetIngredientsFamily

public static readonly ActionType GetIngredientsFamily

Field Value

ActionType

GetIngredientsSingle

public static readonly ActionType GetIngredientsSingle

Field Value

ActionType

GetJob

public static readonly ActionType GetJob

Field Value

ActionType

GetJobFromNewspaper

public static readonly ActionType GetJobFromNewspaper

Field Value

ActionType

GetJobPhone

public static readonly ActionType GetJobPhone

Field Value

ActionType

GetLeftovers

public static readonly ActionType GetLeftovers

Field Value

ActionType

GetWater

public static readonly ActionType GetWater

Field Value

ActionType

GoHere

public static readonly ActionType GoHere

Field Value

ActionType

GoHome

public static readonly ActionType GoHome

Field Value

ActionType

GoJogging

public static readonly ActionType GoJogging

Field Value

ActionType

GrabServing

public static readonly ActionType GrabServing

Field Value

ActionType

GrillFood

public static readonly ActionType GrillFood

Field Value

ActionType

GushAboutPartner

public static readonly ActionType GushAboutPartner

Field Value

ActionType

HackSomeone

public static readonly ActionType HackSomeone

Field Value

ActionType

HaveAbortion

public static readonly ActionType HaveAbortion

Field Value

ActionType

HaveBaby

public static readonly ActionType HaveBaby

Field Value

ActionType

HaveBookPublished

public static readonly ActionType HaveBookPublished

Field Value

ActionType

HelpBabyBook

public static readonly ActionType[] HelpBabyBook

Field Value

ActionType[]

HelpPotty

public static readonly ActionType[] HelpPotty

Field Value

ActionType[]

HelpWithTraining

public static readonly ActionType HelpWithTraining

Field Value

ActionType

HireBabysitter

public static readonly ActionType HireBabysitter

Field Value

ActionType

HomeworkHelp

public static readonly ActionType[] HomeworkHelp

Field Value

ActionType[]

HowYouveGrown

public static readonly ActionType HowYouveGrown

Field Value

ActionType

ImplyHomeSmarter

public static readonly ActionType ImplyHomeSmarter

Field Value

ActionType

ImplyMotherIsCamel

public static readonly ActionType ImplyMotherIsCamel

Field Value

ActionType

InspectBaby

public static readonly ActionType InspectBaby

Field Value

ActionType

Insult

public static readonly ActionType Insult

Field Value

ActionType

InvestigateRocks

public static readonly ActionType InvestigateRocks

Field Value

ActionType

InviteIn

public static readonly ActionType InviteIn

Field Value

ActionType

InviteOver

public static readonly ActionType InviteOver

Field Value

ActionType

InviteToHousehold

public static readonly ActionType InviteToHousehold

Field Value

ActionType

JoinAdvancedTournament

public static readonly ActionType JoinAdvancedTournament

Field Value

ActionType

JoinEasyTournament

public static readonly ActionType JoinEasyTournament

Field Value

ActionType

JokeAboutAromance

public static readonly ActionType JokeAboutAromance

Field Value

ActionType

JokeAboutAsexuality

public static readonly ActionType JokeAboutAsexuality

Field Value

ActionType

JokeAboutFamilyGatherings

public static readonly ActionType JokeAboutFamilyGatherings

Field Value

ActionType

JokeAboutOverspending

public static readonly ActionType JokeAboutOverspending

Field Value

ActionType

JokeAboutOwnUnemployment

public static readonly ActionType JokeAboutOwnUnemployment

Field Value

ActionType

JokeAboutSmartHome

public static readonly ActionType JokeAboutSmartHome

Field Value

ActionType

JokeAboutTreadmillAccidents

public static readonly ActionType JokeAboutTreadmillAccidents

Field Value

ActionType

JokeAboutTrees

public static readonly ActionType JokeAboutTrees

Field Value

ActionType

JokeAboutWork

public static readonly ActionType JokeAboutWork

Field Value

ActionType

JokeAboutWritingStyle

public static readonly ActionType JokeAboutWritingStyle

Field Value

ActionType

Kiss

public static readonly ActionType Kiss

Field Value

ActionType

LiftWeights

public static readonly ActionType LiftWeights

Field Value

ActionType

Light

public static readonly ActionType Light

Field Value

ActionType

LockDoor

public static readonly ActionType LockDoor

Field Value

ActionType

LotEmploymentIdle

public static readonly ActionType LotEmploymentIdle

Field Value

ActionType

MakeDrinks

public static readonly ActionType MakeDrinks

Field Value

ActionType

MakeFunOfBeingBadAtSchool

public static readonly ActionType MakeFunOfBeingBadAtSchool

Field Value

ActionType

MakeFunOfBeingNerd

public static readonly ActionType MakeFunOfBeingNerd

Field Value

ActionType

MakeFunOfBeingOutdoorsy

public static readonly ActionType MakeFunOfBeingOutdoorsy

Field Value

ActionType

MakeFunOfFoodRestriction

public static readonly ActionType[] MakeFunOfFoodRestriction

Field Value

ActionType[]

MakeFunOfFriends

public static readonly ActionType MakeFunOfFriends

Field Value

ActionType

MakeFunOfIntroversion

public static readonly ActionType MakeFunOfIntroversion

Field Value

ActionType

MakeFunOfLaziness

public static readonly ActionType MakeFunOfLaziness

Field Value

ActionType

MakeFunOfNiceness

public static readonly ActionType MakeFunOfNiceness

Field Value

ActionType

MakeFunOfPoorFitness

public static readonly ActionType MakeFunOfPoorFitness

Field Value

ActionType

MakeFunOfUnemployment

public static readonly ActionType MakeFunOfUnemployment

Field Value

ActionType

MakeRisqueRemark

public static readonly ActionType MakeRisqueRemark

Field Value

ActionType

MakeTea

public static readonly ActionType MakeTea

Field Value

ActionType

MixProteinShake

public static readonly ActionType MixProteinShake

Field Value

ActionType

ModGame

public static readonly ActionType[] ModGame

Field Value

ActionType[]

MopPuddle

public static readonly ActionType MopPuddle

Field Value

ActionType

MoveHere

public static readonly ActionType MoveHere

Field Value

ActionType

OrderCafeFood

public static readonly ActionType OrderCafeFood

Field Value

ActionType

OrderCoffee

public static readonly ActionType OrderCoffee

Field Value

ActionType

OrderDrinks

public static readonly ActionType OrderDrinks

Field Value

ActionType

OrderTea

public static readonly ActionType OrderTea

Field Value

ActionType

Paint

public static readonly ActionType Paint

Field Value

ActionType

PassOut

public static readonly ActionType PassOut

Field Value

ActionType

PayBills

public static readonly ActionType PayBills

Field Value

ActionType

PeeSelf

public static readonly ActionType PeeSelf

Field Value

ActionType

PickUp

public static readonly ActionType PickUp

Field Value

ActionType

PickUpPerson

public static readonly ActionType PickUpPerson

Field Value

ActionType

PlayInSandbox

public static readonly ActionType PlayInSandbox

Field Value

ActionType

PlayOnJungleGym

public static readonly ActionType PlayOnJungleGym

Field Value

ActionType

PlayOnlineGames

public static readonly ActionType PlayOnlineGames

Field Value

ActionType

PlayOnlineGamesWith

public static readonly ActionType PlayOnlineGamesWith

Field Value

ActionType

PlaySingleplayerGames

public static readonly ActionType PlaySingleplayerGames

Field Value

ActionType

PlayTrick

public static readonly ActionType PlayTrick

Field Value

ActionType

PlayWithToy

public static readonly ActionType PlayWithToy

Field Value

ActionType

PoseMathPuzzle

public static readonly ActionType PoseMathPuzzle

Field Value

ActionType

Potty

public static readonly ActionType Potty

Field Value

ActionType

PracticeJokes

public static readonly ActionType PracticeJokes

Field Value

ActionType

PracticeProgramming

public static readonly ActionType PracticeProgramming

Field Value

ActionType

PracticeSalesPitch

public static readonly ActionType PracticeSalesPitch

Field Value

ActionType

PracticeSpeech

public static readonly ActionType PracticeSpeech

Field Value

ActionType

PracticeWriting

public static readonly ActionType PracticeWriting

Field Value

ActionType

PrepareFood

public static readonly ActionType PrepareFood

Field Value

ActionType

PrepareOrder

public static readonly ActionType PrepareOrder

Field Value

ActionType

PsychSelfUp

public static readonly ActionType PsychSelfUp

Field Value

ActionType

PublishApp

public static readonly ActionType PublishApp

Field Value

ActionType

PutAway

public static readonly ActionType PutAway

Field Value

ActionType

PutDown

public static readonly ActionType PutDown

Field Value

ActionType

PutDownPerson

public static readonly ActionType PutDownPerson

Field Value

ActionType

PutInCrib

public static readonly ActionType[] PutInCrib

Field Value

ActionType[]

PutInFridge

public static readonly ActionType PutInFridge

Field Value

ActionType

Puzzle

public static readonly ActionType Puzzle

Field Value

ActionType

QuitJob

public static readonly ActionType QuitJob

Field Value

ActionType

QuitJobPhone

public static readonly ActionType QuitJobPhone

Field Value

ActionType

Read

public static readonly ActionType Read

Field Value

ActionType

ReadBabyBook

public static readonly ActionType ReadBabyBook

Field Value

ActionType

ReadJokes

public static readonly ActionType ReadJokes

Field Value

ActionType

ReadNewspaper

public static readonly ActionType ReadNewspaper

Field Value

ActionType

ReadSkillBook

public static readonly ActionType ReadSkillBook

Field Value

ActionType

ReciteLovePoem

public static readonly ActionType ReciteLovePoem

Field Value

ActionType

Repair

public static readonly ActionType Repair

Field Value

ActionType

ResearchBusinessPlans

public static readonly ActionType ResearchBusinessPlans

Field Value

ActionType

ResearchProgrammingPatterns

public static readonly ActionType ResearchProgrammingPatterns

Field Value

ActionType

ResearchUpgrades

public static readonly ActionType ResearchUpgrades

Field Value

ActionType

Rummage

public static readonly ActionType Rummage

Field Value

ActionType

RunAround

public static readonly ActionType RunAround

Field Value

ActionType

RunOnTreadmill

public static readonly ActionType RunOnTreadmill

Field Value

ActionType

Scrap

public static readonly ActionType Scrap

Field Value

ActionType

SelfPublishBook

public static readonly ActionType SelfPublishBook

Field Value

ActionType

Sell

public static readonly ActionType Sell

Field Value

ActionType

SetPhoneColor

public static readonly ActionType SetPhoneColor

Field Value

ActionType

Settings

The ActionType.TypeSettings for this action type, which actually contain this type's properties.

public readonly ActionType.TypeSettings Settings

Field Value

ActionType.TypeSettings

ShakeTree

public static readonly ActionType ShakeTree

Field Value

ActionType

ShareIdeas

public static readonly ActionType ShareIdeas

Field Value

ActionType

ShooChild

public static readonly ActionType ShooChild

Field Value

ActionType

ShufflePuzzle

public static readonly ActionType ShufflePuzzle

Field Value

ActionType

Sit

public static readonly ActionType Sit

Field Value

ActionType

SitToilet

public static readonly ActionType SitToilet

Field Value

ActionType

Sleep

public static readonly ActionType Sleep

Field Value

ActionType

SleepInCrib

public static readonly ActionType SleepInCrib

Field Value

ActionType

StartDating

public static readonly ActionType StartDating

Field Value

ActionType

Starve

public static readonly ActionType Starve

Field Value

ActionType

Store

public static readonly ActionType Store

Field Value

ActionType

StudyBook

public static readonly ActionType StudyBook

Field Value

ActionType

SuggestThriftstores

public static readonly ActionType SuggestThriftstores

Field Value

ActionType

TakeEmotionShower

public static readonly ActionType[] TakeEmotionShower

Field Value

ActionType[]

TakeFromFridge

public static readonly ActionType TakeFromFridge

Field Value

ActionType

TakeOutOfCrib

public static readonly ActionType TakeOutOfCrib

Field Value

ActionType

TakeOutTrash

public static readonly ActionType TakeOutTrash

Field Value

ActionType

TakeParentalLeave

public static readonly ActionType TakeParentalLeave

Field Value

ActionType

TakePregnancyTest

public static readonly ActionType TakePregnancyTest

Field Value

ActionType

TakeShower

public static readonly ActionType TakeShower

Field Value

ActionType

TakeVacationDay

public static readonly ActionType TakeVacationDay

Field Value

ActionType

TakeVacationDayPhone

public static readonly ActionType TakeVacationDayPhone

Field Value

ActionType

Talk

public static readonly ActionType Talk

Field Value

ActionType

TalkAboutBestSpots

public static readonly ActionType TalkAboutBestSpots

Field Value

ActionType

TalkAboutBestToy

public static readonly ActionType TalkAboutBestToy

Field Value

ActionType

TalkAboutCartoons

public static readonly ActionType TalkAboutCartoons

Field Value

ActionType

TalkAboutFamily

public static readonly ActionType TalkAboutFamily

Field Value

ActionType

TalkAboutFavoriteToys

public static readonly ActionType TalkAboutFavoriteToys

Field Value

ActionType

TalkAboutFeelings

public static readonly ActionType TalkAboutFeelings

Field Value

ActionType

TalkAboutFood

public static readonly ActionType TalkAboutFood

Field Value

ActionType

TalkAboutFunnyCityName

public static readonly ActionType TalkAboutFunnyCityName

Field Value

ActionType

TalkAboutNaps

public static readonly ActionType TalkAboutNaps

Field Value

ActionType

TalkAboutNatureWalks

public static readonly ActionType TalkAboutNatureWalks

Field Value

ActionType

TalkAboutNeighborhood

public static readonly ActionType TalkAboutNeighborhood

Field Value

ActionType

TalkAboutOutdoors

public static readonly ActionType TalkAboutOutdoors

Field Value

ActionType

TalkAboutPlaying

public static readonly ActionType TalkAboutPlaying

Field Value

ActionType

TalkAboutSchool

public static readonly ActionType TalkAboutSchool

Field Value

ActionType

TalkAboutSpicyFood

public static readonly ActionType TalkAboutSpicyFood

Field Value

ActionType

TalkAboutWatchingTv

public static readonly ActionType TalkAboutWatchingTv

Field Value

ActionType

TalkAboutWork

public static readonly ActionType TalkAboutWork

Field Value

ActionType

TeachLifeLesson

public static readonly ActionType TeachLifeLesson

Field Value

ActionType

TellComplexJoke

public static readonly ActionType TellComplexJoke

Field Value

ActionType

TellDadJoke

public static readonly ActionType TellDadJoke

Field Value

ActionType

TellEngagingStory

public static readonly ActionType TellEngagingStory

Field Value

ActionType

TellFunnyStory

public static readonly ActionType TellFunnyStory

Field Value

ActionType

TellJoke

public static readonly ActionType TellJoke

Field Value

ActionType

TellJokeAboutSomething

public static readonly ActionType[] TellJokeAboutSomething

Field Value

ActionType[]

TellRidiculousStory

public static readonly ActionType TellRidiculousStory

Field Value

ActionType

TellStory

public static readonly ActionType TellStory

Field Value

ActionType

ThisIsInappropriate

public static readonly ActionType ThisIsInappropriate

Field Value

ActionType

ThrowAway

public static readonly ActionType ThrowAway

Field Value

ActionType

TinkerWith

public static readonly ActionType TinkerWith

Field Value

ActionType

ToggleAllLights

public static readonly ActionType ToggleAllLights

Field Value

ActionType

ToggleLight

public static readonly ActionType ToggleLight

Field Value

ActionType

ToggleNewspapers

public static readonly ActionType ToggleNewspapers

Field Value

ActionType

ToggleTryingForBaby

public static readonly ActionType ToggleTryingForBaby

Field Value

ActionType

ToggleUpgrade

public static readonly ActionType ToggleUpgrade

Field Value

ActionType

ToggleVisitors

public static readonly ActionType[] ToggleVisitors

Field Value

ActionType[]

TravelToMap

public static readonly ActionType TravelToMap

Field Value

ActionType

Types

A list of all available action types. To register your own action types, use the Register(TypeSettings) method.

public static readonly ReadOnlyDictionary<string, ActionType> Types

Field Value

ReadOnlyDictionary<string, ActionType>

UpgradeFurniture

public static readonly ActionType UpgradeFurniture

Field Value

ActionType

UseDiaper

public static readonly ActionType UseDiaper

Field Value

ActionType

ViewArt

public static readonly ActionType ViewArt

Field Value

ActionType

VisitLot

public static readonly ActionType VisitLot

Field Value

ActionType

VisitLotEmploymentLocation

public static readonly ActionType VisitLotEmploymentLocation

Field Value

ActionType

VisitorGoHome

public static readonly ActionType VisitorGoHome

Field Value

ActionType

WaitForInviteIn

public static readonly ActionType WaitForInviteIn

Field Value

ActionType

WaitForOrder

public static readonly ActionType WaitForOrder

Field Value

ActionType

WakeUp

public static readonly ActionType WakeUp

Field Value

ActionType

WashHands

public static readonly ActionType WashHands

Field Value

ActionType

WatchTv

public static readonly ActionType[] WatchTv

Field Value

ActionType[]

WatchWalkthroughs

public static readonly ActionType WatchWalkthroughs

Field Value

ActionType

Woodworking

public static readonly ActionType Woodworking

Field Value

ActionType

Work

public static readonly ActionType Work

Field Value

ActionType

WriteBook

public static readonly ActionType[] WriteBook

Field Value

ActionType[]

YoureSoTall

public static readonly ActionType YoureSoTall

Field Value

ActionType

Properties

SourceString

A (localized) string that is displayed when hovering over an EmotionModifier that has this source

public string SourceString { get; }

Property Value

string

Methods

AreDating(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether the person and the interaction partner are currently dating

public static CanExecuteResult AreDating(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether the action is automatic (unused)

Returns

CanExecuteResult

Valid if they are dating, Hidden otherwise

CanBeSexual(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether a person can invoke a sexual activity. A Person can invoke such an activity iff they're not a Child and automatic is either false or the person is not asexual (Asexual).

public static CanExecuteResult CanBeSexual(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether this action is automatic

Returns

CanExecuteResult

Hidden if the person cannot be sexual, Valid otherwise

CanDoImportantAction(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether an important action can be executed. An important action can be executed if it is manual, not in the current household, or the per-save option AiImportantActions is true.

public static CanExecuteResult CanDoImportantAction(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether the action is automatic

Returns

CanExecuteResult

Valid if an important action can be executed, Hidden otherwise

CanDoSocialAction(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether a person is currently able to do a social action with the ActionInfo's action object. This method returns Valid if the action is manual (automatic is false), or if AiRelationships is true, or if there is an existing relationship between the two parties. This method is automatically called when TalkAction is used.

public static CanExecuteResult CanDoSocialAction(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether the action is automatic

Returns

CanExecuteResult

Valid if a social action can be executed, Hidden otherwise

CanExecuteAll(ActionInfo, bool, params CanExecuteDelegate[])

A helper method intended to be used with ActionType.CanExecuteDelegate that determines if all of the passed ActionType.CanExecuteDelegate checks pass. If one of the passed checks does not pass, its result is returned. If all of them pass, Valid is returned. In the context of this method, a null ActionType.CanExecuteDelegate counts as Valid. This method is designed to be used with the other helper methods in this class, for example:

CanExecuteAll(info, automatic, HasChair, IsFunctional, IsEmptyHanded)
public static CanExecuteResult CanExecuteAll(ActionInfo info, bool automatic, params ActionType.CanExecuteDelegate[] conditions)

Parameters

info ActionInfo

The action info

automatic bool

Whether this action is automatic

conditions CanExecuteDelegate[]

The conditions that should be checked

Returns

CanExecuteResult

Valid if all of the conditions are valid, else the first invalid result

CanPickUpOrIsHoldingForTarget(ActionInfo, Func<(Furniture Parent, Furniture Item), bool>, Func<Furniture, bool>, CanExecuteResult?, bool, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that returns Valid in the following cases:

  • The held object isAllowed and the action object matches the isParentAllowed condition
  • The held object is null and the action objectt isAllowed
This helper method is useful in cases like Eat, where the action should be allowed if the person is holding a food plate and clicking a chair, or if a person is clicking the food plate itself. PickUpAndGoTo(ActionInfo, ObjectCategory, ObjectCategory, bool) provides a MultiAction requivalent to this method.
public static CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, Func<(Furniture Parent, Furniture Item), bool> isParentAllowed, Func<Furniture, bool> isAllowed, CanExecuteResult? parentNotFoundResult = null, bool allowAnyInvolved = false, bool needsObjectSpot = false)

Parameters

info ActionInfo

The action info

isParentAllowed Func<(Furniture Parent, Furniture Item), bool>

Whether the object that the required item should be a child of, or placed onto, is correct

isAllowed Func<Furniture, bool>

A predicate that checks if the given item is the one searched for

parentNotFoundResult CanExecuteResult?

If the parent furniture has to be visible somewhere, even if the action object is being held, this CanExecuteResult is returned if it's not around. If this value is null, no parent has to exist.

allowAnyInvolved bool

Whether any GetInvolvedObjects<T>(ObjectCategory, bool, bool) should be passed to isAllowed, instead of just the action object

needsObjectSpot bool

Whether a free object spot on the goal parent is required in the area. If there isn't one around, parentNotFoundResult is returned.

Returns

CanExecuteResult

A result that represents the validity of the action

CanPickUpOrIsHoldingForTarget(ActionInfo, Func<Furniture, bool>, Func<(Person Person, Furniture Item), bool>, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that returns Valid in the following cases:

  • The held object isAllowed and the action object matches the isPersonAllowed condition
  • The held object is null and the action objectt isAllowed
This helper method is useful in cases like AskToTaste, where the action should be allowed if the person is holding a food plate and clicking a chair, or if a person is clicking the food plate itself.
public static CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, Func<Furniture, bool> isAllowed, Func<(Person Person, Furniture Item), bool> isPersonAllowed = null, bool allowAnyInvolved = false)

Parameters

info ActionInfo

The action info

isAllowed Func<Furniture, bool>

A predicate that checks if the given item is the one searched for

isPersonAllowed Func<(Person Person, Furniture Item), bool>

Whether the object that the required item should be a child of, or placed onto, is correct

allowAnyInvolved bool

Whether any GetInvolvedObjects<T>(ObjectCategory, bool, bool) should be passed to isAllowed, instead of just the action object

Returns

CanExecuteResult

A result that represents the validity of the action

CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func<Furniture, bool>, CanExecuteResult?, bool, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that returns Valid in the following cases:

  • The held object isAllowed and the action object matches the goalParent category
  • The held object is null and the action objectt isAllowed
This helper method is useful in cases like Eat, where the action should be allowed if the person is holding a food plate and clicking a chair, or if a person is clicking the food plate itself. PickUpAndGoTo(ActionInfo, ObjectCategory, ObjectCategory, bool) provides a MultiAction requivalent to this method.
public static CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, ObjectCategory goalParent, Func<Furniture, bool> isAllowed, CanExecuteResult? parentNotFoundResult = null, bool allowAnyInvolved = false, bool needsObjectSpot = false)

Parameters

info ActionInfo

The action info

goalParent ObjectCategory

The object that the required item should be a child of

isAllowed Func<Furniture, bool>

A predicate that checks if the given item is the one searched for

parentNotFoundResult CanExecuteResult?

If the parent furniture has to be visible somewhere, even if the action object is being held, this CanExecuteResult is returned if it's not around. If this value is null, no parent has to exist.

allowAnyInvolved bool

Whether any GetInvolvedObjects<T>(ObjectCategory, bool, bool) should be passed to isAllowed, instead of just the action object

needsObjectSpot bool

Whether a free object spot on the goalParent is required in the area. If there isn't one around, a special execution result is returned.

Returns

CanExecuteResult

A result that represents the validity of the action

CanPlaceHeldItem(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether or not the item that is currently held by the given person can be placed in an object spot on the given object.

public static CanExecuteResult CanPlaceHeldItem(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether or not this action is started automatically. This property is unused, but present for ease of use with CanExecute

Returns

CanExecuteResult

Valid if the object has a free object spot, otherwise Hidden

ConstructFully<T>(ActionInfo, bool, bool, params ActionArgument[])

Creates a new Action instance of this ActionType, including generating an array of ActionArgument if none is passed through chosenArguments. Whereas Construct<T>(ActionInfo, params ActionArgument[]) doesn't, this method also checks the CanExecuteAction(ActionType, ActionInfo, bool) method for whether the action can be constructed.

public T ConstructFully<T>(ActionInfo info, bool automatic, bool force = false, params ActionArgument[] chosenArguments) where T : Action

Parameters

info ActionInfo

The info that this action should be constructed with

automatic bool

Whether the action is started automatically (or by the player).

force bool

Whether to force the action to be constructed, regardless of the result of CanExecuteAction(ActionType, ActionInfo, bool).

chosenArguments ActionArgument[]

The action arguments chosen for construction.

Returns

T

Type Parameters

T

Construct<T>(ActionInfo, params ActionArgument[])

Creates a new Action instance of this ActionType.

public T Construct<T>(ActionInfo info, params ActionArgument[] chosenArguments) where T : Action

Parameters

info ActionInfo

The info that this action should be constructed with

chosenArguments ActionArgument[]

The action arguments chosen for construction.

Returns

T

A new action instance with the given information

Type Parameters

T

GetDisplayName(ActionInfo, bool)

Returns a localized string that explains this action type in short. Note that, for instantiated actions, GetDisplayName() should be used.

public string GetDisplayName(ActionInfo info, bool includeIcon = true)

Parameters

info ActionInfo

The action info, can be null if no action info is present

includeIcon bool

Whether the GetIconName(ActionInfo) texture should be included at the start of the name

Returns

string

This action type's display name

GetIconName(ActionInfo)

Returns the name of this action type's icon, which is either the manually assigned icon (IconName), or an automatically assigned icon based on this action type's requirements, including RequiredSkill, RequiredEmotion and RequiredPersonality. The icon name can be used in a MLEM.Ui.Elements.Paragraph as a MLEM.Formatting.Codes.ImageCode as follows: <c IconName>

public string GetIconName(ActionInfo info)

Parameters

info ActionInfo

The action info, can be null if no action info is present

Returns

string

The name of this action type's icon

GetPossibleArguments(ActionInfo, bool)

Constructs and returns a set of possible ActionArgument instances for this action. Note that the information specified in the PossibleArguments documentation applies. This method also handles the appropriate error detection, so that the game does not crash when action arguments cause an exception. See GetRandomValidArguments(ActionType, ActionInfo, bool) to effectively evaluate the returned arguments.

public IEnumerable<ActionArgument> GetPossibleArguments(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info to create the arguments for.

automatic bool

Whether the action arguments should be selected automatically.

Returns

IEnumerable<ActionArgument>

The possible arguments for the given action info.

GetSkillPriorityMod(Person, SkillType)

Returns a modifier based on whether the person's PersonalityType, Job or existing Skill boost or require the passed skill, which can be used for PassivePriority if an action involves a skill building activity. Actions like PracticeWriting and PracticeProgramming use this to make sure that they are only executed if AiSkillBuilding is enabled and if the person could use the skill. The modifier returned can be multiplied with a constant, default passive priority.

public static float GetSkillPriorityMod(Person person, SkillType skill)

Parameters

person Person

The person to execute an action.

skill SkillType

The skill whose building is involved in the action.

Returns

float

A modifier that is between 0 and 1, based on whether the person's personality or existing skills boost or require the passed skill.

HasChairOrIsStandingDesk(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines if the given object is sat on a table or desk that has a chair or sat on a standing desk that doesn't need a chair

public static CanExecuteResult HasChairOrIsStandingDesk(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether or not this action is started automatically. This property is unused, but present for ease of use with CanExecute

Returns

CanExecuteResult

Valid if there is a chair, a Invalid result if there is no valid chair

HasSpaceInHousehold(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether an action info's Person's Household has space for another household member.

public static CanExecuteResult HasSpaceInHousehold(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info.

automatic bool

Whether this action is automatic, which is unused in this method.

Returns

CanExecuteResult

A CanExecuteResult that indicates whether there is space in the active household.

IsActionType(Type)

Returns whether this action type's ConstructedType is or extends the passed type t. This method is equivalent to Settings.ConstructedType.IsAssignableTo(t).

public bool IsActionType(Type t)

Parameters

t Type

The type to compare this action's constructed type to

Returns

bool

true if the passed type is a supertype of, or the same type as, this action's constructed type

IsDislikedOrMean(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines if the action is executed manually, the given ActionInfo's person has the Mean personality type, or if the interaction partner has the Disliked relationship type (or lower). If the person's current Emotion is Angry, this method also returns Valid.

public static CanExecuteResult IsDislikedOrMean(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether this action is automatic

Returns

CanExecuteResult

Valid if any of the conditions are met, otherwise Hidden

IsEmptyHanded(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines if the person is not holding an item or a Person.

public static CanExecuteResult IsEmptyHanded(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether this action is automatic (unused)

Returns

CanExecuteResult

Valid if the person's hands are empty, a "HoldingItem" result otherwise

IsNotEmotional(ActionInfo, params EmotionType[])

A helper method intended to be used with ActionType.CanExecuteDelegate that determines if the ActionInfo's Person has any of the given emotions, and returns a CanExecuteResult to indicate as such.

public static CanExecuteResult IsNotEmotional(ActionInfo info, params EmotionType[] emotions)

Parameters

info ActionInfo

The action info.

emotions EmotionType[]

The emotions that should be queried. If an entry is null, it will simply be ignored.

Returns

CanExecuteResult

A CanExecuteResult that is invalid based on one of the given emotions, or Valid if none of the emotions are present.

Exceptions

ArgumentOutOfRangeException

Thrown if the emotions array has no entries.

IsNotExpired(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether the action object or any involved objects are expired, and returns an "Expired" result if it is

public static CanExecuteResult IsNotExpired(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether the action is automatic (unused)

Returns

CanExecuteResult

Valid if the action object is not expired, an "Expired" result otherwise

IsNotHoldingPerson(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether the person is currently holding another person.

public static CanExecuteResult IsNotHoldingPerson(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether this action is automatic (unused)

Returns

CanExecuteResult

Valid if the person is not holding another person, a "HoldingPerson" CanExecuteResult otherwise.

IsNotPregnant(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether an action info's Person is not currently pregnant.

public static CanExecuteResult IsNotPregnant(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info.

automatic bool

Whether this action is automatic, which is unused in this method.

Returns

CanExecuteResult

A CanExecuteResult that indicates whether the person is not pregnant.

IsReadyForRomance(ActionInfo, bool)

A helper method intended to be used with ActionType.CanExecuteDelegate that determines if the Person and their interaction partner are ready to engage in romantic activities. Two people are considered ready if they are Unrelated, both Adult or older, and when the action is either started manually, or they have a high enough FriendLevel and either an existing romantic relationship or AiRelationships is enabled. This method will also return a "TooSad" result if the person is currently feeling Sad. This method should be used for SocialAction actions that are romantic in nature.

public static CanExecuteResult IsReadyForRomance(ActionInfo info, bool automatic)

Parameters

info ActionInfo

The action info

automatic bool

Whether this action is automatic

Returns

CanExecuteResult

Valid if any of the conditions are met, otherwise Hidden

Register(TypeSettings)

Registers a new action type with the given ActionType.TypeSettings

public static ActionType Register(ActionType.TypeSettings settings)

Parameters

settings ActionType.TypeSettings

The settings that the action type should have

Returns

ActionType

The resulting action type instance