Class ActionType
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(MigratingStaticJsonConverter<ActionType>), new object[] { typeof(ActionType), "PrivateTypes", true })]
public class ActionType : IEmotionSource
- Inheritance
-
ActionType
- Implements
- Inherited Members
- Extension Methods
Fields
AddALittleSomething
public static readonly ActionType AddALittleSomething
Field Value
AddCandle
public static readonly ActionType AddCandle
Field Value
AdmireFood
public static readonly ActionType AdmireFood
Field Value
AdmireLgbtFlag
public static readonly ActionType AdmireLgbtFlag
Field Value
AdmitToBeingRomanticWithSomeoneElse
public static readonly ActionType AdmitToBeingRomanticWithSomeoneElse
Field Value
AdoptAsParent
public static readonly ActionType AdoptAsParent
Field Value
AdoptChild
public static readonly ActionType AdoptChild
Field Value
AffirmIdentity
public static readonly ActionType AffirmIdentity
Field Value
AgeUp
public static readonly ActionType AgeUp
Field Value
AnnouncePregnancy
public static readonly ActionType AnnouncePregnancy
Field Value
ArgueAboutToyOwnership
public static readonly ActionType ArgueAboutToyOwnership
Field Value
AskAboutCareerDreams
public static readonly ActionType AskAboutCareerDreams
Field Value
AskAboutComputerSpecs
public static readonly ActionType AskAboutComputerSpecs
Field Value
AskAboutDay
public static readonly ActionType AskAboutDay
Field Value
AskAboutFamilyWellbeing
public static readonly ActionType AskAboutFamilyWellbeing
Field Value
AskAboutFictionBooks
public static readonly ActionType AskAboutFictionBooks
Field Value
AskAboutGamingRig
public static readonly ActionType AskAboutGamingRig
Field Value
AskAboutJob
public static readonly ActionType AskAboutJob
Field Value
AskAboutNonfictionBooks
public static readonly ActionType AskAboutNonfictionBooks
Field Value
AskAboutParenting
public static readonly ActionType AskAboutParenting
Field Value
AskAboutPersonality
public static readonly ActionType AskAboutPersonality
Field Value
AskAboutReproductiveAbilities
public static readonly ActionType AskAboutReproductiveAbilities
Field Value
AskBabysitterBabiesSat
public static readonly ActionType AskBabysitterBabiesSat
Field Value
AskBabysitterBrewConsumption
public static readonly ActionType AskBabysitterBrewConsumption
Field Value
AskBabysitterCredentials
public static readonly ActionType AskBabysitterCredentials
Field Value
AskFood
public static readonly ActionType AskFood
Field Value
AskForArtAdvice
public static readonly ActionType AskForArtAdvice
Field Value
AskHow
public static readonly ActionType AskHow
Field Value
AskIfSingle
public static readonly ActionType AskIfSingle
Field Value
AskMedicalHistory
public static readonly ActionType AskMedicalHistory
Field Value
AskStartTogether
public static readonly ActionType AskStartTogether
Field Value
AskToCook
public static readonly ActionType AskToCook
Field Value
AskToLeave
public static readonly ActionType AskToLeave
Field Value
AskToTakeOutOfCrib
public static readonly ActionType AskToTakeOutOfCrib
Field Value
AskToTaste
public static readonly ActionType AskToTaste
Field Value
AskToTellStory
public static readonly ActionType AskToTellStory
Field Value
AskWhy
public static readonly ActionType AskWhy
Field Value
Babble
public static readonly ActionType Babble
Field Value
BakeFood
public static readonly ActionType BakeFood
Field Value
BatheBaby
public static readonly ActionType[] BatheBaby
Field Value
BeAwayFromLotEmployment
public static readonly ActionType BeAwayFromLotEmployment
Field Value
BeEnticing
public static readonly ActionType BeEnticing
Field Value
BlowOutCandles
public static readonly ActionType BlowOutCandles
Field Value
BoastAboutPagesWritten
public static readonly ActionType BoastAboutPagesWritten
Field Value
BragAboutComputer
public static readonly ActionType BragAboutComputer
Field Value
BreakUp
public static readonly ActionType BreakUp
Field Value
BrewCoffee
public static readonly ActionType BrewCoffee
Field Value
BribeForFriendship
public static readonly ActionType BribeForFriendship
Field Value
CallOver
public static readonly ActionType CallOver
Field Value
CallToMeal
public static readonly ActionType CallToMeal
Field Value
CarryToFood
public static readonly ActionType CarryToFood
Field Value
CasualCompliment
public static readonly ActionType CasualCompliment
Field Value
CelebrateBirthday
public static readonly ActionType CelebrateBirthday
Field Value
ChangeDiaper
public static readonly ActionType[] ChangeDiaper
Field Value
ChangeOutfit
public static readonly ActionType ChangeOutfit
Field Value
ChangePronouns
public static readonly ActionType ChangePronouns
Field Value
ChastiseForFoodBeliefs
public static readonly ActionType[] ChastiseForFoodBeliefs
Field Value
Chat
public static readonly ActionType Chat
Field Value
ChatOnPhone
public static readonly ActionType ChatOnPhone
Field Value
ChatOnPhoneWith
public static readonly ActionType ChatOnPhoneWith
Field Value
ChatWith
public static readonly ActionType ChatWith
Field Value
CheckOnBaby
public static readonly ActionType CheckOnBaby
Field Value
CheerUp
public static readonly ActionType CheerUp
Field Value
Clean
public static readonly ActionType Clean
Field Value
CleanDish
public static readonly ActionType CleanDish
Field Value
CleanEverything
public static readonly ActionType CleanEverything
Field Value
CleanOutFridge
public static readonly ActionType CleanOutFridge
Field Value
CleanUpBaby
public static readonly ActionType[] CleanUpBaby
Field Value
CollectSunlight
public static readonly ActionType CollectSunlight
Field Value
CollectTrash
public static readonly ActionType CollectTrash
Field Value
ColorColoringBook
public static readonly ActionType ColorColoringBook
Field Value
CompareMuscleSize
public static readonly ActionType CompareMuscleSize
Field Value
ComparePhysicalFeatures
public static readonly ActionType ComparePhysicalFeatures
Field Value
ComplainAboutAdults
public static readonly ActionType ComplainAboutAdults
Field Value
ComplainAboutLife
public static readonly ActionType ComplainAboutLife
Field Value
ComplainAboutParent
public static readonly ActionType ComplainAboutParent
Field Value
ComplainAboutRelationship
public static readonly ActionType ComplainAboutRelationship
Field Value
ComplimentBodyShape
public static readonly ActionType ComplimentBodyShape
Field Value
ComplimentFashionChoice
public static readonly ActionType ComplimentFashionChoice
Field Value
ComplimentLooks
public static readonly ActionType ComplimentLooks
Field Value
ComplimentName
public static readonly ActionType ComplimentName
Field Value
ConfideIn
public static readonly ActionType ConfideIn
Field Value
CookChildFood
public static readonly ActionType CookChildFood
Field Value
CookFood
public static readonly ActionType CookFood
Field Value
CreateApp
public static readonly ActionType[] CreateApp
Field Value
CriticizeDeforestation
public static readonly ActionType CriticizeDeforestation
Field Value
CryAt
public static readonly ActionType CryAt
Field Value
Daydream
public static readonly ActionType Daydream
Field Value
DebatePineappleOnPizza
public static readonly ActionType DebatePineappleOnPizza
Field Value
DebugAddToHousehold
public static readonly ActionType DebugAddToHousehold
Field Value
DebugClearActions
public static readonly ActionType DebugClearActions
Field Value
DebugDeleteHeld
public static readonly ActionType DebugDeleteHeld
Field Value
DebugDie
public static readonly ActionType DebugDie
Field Value
DebugDumpObjectInfo
public static readonly ActionType DebugDumpObjectInfo
Field Value
DebugFriendship
public static readonly ActionType DebugFriendship
Field Value
DebugGoHome
public static readonly ActionType DebugGoHome
Field Value
DebugResetLocation
public static readonly ActionType DebugResetLocation
Field Value
DebugRomance
public static readonly ActionType DebugRomance
Field Value
DebugTeleport
public static readonly ActionType DebugTeleport
Field Value
DebugToggleBroken
public static readonly ActionType DebugToggleBroken
Field Value
DebugToggleDating
public static readonly ActionType DebugToggleDating
Field Value
DebugToggleDirty
public static readonly ActionType DebugToggleDirty
Field Value
DeepCompliment
public static readonly ActionType DeepCompliment
Field Value
DeliverMail
public static readonly ActionType DeliverMail
Field Value
DeliverNewspaper
public static readonly ActionType DeliverNewspaper
Field Value
Die
public static readonly ActionType Die
Field Value
DiscussFineDining
public static readonly ActionType DiscussFineDining
Field Value
DiscussHomeAutomation
public static readonly ActionType DiscussHomeAutomation
Field Value
DiscussNpP
public static readonly ActionType DiscussNpP
Field Value
DiscussWorkoutRegimen
public static readonly ActionType DiscussWorkoutRegimen
Field Value
DoHomework
public static readonly ActionType DoHomework
Field Value
DonateToCharity
public static readonly ActionType[] DonateToCharity
Field Value
Eat
public static readonly ActionType Eat
Field Value
EditOutfits
public static readonly ActionType EditOutfits
Field Value
EnthuseAboutCoupons
public static readonly ActionType EnthuseAboutCoupons
Field Value
ExplainActivities
public static readonly ActionType[] ExplainActivities
Field Value
ExpressFearOfCrowds
public static readonly ActionType ExpressFearOfCrowds
Field Value
ExpressPregnancyConcerns
public static readonly ActionType ExpressPregnancyConcerns
Field Value
FillNeedsElsewhere
public static readonly ActionType FillNeedsElsewhere
Field Value
Flirt
public static readonly ActionType Flirt
Field Value
FlirtyJoke
public static readonly ActionType FlirtyJoke
Field Value
FollowAdult
public static readonly ActionType FollowAdult
Field Value
FoolAround
public static readonly ActionType FoolAround
Field Value
GaugeRelationship
public static readonly ActionType GaugeRelationship
Field Value
GetBakingIngredients
public static readonly ActionType GetBakingIngredients
Field Value
GetFoodFromDisplayCase
public static readonly ActionType GetFoodFromDisplayCase
Field Value
GetFoodSomewhereElse
public static readonly ActionType GetFoodSomewhereElse
Field Value
GetFurnitureMail
public static readonly ActionType GetFurnitureMail
Field Value
GetIngredientsFamily
public static readonly ActionType GetIngredientsFamily
Field Value
GetIngredientsSingle
public static readonly ActionType GetIngredientsSingle
Field Value
GetJob
public static readonly ActionType GetJob
Field Value
GetJobFromNewspaper
public static readonly ActionType GetJobFromNewspaper
Field Value
GetJobPhone
public static readonly ActionType GetJobPhone
Field Value
GetLeftovers
public static readonly ActionType GetLeftovers
Field Value
GetWater
public static readonly ActionType GetWater
Field Value
GoHere
public static readonly ActionType GoHere
Field Value
GoHome
public static readonly ActionType GoHome
Field Value
GoJogging
public static readonly ActionType GoJogging
Field Value
GrabServing
public static readonly ActionType GrabServing
Field Value
GrillFood
public static readonly ActionType GrillFood
Field Value
GushAboutPartner
public static readonly ActionType GushAboutPartner
Field Value
HackSomeone
public static readonly ActionType HackSomeone
Field Value
HaveAbortion
public static readonly ActionType HaveAbortion
Field Value
HaveBaby
public static readonly ActionType HaveBaby
Field Value
HaveBookPublished
public static readonly ActionType HaveBookPublished
Field Value
HelpBabyBook
public static readonly ActionType[] HelpBabyBook
Field Value
HelpPotty
public static readonly ActionType[] HelpPotty
Field Value
HelpWithTraining
public static readonly ActionType HelpWithTraining
Field Value
HireBabysitter
public static readonly ActionType HireBabysitter
Field Value
HomeworkHelp
public static readonly ActionType[] HomeworkHelp
Field Value
HowYouveGrown
public static readonly ActionType HowYouveGrown
Field Value
ImplyHomeSmarter
public static readonly ActionType ImplyHomeSmarter
Field Value
ImplyMotherIsCamel
public static readonly ActionType ImplyMotherIsCamel
Field Value
InspectBaby
public static readonly ActionType InspectBaby
Field Value
Insult
public static readonly ActionType Insult
Field Value
InvestigateRocks
public static readonly ActionType InvestigateRocks
Field Value
InviteIn
public static readonly ActionType InviteIn
Field Value
InviteOver
public static readonly ActionType InviteOver
Field Value
InviteToHousehold
public static readonly ActionType InviteToHousehold
Field Value
JoinAdvancedTournament
public static readonly ActionType JoinAdvancedTournament
Field Value
JoinEasyTournament
public static readonly ActionType JoinEasyTournament
Field Value
JokeAboutAromance
public static readonly ActionType JokeAboutAromance
Field Value
JokeAboutAsexuality
public static readonly ActionType JokeAboutAsexuality
Field Value
JokeAboutFamilyGatherings
public static readonly ActionType JokeAboutFamilyGatherings
Field Value
JokeAboutOverspending
public static readonly ActionType JokeAboutOverspending
Field Value
JokeAboutOwnUnemployment
public static readonly ActionType JokeAboutOwnUnemployment
Field Value
JokeAboutSmartHome
public static readonly ActionType JokeAboutSmartHome
Field Value
JokeAboutTreadmillAccidents
public static readonly ActionType JokeAboutTreadmillAccidents
Field Value
JokeAboutTrees
public static readonly ActionType JokeAboutTrees
Field Value
JokeAboutWork
public static readonly ActionType JokeAboutWork
Field Value
JokeAboutWritingStyle
public static readonly ActionType JokeAboutWritingStyle
Field Value
Kiss
public static readonly ActionType Kiss
Field Value
LiftWeights
public static readonly ActionType LiftWeights
Field Value
Light
public static readonly ActionType Light
Field Value
LockDoor
public static readonly ActionType LockDoor
Field Value
LotEmploymentIdle
public static readonly ActionType LotEmploymentIdle
Field Value
MakeDrinks
public static readonly ActionType MakeDrinks
Field Value
MakeFunOfBeingBadAtSchool
public static readonly ActionType MakeFunOfBeingBadAtSchool
Field Value
MakeFunOfBeingNerd
public static readonly ActionType MakeFunOfBeingNerd
Field Value
MakeFunOfBeingOutdoorsy
public static readonly ActionType MakeFunOfBeingOutdoorsy
Field Value
MakeFunOfFoodRestriction
public static readonly ActionType[] MakeFunOfFoodRestriction
Field Value
MakeFunOfFriends
public static readonly ActionType MakeFunOfFriends
Field Value
MakeFunOfIntroversion
public static readonly ActionType MakeFunOfIntroversion
Field Value
MakeFunOfLaziness
public static readonly ActionType MakeFunOfLaziness
Field Value
MakeFunOfNiceness
public static readonly ActionType MakeFunOfNiceness
Field Value
MakeFunOfPoorFitness
public static readonly ActionType MakeFunOfPoorFitness
Field Value
MakeFunOfUnemployment
public static readonly ActionType MakeFunOfUnemployment
Field Value
MakeRisqueRemark
public static readonly ActionType MakeRisqueRemark
Field Value
MakeTea
public static readonly ActionType MakeTea
Field Value
MixProteinShake
public static readonly ActionType MixProteinShake
Field Value
ModGame
public static readonly ActionType[] ModGame
Field Value
MopPuddle
public static readonly ActionType MopPuddle
Field Value
MoveHere
public static readonly ActionType MoveHere
Field Value
OrderCafeFood
public static readonly ActionType OrderCafeFood
Field Value
OrderCoffee
public static readonly ActionType OrderCoffee
Field Value
OrderDrinks
public static readonly ActionType OrderDrinks
Field Value
OrderTea
public static readonly ActionType OrderTea
Field Value
Paint
public static readonly ActionType Paint
Field Value
PassOut
public static readonly ActionType PassOut
Field Value
PayBills
public static readonly ActionType PayBills
Field Value
PeeSelf
public static readonly ActionType PeeSelf
Field Value
PickUp
public static readonly ActionType PickUp
Field Value
PickUpPerson
public static readonly ActionType PickUpPerson
Field Value
PlayInSandbox
public static readonly ActionType PlayInSandbox
Field Value
PlayInSandboxTogether
public static readonly ActionType PlayInSandboxTogether
Field Value
PlayOnJungleGym
public static readonly ActionType PlayOnJungleGym
Field Value
PlayOnJungleGymTogether
public static readonly ActionType PlayOnJungleGymTogether
Field Value
PlayOnlineGames
public static readonly ActionType PlayOnlineGames
Field Value
PlayOnlineGamesWith
public static readonly ActionType PlayOnlineGamesWith
Field Value
PlaySingleplayerGames
public static readonly ActionType PlaySingleplayerGames
Field Value
PlayTrick
public static readonly ActionType PlayTrick
Field Value
PlayWithToy
public static readonly ActionType PlayWithToy
Field Value
PlayWithToyTogether
public static readonly ActionType PlayWithToyTogether
Field Value
PointOutPhysicalDetail
public static readonly ActionType PointOutPhysicalDetail
Field Value
PoseMathPuzzle
public static readonly ActionType PoseMathPuzzle
Field Value
Potty
public static readonly ActionType Potty
Field Value
PracticeJokes
public static readonly ActionType PracticeJokes
Field Value
PracticeProgramming
public static readonly ActionType PracticeProgramming
Field Value
PracticeSalesPitch
public static readonly ActionType PracticeSalesPitch
Field Value
PracticeSpeech
public static readonly ActionType PracticeSpeech
Field Value
PracticeWriting
public static readonly ActionType PracticeWriting
Field Value
PrepareFood
public static readonly ActionType PrepareFood
Field Value
PrepareOrder
public static readonly ActionType PrepareOrder
Field Value
PsychSelfUp
public static readonly ActionType PsychSelfUp
Field Value
PublishApp
public static readonly ActionType PublishApp
Field Value
PutAway
public static readonly ActionType PutAway
Field Value
PutDown
public static readonly ActionType PutDown
Field Value
PutDownPerson
public static readonly ActionType PutDownPerson
Field Value
PutInCrib
public static readonly ActionType[] PutInCrib
Field Value
PutInFridge
public static readonly ActionType PutInFridge
Field Value
Puzzle
public static readonly ActionType Puzzle
Field Value
QuitJob
public static readonly ActionType QuitJob
Field Value
QuitJobPhone
public static readonly ActionType QuitJobPhone
Field Value
Read
public static readonly ActionType Read
Field Value
ReadBabyBook
public static readonly ActionType ReadBabyBook
Field Value
ReadJokes
public static readonly ActionType ReadJokes
Field Value
ReadNewspaper
public static readonly ActionType ReadNewspaper
Field Value
ReadSkillBook
public static readonly ActionType ReadSkillBook
Field Value
ReciteLovePoem
public static readonly ActionType ReciteLovePoem
Field Value
RefillLavenderSachet
public static readonly ActionType RefillLavenderSachet
Field Value
Repair
public static readonly ActionType Repair
Field Value
ResearchBusinessPlans
public static readonly ActionType ResearchBusinessPlans
Field Value
ResearchProgrammingPatterns
public static readonly ActionType ResearchProgrammingPatterns
Field Value
ResearchUpgrades
public static readonly ActionType ResearchUpgrades
Field Value
Rummage
public static readonly ActionType Rummage
Field Value
RunAround
public static readonly ActionType RunAround
Field Value
RunOnTreadmill
public static readonly ActionType RunOnTreadmill
Field Value
Scrap
public static readonly ActionType Scrap
Field Value
SelfPublishBook
public static readonly ActionType SelfPublishBook
Field Value
Sell
public static readonly ActionType Sell
Field Value
SetPhoneColor
public static readonly ActionType SetPhoneColor
Field Value
Settings
The ActionType.TypeSettings for this action type, which actually contain this type's properties.
public readonly ActionType.TypeSettings Settings
Field Value
ShakeTree
public static readonly ActionType ShakeTree
Field Value
ShareIdeas
public static readonly ActionType ShareIdeas
Field Value
SharePronouns
public static readonly ActionType SharePronouns
Field Value
ShooChild
public static readonly ActionType ShooChild
Field Value
ShowPride
public static readonly ActionType ShowPride
Field Value
ShufflePuzzle
public static readonly ActionType ShufflePuzzle
Field Value
Sit
public static readonly ActionType Sit
Field Value
SitToilet
public static readonly ActionType SitToilet
Field Value
Sleep
public static readonly ActionType Sleep
Field Value
SleepInCrib
public static readonly ActionType SleepInCrib
Field Value
StartDating
public static readonly ActionType StartDating
Field Value
Starve
public static readonly ActionType Starve
Field Value
Store
public static readonly ActionType Store
Field Value
StudyBook
public static readonly ActionType StudyBook
Field Value
SuggestThriftstores
public static readonly ActionType SuggestThriftstores
Field Value
TakeEmotionShower
public static readonly ActionType[] TakeEmotionShower
Field Value
TakeFromFridge
public static readonly ActionType TakeFromFridge
Field Value
TakeFromStorage
public static readonly ActionType TakeFromStorage
Field Value
TakeOutOfCrib
public static readonly ActionType TakeOutOfCrib
Field Value
TakeOutTrash
public static readonly ActionType TakeOutTrash
Field Value
TakeParentalLeave
public static readonly ActionType TakeParentalLeave
Field Value
TakePregnancyTest
public static readonly ActionType TakePregnancyTest
Field Value
TakeShower
public static readonly ActionType TakeShower
Field Value
TakeVacationDay
public static readonly ActionType TakeVacationDay
Field Value
TakeVacationDayPhone
public static readonly ActionType TakeVacationDayPhone
Field Value
Talk
public static readonly ActionType Talk
Field Value
TalkAboutBestSpots
public static readonly ActionType TalkAboutBestSpots
Field Value
TalkAboutBestToy
public static readonly ActionType TalkAboutBestToy
Field Value
TalkAboutCartoons
public static readonly ActionType TalkAboutCartoons
Field Value
TalkAboutFamily
public static readonly ActionType TalkAboutFamily
Field Value
TalkAboutFavoriteToys
public static readonly ActionType TalkAboutFavoriteToys
Field Value
TalkAboutFeelings
public static readonly ActionType TalkAboutFeelings
Field Value
TalkAboutFood
public static readonly ActionType TalkAboutFood
Field Value
TalkAboutFunnyCityName
public static readonly ActionType TalkAboutFunnyCityName
Field Value
TalkAboutNaps
public static readonly ActionType TalkAboutNaps
Field Value
TalkAboutNatureWalks
public static readonly ActionType TalkAboutNatureWalks
Field Value
TalkAboutNeighborhood
public static readonly ActionType TalkAboutNeighborhood
Field Value
TalkAboutOutdoors
public static readonly ActionType TalkAboutOutdoors
Field Value
TalkAboutPlaying
public static readonly ActionType TalkAboutPlaying
Field Value
TalkAboutSchool
public static readonly ActionType TalkAboutSchool
Field Value
TalkAboutSpicyFood
public static readonly ActionType TalkAboutSpicyFood
Field Value
TalkAboutWatchingTv
public static readonly ActionType TalkAboutWatchingTv
Field Value
TalkAboutWork
public static readonly ActionType TalkAboutWork
Field Value
TeachLifeLesson
public static readonly ActionType TeachLifeLesson
Field Value
TellComplexJoke
public static readonly ActionType TellComplexJoke
Field Value
TellDadJoke
public static readonly ActionType TellDadJoke
Field Value
TellEngagingStory
public static readonly ActionType TellEngagingStory
Field Value
TellFunnyStory
public static readonly ActionType TellFunnyStory
Field Value
TellJoke
public static readonly ActionType TellJoke
Field Value
TellJokeAboutSomething
public static readonly ActionType[] TellJokeAboutSomething
Field Value
TellRidiculousStory
public static readonly ActionType TellRidiculousStory
Field Value
TellStory
public static readonly ActionType TellStory
Field Value
ThisIsInappropriate
public static readonly ActionType ThisIsInappropriate
Field Value
ThrowAway
public static readonly ActionType ThrowAway
Field Value
ThrowUp
public static readonly ActionType ThrowUp
Field Value
TinkerWith
public static readonly ActionType TinkerWith
Field Value
ToggleAllLights
public static readonly ActionType ToggleAllLights
Field Value
ToggleLight
public static readonly ActionType ToggleLight
Field Value
ToggleNewspapers
public static readonly ActionType ToggleNewspapers
Field Value
ToggleTryingForBaby
public static readonly ActionType ToggleTryingForBaby
Field Value
ToggleUpgrade
public static readonly ActionType ToggleUpgrade
Field Value
ToggleVisitors
public static readonly ActionType[] ToggleVisitors
Field Value
TravelToMap
public static readonly ActionType TravelToMap
Field Value
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
UpgradeFurniture
public static readonly ActionType UpgradeFurniture
Field Value
UseDiaper
public static readonly ActionType UseDiaper
Field Value
ViewArt
public static readonly ActionType ViewArt
Field Value
VisitLot
public static readonly ActionType VisitLot
Field Value
VisitLotEmploymentLocation
public static readonly ActionType VisitLotEmploymentLocation
Field Value
VisitorGoHome
public static readonly ActionType VisitorGoHome
Field Value
WaitForInviteIn
public static readonly ActionType WaitForInviteIn
Field Value
WaitForOrder
public static readonly ActionType WaitForOrder
Field Value
WakeUp
public static readonly ActionType WakeUp
Field Value
WashHands
public static readonly ActionType WashHands
Field Value
WatchTv
public static readonly ActionType[] WatchTv
Field Value
WatchWalkthroughs
public static readonly ActionType WatchWalkthroughs
Field Value
Woodworking
public static readonly ActionType Woodworking
Field Value
Work
public static readonly ActionType Work
Field Value
WriteBook
public static readonly ActionType[] WriteBook
Field Value
YoureSoTall
public static readonly ActionType YoureSoTall
Field Value
Properties
SourceString
A (localized) string that is displayed when hovering over an EmotionModifier that has this source
public string SourceString { get; }
Property Value
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
ActionInfoThe action info
automatic
boolWhether the action is automatic (unused)
Returns
CanBeSexual(ActionInfo, bool)
A helper method intended to be used with ActionType.CanExecuteDelegate that determines whether a person can invoke a sexual activity.
A PersonLike 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
ActionInfoThe action info
automatic
boolWhether this action is automatic
Returns
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
ActionInfoThe action info
automatic
boolWhether 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
ActionInfoThe action info
automatic
boolWhether the action is automatic
Returns
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
ActionInfoThe action info
automatic
boolWhether 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
CanExecuteAll(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 ActionType.CanExecuteDelegate CanExecuteAll(params ActionType.CanExecuteDelegate[] conditions)
Parameters
conditions
CanExecuteDelegate[]The conditions that should be checked
Returns
- ActionType.CanExecuteDelegate
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 theisParentAllowed
condition - The held object is null and the action objectt
isAllowed
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
ActionInfoThe 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
boolWhether any GetInvolvedObjects<T>(ObjectCategory, bool, bool) should be passed to
isAllowed
, instead of just the action objectneedsObjectSpot
boolWhether 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<(PersonLike 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 theisPersonAllowed
condition - The held object is null and the action objectt
isAllowed
public static CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, Func<Furniture, bool> isAllowed, Func<(PersonLike Person, Furniture Item), bool> isPersonAllowed = null, bool allowAnyInvolved = false)
Parameters
info
ActionInfoThe action info
isAllowed
Func<Furniture, bool>A predicate that checks if the given item is the one searched for
isPersonAllowed
Func<(PersonLike Person, Furniture Item), bool>Whether the object that the required item should be a child of, or placed onto, is correct
allowAnyInvolved
boolWhether 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 thegoalParent
category - The held object is null and the action objectt
isAllowed
public static CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, ObjectCategory goalParent, Func<Furniture, bool> isAllowed, CanExecuteResult? parentNotFoundResult = null, bool allowAnyInvolved = false, bool needsObjectSpot = false)
Parameters
info
ActionInfoThe action info
goalParent
ObjectCategoryThe 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
boolWhether any GetInvolvedObjects<T>(ObjectCategory, bool, bool) should be passed to
isAllowed
, instead of just the action objectneedsObjectSpot
boolWhether 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
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
ActionInfoThe info that this action should be constructed with
automatic
boolWhether the action is started automatically (or by the player).
force
boolWhether 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
ActionInfoThe 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
DisplayNameWithPrice(Func<ActionInfo, float>)
A function that can be used with GetDisplayName to display the name of an action with its execution price.
public static Func<string, ActionInfo, string> DisplayNameWithPrice(Func<ActionInfo, float> priceFunc)
Parameters
priceFunc
Func<ActionInfo, float>A function that returns the execution price for the given action information. If 0 or lower is returned, no price is displayed.
Returns
- Func<string, ActionInfo, string>
A function that returns the action's display name with the price appended.
DisplayNameWithPrice(float)
A function that can be used with GetDisplayName to display the name of an action with its execution price.
public static Func<string, ActionInfo, string> DisplayNameWithPrice(float price)
Parameters
price
floatThe execution price for the given action information. If this is 0 or lower, no price is displayed.
Returns
- Func<string, ActionInfo, string>
A function that returns the action's display name with the price appended.
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
ActionInfoThe action info, can be null if no action info is present
includeIcon
boolWhether 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
ActionInfoThe 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
ActionInfoThe action info to create the arguments for.
automatic
boolWhether the action arguments should be selected automatically.
Returns
- IEnumerable<ActionArgument>
The possible arguments for the given action info.
GetSkillPriorityMod(PersonLike, SkillType, bool)
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(PersonLike person, SkillType skill, bool force = false)
Parameters
person
PersonLikeThe person to execute an action.
skill
SkillTypeThe skill whose building is involved in the action.
force
boolWhether a value other than 0 should be returned even if AiSkillBuilding is disabled. Defaults to false.
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
ActionInfoThe action info
automatic
boolWhether 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 PersonLike's Household has space for another household member.
public static CanExecuteResult HasSpaceInHousehold(ActionInfo info, bool automatic)
Parameters
info
ActionInfoThe action info.
automatic
boolWhether 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
TypeThe 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
ActionInfoThe action info
automatic
boolWhether this action is automatic
Returns
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 PersonLike.
public static CanExecuteResult IsEmptyHanded(ActionInfo info, bool automatic)
Parameters
info
ActionInfoThe action info
automatic
boolWhether 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 PersonLike 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
ActionInfoThe 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.
IsNotEmotional(params EmotionType[])
A helper method intended to be used with ActionType.CanExecuteDelegate that determines if the ActionInfo's PersonLike has any of the given emotions
, and returns a CanExecuteResult to indicate as such.
public static ActionType.CanExecuteDelegate IsNotEmotional(params EmotionType[] emotions)
Parameters
emotions
EmotionType[]The emotions that should be queried. If an entry is null, it will simply be ignored.
Returns
- ActionType.CanExecuteDelegate
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
ActionInfoThe action info
automatic
boolWhether 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
ActionInfoThe action info
automatic
boolWhether 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 PersonLike is not currently pregnant.
public static CanExecuteResult IsNotPregnant(ActionInfo info, bool automatic)
Parameters
info
ActionInfoThe action info.
automatic
boolWhether 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
ActionInfoThe action info
automatic
boolWhether this action is automatic
Returns
Register(TypeSettings)
Registers a new action type with the given ActionType.TypeSettings
public static ActionType Register(ActionType.TypeSettings settings)
Parameters
settings
ActionType.TypeSettingsThe settings that the action type should have
Returns
- ActionType
The resulting action type instance