Class TooltipPriority
Standard sort priorities, so independently authored sections interleave predictably.
public static class TooltipPriority
- Inheritance
-
TooltipPriority
- Inherited Members
Remarks
Tooltip content is assembled by several objects that cannot see each other — a template, its events, the conditions on both, an item's generator. Each adds rows with a priority and the content sorts once at the end. Naming the bands here is what stops that from being a pile of magic numbers whose ordering nobody can predict.
Fields
Attributes
Attribute rolls and generated values.
public const int Attributes = 40
Field Value
Composition
The parts a crafted subject is made of.
public const int Composition = 75
Field Value
Description
Flavour and description.
public const int Description = 10
Field Value
Effects
What it does.
public const int Effects = 70
Field Value
Footer
Classification that belongs at the bottom.
public const int Footer = 90
Field Value
Hint
Guidance addressed to the player.
public const int Hint = 900
Field Value
Identity
Identity: ids, slots, ownership.
public const int Identity = 20
Field Value
Price
What it costs to buy or craft.
public const int Price = 80
Field Value
Requirements
What the character must have or be.
public const int Requirements = 60
Field Value
ResourceCost
What it costs to use.
public const int ResourceCost = 50
Field Value
Stats
The numbers.
public const int Stats = 30
Field Value
Subtitle
What kind of thing it is.
public const int Subtitle = 5
Field Value
Targeting
How it picks what it affects.
public const int Targeting = 55
Field Value
Title
The subject's name.
public const int Title = 0