Skip to main content

IngredientPageSettings

A class in Root.Township, the global namespace.

Global settings for the generated pages that describe a cooking ingredient. Same fields as EdiblePageSettings, used by IngredientPageProvider.

Constructors​

MemberWhat it is
IngredientPageSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

MemberWhat it is
float borderGlyphScaleScale of the border glyph drawn around each effect glyph.
Glyph burntGlyphGlyph shown for a burnt item.
float circleSegment10ScaleScale of the circle segment glyph that stands for ten.
float circleSegment1ScaleScale of the circle segment glyph that stands for one.
Glyph cookedGlyphGlyph shown for a cooked item.
GlyphPosition cookingStagePositionWhere the cooking stage glyph goes.
GlyphPosition[] effectsWhere each effect goes, in order.
GlyphPosition itemPositionWhere the item's own glyph goes.
Glyph ripeGlyphGlyph shown for a ripe item.
Page templateThe page whose glyphs every ingredient page starts with.
Glyph unripeGlyphGlyph shown for an unripe item.
float valuePerSegmentEffect strength per circle segment.