-
Notifications
You must be signed in to change notification settings - Fork 232
Advancement Type Size
The Size advancement allows a race to set the creature size of a character and will present an option of sizes upon adding a race if more than one size is possible. This advancement can only be added to races and each race can only have a single advancement of this type.
The Size advancement presents a list of creature sizes that can be chosen. The player will be presented these options as long as more than one size is selected.
It also allows a hint to be set which will be displayed to the user when they add the race. This is usually populated with the same text in the size section of the race's description, to give the player context for their choice.
When a player adds a race they will be shown the hint provided, or an auto-generated hint if one wasn't set, and a dropdown of size options if more than one is possible.
The original proposal for the Hit Points advancement can be found here.
The Size advancement contains a simple data structure with hint
being a string, and sizes
being a set of available size options as defined in CONFIG.DND5E.creatureSizes
.
{
hint: "Elves range from under 5 to over feet tall and have slender builds. Your size is Medium.",
sizes: new Set(["med"])
}
The Size advancement keeps track of the size selected by the user as a string. This value is set even if there was only a single size configured.
{
size: "med"
}