Mod-Beschreibung
Was dieser Mod hinzufügt
Description:
Oh my goodness, stop wearing your pajamas all day.
This mod makes paras get dressed after getting out of bed, but not right away. Different stats, timings, and personalities are more or less likely to determine the urgency of getting dressed.
A whole new action was created that is usable in game! Clicking on wardrobes or dressers will display Change to Casual in addition to change outfit. The Change to Casual action will order a para to go to the dresser or wardrobe, consider what to wear for 5m in-game, and then switch their outfit to a random casual outfit from those you’ve created for that para. Heckin’ neat.
Creating that action from scratch was necessary, since there was nothing like it yet in the game. Now you can just click a para, click the action, and move on with your day.
But if you don’t feel like ordering your paras' every move, they will also now autonomously decide to change into their day clothes on their own after awhile.
No more houses full of pajama paras all the time!
Specifics:
[code]
Autonomy
Score Based Idle Autonomy Rules:
Created new autonomy:
ChangeFromPajamasToCasual
Score 6
Score Modifiers:
• -5 for HasPersonalityTrait Lifestyle_CleaningHabits_Sloppy
• -3 for HasPersonalityTrait Lifestyle_CleaningHabits_Normal
• +1 Is Multiplied By Context Requirement Value for ActionNotPerformedForDurationSince SleepInBed GreaterOrEqualThan 1m (my assumption is this will gradually tick up making the action more likely to occur as time goes on)
• +3 for HasPersonalityTrait Vibe_Serious
• +1 for HasPersonalityTrait Lifestyle_CleaningHabits_Neat
• +4 for TimeBeforeNextWorkday < 12h
• -2 for TimeBeforeNextWorkday > 20h (pajamas more likely to linger on non-work-days)
Always Choose This Rule If Requirements Are Met = TRUE
Context Requirements:
• RequirementsAllMustBeTrue
◦ ActionPerformedNumberOfTimesSince SleepInBed >= 1 in 12h
◦ ActionPerformedNumberOfTimesSince MoveToClosetChangePJsToCasual (this is the custom action created by this mod) < 9h
Interaction To Inject
Int-MoveToClosetPJsToCasual (this interaction references the mod’s custom action)
Interactions:
Created Interaction in All Interactions:
Int- MoveToClosetPJsToCasual
Character Requirement = AdultModel (this does include children)
Interaction Queue Icon = InteractionIconWalk.png (works fine as a placeholder, other vanilla actions use it too)
ActionGUID = ChangePjsToCasualSequence
Within: Interaction Groups
In GROUP_Closet & GROUP_Dresser:
Children Interaction And Groups
• added Int-MoveToClosetClosetPJsToCasual (this is what makes the option to order a para to pick a Casual Outfit at random by clicking on a wardrobe or dresser in-game, as well as possibly being necessary for the action to even work as an autonomy)
Actions:
Created Actions
ChangePjsToCasualSequence
Type = Sequence
Items:
1. MoveToClosetChangePJsToCasual
2. ContemplateCloset->ChangeCasual (ContemplateCloset is another action I had to build to make this work in a way that looks good and feels right).
MoveToClosetChangePJsToCasual
Type = Single
Animation = WalkLeisurely
End Condition = AfterStart
Item Finder Rule = FindClosetForPJ->Casual (custom item finder necessary to locate and move to closets (wardrobes) & dressers)
Required Slot Type = GenericSlot
Override Distance For Path Finding To Item = TRUE
Distance For Pathfinding To Item = .8 (it’s the same distance away and setup as the TakeBook action when a para grabs a book from a bookshelf, figured that work about right. It does.)
CircleAngle 142 (bookshelves use 180 here, but 42 is the answer to everything..)
ContemplateCloset->ChangeCasual
Type = Single
Animation = ContemplateArt (universally used in vanilla for looking at art, things your para can buy in the world, etc. It’s used in every action where your para walks up to look at and consider things)
End Condition FixedDurationInMinutes = 5 (5 mins to pick out an outfit and get dressed makes sense and feels okay in game).
Item Finder Rule = FindClosetForPJ→Casual
On Item Finder Not Found = Continue (set to Continue here since the first action of the sequence is set to the default CancelInteraction if the wardrobe or dresser isn’t found, which means that your para should already be standing where they need to be by this point)
Circle Angle 142 (cuz I’m a nerd)
Outcomes:
Timing = End (after considering for 5m, a casual outfit is equipped)
Type = ChangeOutfit
Outfit Type = Casual
ItemFinderRules
Created FindClosetForPJ->Casual
Item Finder Sub Rules:
• Must Have Tag = Closets (this is Wardrobes in game)
• Must Have Tag = Dressers
Translations:
Created: Interaction_Int-MoveToClosetPJsToCasual
Value: Change to Casual (what shows up in-game)
Info For Translators: Change to random casual outfit
Do Not Translate = FALSE
[/code]
Discussion
Comments
No wiki comments yet · be the first.