Class PlantSocialAction.Settings
public record PlantSocialAction.Settings : IEquatable<PlantSocialAction.Settings>
- Inheritance
-
PlantSocialAction.Settings
- Implements
- Inherited Members
- Extension Methods
Constructors
Settings(TimeSpan, Func<PersonLike, float>, int, TimeSpan, AgeGroup, Func<Plant, bool>)
public Settings(TimeSpan TalkTime, Func<PersonLike, float> PassivePriority, int RequiredGardeningLevel = 0, TimeSpan PlantGrowthBoost = default, AgeGroup RequiredAges = AgeGroup.ChildOrOlder, Func<Plant, bool> PlantConditions = null)
Parameters
TalkTimeTimeSpanPassivePriorityFunc<PersonLike, float>RequiredGardeningLevelintPlantGrowthBoostTimeSpanRequiredAgesAgeGroupPlantConditionsFunc<Plant, bool>
Properties
PassivePriority
public Func<PersonLike, float> PassivePriority { get; init; }
Property Value
PlantConditions
public Func<Plant, bool> PlantConditions { get; init; }
Property Value
PlantGrowthBoost
public TimeSpan PlantGrowthBoost { get; init; }
Property Value
RequiredAges
public AgeGroup RequiredAges { get; init; }
Property Value
RequiredGardeningLevel
public int RequiredGardeningLevel { get; init; }
Property Value
TalkTime
public TimeSpan TalkTime { get; init; }