EdiblePageSettings
A class in Root.Township, the global namespace.
Global settings for the generated pages that describe an edible item: the page template, where each glyph goes and how effect strength is drawn. Used by EdiblePageProvider.
- Listed in Global namespace: E to H
- Inherits or implements
GlobalSettings<EdiblePageSettings> - Derived types
EdiblePageSettings,EdiblePageSettings.Create - Nested types
Create - Attributes
GlobalSettings
Constructors
| Member | What it is |
|---|---|
EdiblePageSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
| Member | What it is |
|---|---|
float borderGlyphScale | Scale of the border glyph drawn around each effect glyph. |
Glyph burntGlyph | Glyph shown for a burnt item. |
float circleSegment10Scale | Scale of the circle segment glyph that stands for ten. |
float circleSegment1Scale | Scale of the circle segment glyph that stands for one. |
Glyph cookedGlyph | Glyph shown for a cooked item. |
GlyphPosition cookingStagePosition | Where the cooking stage glyph goes. |
GlyphPosition[] effects | Where each consumption effect goes, in order. |
GlyphPosition itemPosition | Where the item's own glyph goes. |
Glyph ripeGlyph | Glyph shown for a ripe item. |
Page template | The page whose glyphs every edible page starts with. |
Glyph unripeGlyph | Glyph shown for an unripe item. |
float valuePerSegment | Effect strength per circle segment. One effect (hash 3280) always uses 1 instead. |