mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-22 03:53:29 +01:00
use collection expressions in whole project
This commit is contained in:
parent
25d51baafb
commit
9f2694178d
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ public class ExampleMod : Mod {
|
||||||
// we allow the action to be done even if the solved needs aren't low enough on a person
|
// we allow the action to be done even if the solved needs aren't low enough on a person
|
||||||
CanDoRandomly = true,
|
CanDoRandomly = true,
|
||||||
// the solved needs indicate when the AI should mark this action as important, they don't actually have to match the action's behavior
|
// the solved needs indicate when the AI should mark this action as important, they don't actually have to match the action's behavior
|
||||||
SolvedNeeds = new[] {NeedType.Energy},
|
SolvedNeeds = [NeedType.Energy],
|
||||||
// make people more likely to sit down in the grass if they're uncomfortable
|
// make people more likely to sit down in the grass if they're uncomfortable
|
||||||
PassivePriority = p => p.Emotion == EmotionType.Uncomfortable ? 150 : 25
|
PassivePriority = p => p.Emotion == EmotionType.Uncomfortable ? 150 : 25
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue