pasmon79 Posted December 3, 2019 Share Posted December 3, 2019 I have often found that some of my sick and hurt team members are away. There is a "SendAway" ActionID in "Enclaves.xml". Is editing this will ensure my members stay at home? Link to comment Share on other sites More sharing options...
qmjs Posted December 3, 2019 Share Posted December 3, 2019 Yes. There are several that do the same thing. ActionId="SendAway" and ActionId="SendAway_Survey", and there are two of each. The character definitition it uses is:<Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.Behavior.NeverAway, !Trait.Immune.NonStoryContent, !Trait.Story.Command, !Trait.Status.Family" FunctionTags="Npc" HideWarnings="" Optional="" TargetEnclave="" /> Changing that to add two more traits can keep sick and injured at home:Trait.MoodType.Sick and Trait.MoodType.Hurt, and since you don't ant them to have either trait to be selected for the away status, prefix with ! (not). So change the character line to:<Character ActorFlags="" ActorName="" ActorTask="" ActorTraits="!Trait.MoodType.Sick, !Trait.MoodType.Hurt, !Trait.Behavior.NeverAway, !Trait.Immune.NonStoryContent, !Trait.Story.Command, !Trait.Status.Family" FunctionTags="Npc" HideWarnings="" Optional="" TargetEnclave="" /> Link to comment Share on other sites More sharing options...
pasmon79 Posted December 4, 2019 Author Share Posted December 4, 2019 (edited) Thanks for clearing my confusion. Edited December 4, 2019 by pasmon79 Link to comment Share on other sites More sharing options...
pasmon79 Posted April 14, 2020 Author Share Posted April 14, 2020 (edited) There are other traits like Trait.Status(Hungry, Wound, Tired, Injured etc). Do they get covered by Trait.Moodtype. or needs to be defined separately as they are used at several places? Edited April 14, 2020 by pasmon79 Link to comment Share on other sites More sharing options...
qmjs Posted April 14, 2020 Share Posted April 14, 2020 Moodtype. Link to comment Share on other sites More sharing options...
pasmon79 Posted April 16, 2020 Author Share Posted April 16, 2020 (edited) I have checked in the game, that Trait.Status.Injury and Trait.Status.Sick is another unused trait. But Trait.Wound is used and it evolves into Trait.Status.Wound used by the game. Edited April 16, 2020 by pasmon79 Link to comment Share on other sites More sharing options...
qmjs Posted April 16, 2020 Share Posted April 16, 2020 Those are used in story mode for specific purposes, and in general for tracking weakened characters. Trait.Status.Injury is used to track Ed's status until the Doc comes to treat him, and Jacob's injury status during the missions until he is returned home. Because it is a subtrait, you will find it referenced in some places as !Trait.Mood.Hurt_Mauled However, it is also used to used to track severe wounds that prevent any character from acting as labor, staff, mission targets, etc. by using <Subtrait Name="Trait.Status.Injury" /> in characters.xml and then referring to it as !Trait.Status.Injury in scenes, missions, facilities, fatecards, and rtsevents. Trait.Status.Sick is also assigned as a subtrait in characters, and essentially functions in a similar manner in scenes, missions, facilities, fatecards, and rtsevents. Link to comment Share on other sites More sharing options...
pasmon79 Posted April 17, 2020 Author Share Posted April 17, 2020 (edited) It would be a lot simpler, if all these traits that kept player unable to do work,mission etc were linked with a single subtrait i.e NoLabor(which is already characterized). Edited April 17, 2020 by pasmon79 Link to comment Share on other sites More sharing options...
qmjs Posted April 17, 2020 Share Posted April 17, 2020 Yeah, there is a lot that isn't particularly well optomized. Link to comment Share on other sites More sharing options...
pasmon79 Posted April 18, 2020 Author Share Posted April 18, 2020 So can all the traits be switched on or off from setting the sub-trait alone? Link to comment Share on other sites More sharing options...
Recommended Posts