Show / Hide Table of Contents

Class ItemTaste

Inheritance
System.Object
ItemTaste
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public sealed class ItemTaste : ValueType

Fields

Discovered

Declaration
public bool Discovered
Field Value
Type Description
System.Boolean

MinCaloriesToBeFavOrWorst

Declaration
public static int MinCaloriesToBeFavOrWorst
Field Value
Type Description
System.Int32

MinNutrientsToBeFavOrWorst

Declaration
public static int MinNutrientsToBeFavOrWorst
Field Value
Type Description
System.Int32

Preference

Declaration
public ItemTaste.TastePreference Preference
Field Value
Type Description
ItemTaste.TastePreference

TasteWeightedRandomness

Declaration
public static float[] TasteWeightedRandomness
Field Value
Type Description
System.Single[]

TastinessMultiplier

Declaration
public static float[] TastinessMultiplier
Field Value
Type Description
System.Single[]

Properties

TastinessMult

Declaration
public float TastinessMult { get; }
Property Value
Type Description
System.Single

Methods

DescribeTaste()

Declaration
public LocString DescribeTaste()
Returns
Type Description
LocString

Initialize()

Declaration
public static void Initialize()

MakeRandomNonExtremeTaste(Boolean)

Declaration
public static ItemTaste MakeRandomNonExtremeTaste(bool discovered = false)
Parameters
Type Name Description
System.Boolean discovered
Returns
Type Description
ItemTaste

PostDescribeTaste()

Declaration
public LocString PostDescribeTaste()
Returns
Type Description
LocString

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾