Enum FoodType.FoodRestriction
A flag enumeration that represents a set of food tolerance restrictions for a FoodType, which determines what food can be eaten by a PersonLike based on their PersonalityType and other properties. See GetPersonality(FoodRestriction, PersonLike) to retrieve matching personalities.
[Flags]
public enum FoodType.FoodRestriction
- Extension Methods
Fields
None = 0
No food restriction.
NotForBabies = 8
A food restriction representing a food that is not suitable for babies to eat.
NotForChildren = 24
A food restriction representing a food that is not suitable for children, or babies, to eat.
NotForPregnancy = 32
A food restriction representing a food that is not suitable for pregnant people.
NotPescetarian = 7
A food restriction representing a food item that is not pescetarian, which also includes the NotVegetarian (and thus, NotVegan) flag.
NotVegan = 1
A food restriction representing a food item that is not vegan.
NotVegetarian = 3
A food restriction representing a food item that is not vegetarian, which also includes the NotVegan flag.