Table of Contents

Class PlantSocialAction.Settings

Namespace
TinyLife.Actions
Assembly
TinyLife.dll
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

TalkTime TimeSpan
PassivePriority Func<PersonLike, float>
RequiredGardeningLevel int
PlantGrowthBoost TimeSpan
RequiredAges AgeGroup
PlantConditions Func<Plant, bool>

Properties

PassivePriority

public Func<PersonLike, float> PassivePriority { get; init; }

Property Value

Func<PersonLike, float>

PlantConditions

public Func<Plant, bool> PlantConditions { get; init; }

Property Value

Func<Plant, bool>

PlantGrowthBoost

public TimeSpan PlantGrowthBoost { get; init; }

Property Value

TimeSpan

RequiredAges

public AgeGroup RequiredAges { get; init; }

Property Value

AgeGroup

RequiredGardeningLevel

public int RequiredGardeningLevel { get; init; }

Property Value

int

TalkTime

public TimeSpan TalkTime { get; init; }

Property Value

TimeSpan