| Field | Type | Label | Description |
| type | AbilityCheckAdvantage.Type |
|
|
| ability | string | Used for both ABILITY and SKILL types. For example, an enchantment or feature that grants a bonus to Charisma (Persuasion) checks would not apply to Intelligence (Persuasion) checks. |
|
| skill | string |
|
| Field | Type | Label | Description |
| ability | string |
|
|
| score | int32 |
|
| Field | Type | Label | Description |
| constraint | AbilityScoreIncreaseConstraint |
|
|
| number | int32 |
|
|
| magnitude | int32 |
|
|
| correlation_key | string | Allowed correlations: ABILITY_SCORE_INCREASE (exclusion), SAVING_THROW_PROFICIENCY |
|
| prompt | string |
|
| Field | Type | Label | Description |
| type | AbilityScoreIncreaseConstraint.Type |
|
|
| specific_ability_score | string | repeated |
|
| correlation_key | string | TODO: Rename to exclusion_key, or exclusion_correlation_key? |
| Field | Type | Label | Description |
| ability | string |
|
|
| bonus | int32 |
|
| Field | Type | Label | Description |
| speed | int32 |
|
|
| carrying_capacity_pounds | int32 |
|
| Field | Type | Label | Description |
| category | ArmorCategory |
|
|
| base_armor_class | int32 |
|
|
| stealth_disadvantage | bool |
|
|
| strength_prerequisite | int32 |
|
|
| metallic | bool |
|
| Field | Type | Label | Description |
| name | string |
|
|
| info_source | InfoSource |
|
|
| background_element | BackgroundElementCategory | repeated |
|
| feature | Feature | repeated |
|
| Field | Type | Label | Description |
| category_name | string |
|
|
| description | string |
|
| Field | Type | Label | Description |
| name | string |
|
|
| singular_name | string |
|
|
| option | string | repeated |
|
| option_variation | BackgroundElementCategory.OptionVariation | repeated |
|
| Field | Type | Label | Description |
| text | string |
|
|
| index | int32 |
|
| Field | Type | Label | Description |
| background | Background | repeated |
|
BranchingFeatureOptions for classes should be specified in the classes file, while those for feats
should be specified in the feats file.
| Field | Type | Label | Description |
| source | BranchingFeatureOption.Source | repeated |
|
| name | string | e.g. "Life". Must be unique among all BranchingFeatureOptions. |
|
| description | string |
|
|
| info_source | InfoSource |
|
|
| feature | Feature | repeated |
|
| display_name_override | string | Use this when the desired display name is generic (such as the name of a class), and would violate the name uniqueness rule. |
| Field | Type | Label | Description |
| source_name | string | e.g. "Cleric", but could also be the name of a non-class feature source |
|
| feature_name | string | e.g. "Divine Domain" (refers to the source_id_key of the source feature) |
| Field | Type | Label | Description |
| type | CastingTime.Type |
|
|
| magnitude | int32 | Only used if type is MINUTE or HOUR |
|
| trigger | string | Only used if type is REACTION |
| Field | Type | Label | Description |
| id | int32 |
|
|
| name | string |
|
|
| race | string |
|
|
| subrace | string |
|
|
| primary_class | string |
|
|
| class_level | ClassLevel | repeated |
|
| background | CustomizedBackground |
|
|
| thumbnail | ImageSource |
|
|
| ability_score | AbilityScore | repeated | The character's base ability scores chosen at creation. Additional ability score bonuses are represented as FeatureSelections of type ABILITY_SCORE_INCREASE |
| feature | FeatureSelection | repeated |
|
| equipment | Equipment | repeated | Represents the current equipment owned by this character. |
| resource_state | ResourceState | repeated | The amount remaining of each resource (ki, rages, sorcery points, breath weapon, etc.) for each of this character's RESOURCE features. |
| current_hit_points | int32 |
|
|
| inspiration | bool |
|
|
| successful_death_saves | int32 |
|
|
| failed_death_saves | int32 |
|
|
| stable | bool |
|
|
| dead | bool |
|
| Field | Type | Label | Description |
| character | Character | repeated |
|
| Field | Type | Label | Description |
| name | string |
|
|
| short_description | string |
|
|
| info_source | InfoSource |
|
|
| thumbnail | ImageSource |
|
|
| feature | Feature | repeated |
|
| hit_die | int32 |
|
| Field | Type | Label | Description |
| class_name | string |
|
|
| level | int32 |
|
| Field | Type | Label | Description |
| class | Class | repeated |
|
| class_option | BranchingFeatureOption | repeated |
|
| multi_option | MultiFeatureOption | repeated |
|
| Field | Type | Label | Description |
| class_name | string |
|
|
| spell | string | repeated |
|
| Field | Type | Label | Description |
| class_spell | ClassSpells | repeated |
|
TODO: Comment on mixed fraction constraints: https://www.compart.com/en/unicode/decomposition/%3Cfraction%3E
| Field | Type | Label | Description |
| solid_capacity_tenth_cubic_feet | int32 |
|
|
| liquid_capacity_ounces | int32 |
|
|
| weight_capacity_pounds | int32 |
|
|
| strappable | bool | Items can be strapped to the outside of a strappable container (backpack) provided the overall weight limit is not exceeded. |
|
| extradimensional | bool | Extradimensional items such as bag of holding or portable hole are allowed to have a higher capacity than their external size. Additionally, extradimensional items cannot be placed inside each other. Attempting to do so will destroy both items and open a portal to the Astral Plane. |
|
| item_capacity | ContainerInfo.ItemCapacity |
|
Capacity for holding specific items, e.g. Crossbow Case or Quiver
| Field | Type | Label | Description |
| type | ContainerInfo.ItemCapacity.Type |
|
|
| specific_item | string |
|
|
| item_type | Item.Type |
|
|
| quantity | int32 |
|
| Field | Type | Label | Description |
| name | string |
|
|
| element | BackgroundElement | repeated |
|
| backstory | string |
|
|
| alignment | Alignment |
|
| Field | Type | Label | Description |
| type | DamageResistance.Type |
|
|
| magic_ignores_resistance | bool |
|
|
| silver_ignores_resistance | bool |
|
|
| damage_type | DamageType | repeated |
|
| Field | Type | Label | Description |
| range | int32 |
|
|
| see_through_magical_darkness | bool |
|
|
| improve_existing_darkvision | bool | e.g. Goggles of Night |
| Field | Type | Label | Description |
| type | Duration.Type |
|
|
| magnitude | int32 | Only used if type is MINUTE, HOUR, DAY, or YEAR. |
|
| concentration | bool |
|
| Field | Type | Label | Description |
| name | string |
|
|
| quantity | int32 |
|
|
| unit | Unit |
|
|
| state | ItemState | repeated |
|
| source | EquipmentSource |
|
| Field | Type | Label | Description |
| option | EquipmentPackage | repeated |
|
| Field | Type | Label | Description |
| type | EquipmentOptionConstraint.Type |
|
|
| specific_item | string | Note that spellbooks are a special case, which MUST be in their own starting equipment entry with no options allowed. |
|
| weapon | WeaponDescription |
|
|
| item_type | Item.Type |
|
| Field | Type | Label | Description |
| name | string |
|
|
| equipment | EquipmentPackageElement | repeated |
|
| Field | Type | Label | Description |
| constraint | EquipmentOptionConstraint |
|
|
| quantity | int32 |
|
|
| unit | Unit |
|
|
| prompt | string |
|
|
| item_state | ItemState | repeated |
|
TODO: Both Equipment and SpellState need to have EquipmentSource. This needs to be set for
all items and for spellbook spells.
| Field | Type | Label | Description |
| type | EquipmentSource.Type |
|
|
| source_description | string |
|
|
| source_id | SourceId |
|
|
| package_name | string | For type FEATURE if there are multiple options. |
| Field | Type | Label | Description |
| class_name | string |
|
|
| spell | string | repeated |
|
| Field | Type | Label | Description |
| name | string |
|
|
| short_description | string |
|
|
| info_source | InfoSource |
|
|
| prerequisite | FeatPrerequisite |
|
|
| feature | Feature | repeated |
|
| Field | Type | Label | Description |
| feat | Feat | repeated |
|
| feat_option | BranchingFeatureOption | repeated |
|
| Field | Type | Label | Description |
| type | FeatPrerequisite.Type |
|
|
| ability | string | repeated |
|
| armor_category | ArmorCategory |
|
TODO: Incorporate Resources and the effect of spending that resource in the same Feature?
| Field | Type | Label | Description |
| type | Feature.Type |
|
|
| source_id_key | string | NOTE WELL ALL YE WHO ENTER HERE: source_id_key must be unique within a given feature source (e.g. race, class, branching_feature, etc) There are no uniqueness constraints for display_name. source_id will be populated by the Rules when the feature is retrieved. |
|
| display_name | string |
|
|
| source_id | SourceId |
|
|
| show_in_feature_list | bool | Whether to show this feature on the Features tab. Features like "Tides of Chaos" should set this to true, while features like "Base Walking Speed" should default to false. |
|
| level | int32 | The level at which this feature becomes active. For features sourced from a Class, this is the level in that class. Otherwise, it is the overall character level. |
|
| multiclass_characteristics | Feature.MulticlassCharacteristics |
|
|
| talent_proficiency | TalentProficiencyOption |
|
|
| saving_throw_proficiency | SavingThrowProficiencyOption |
|
|
| weapon_proficiency | WeaponProficiency |
|
|
| armor_proficiency | ArmorCategory |
|
|
| ability_score_increase | AbilityScoreIncrease |
|
|
| spellcasting_progression | SpellcastingProgression |
|
|
| spells_known | SpellsKnown | Used for SPELLS_KNOWN and SPELLBOOK |
|
| spells_prepared | SpellsPrepared |
|
|
| expanded_spell_list | ExpandedSpellList |
|
|
| equipment | EquipmentOption |
|
|
| speed_bonus | int32 |
|
|
| resource | Resource |
|
|
| hit_points | HitPoints |
|
|
| passive_skill_bonus | PassiveSkillBonus |
|
|
| initiative_bonus | int32 |
|
|
| unarmored_defense | UnarmoredDefense |
|
|
| multi_feature_group | MultiFeatureGroup |
|
| Field | Type | Label | Description |
| name | string |
|
|
| feature | Feature | repeated |
|
Although this is called "FeatureSelection", it can also include feature types for which the
player does not select any option, such as SHIELD_PROFICIENCY, or where the constraint is such
that the player has no actual choice in the matter, as with many ABILITY_SCORE_INCREASE features.
| Field | Type | Label | Description |
| type | Feature.Type | Type of the source feature |
|
| source_id | SourceId | ID of the source feature |
|
| display_name | string | Display name of the source feature |
|
| show_in_feature_list | bool |
|
|
| selection | string |
|
| Field | Type | Label | Description |
| type | HitPoints.Type |
|
|
| hit_points_per_level | int32 |
|
| Field | Type | Label | Description |
| type | ImageSource.Type |
|
|
| storage_path | string |
|
|
| asset_path | string |
|
| Field | Type | Label | Description |
| title | string |
|
|
| content | string |
|
| Field | Type | Label | Description |
| type | InfoSource.Type |
|
|
| storage_path | string |
|
|
| asset_path | string |
|
|
| uri | string |
|
| Field | Type | Label | Description |
| name | string |
|
|
| indefinite_name | string |
|
|
| plural_name | string |
|
|
| short_description | string |
|
|
| full_description | string |
|
|
| type | Item.Type |
|
|
| info_source | InfoSource |
|
|
| unit | string | This is a little broader than the fluid unit used to quantify fluid equipment. This is used to describe the costs and weights of objects in terms of the unit, for example the amount a chain weighs "per foot". |
|
| unit_cost_cp | int32 |
|
|
| unit_weight_lb | int32 |
|
|
| unit_weight_quarter_lb | int32 |
|
|
| weapon_info | WeaponInfo |
|
|
| armor_info | ArmorInfo |
|
|
| equipment_pack_contents | Equipment | repeated |
|
| container_info | ContainerInfo |
|
|
| animal_info | AnimalInfo |
|
|
| speed_miles_per_hour | int32 |
|
|
| fluid | bool |
|
| Field | Type | Label | Description |
| correlation_key | string | Used if this is associated with an ItemEnchantment. Correlates with the MagicItemResource used to activate this effect. |
TODO: Handle Curses
| Field | Type | Label | Description |
| type | ItemEnchantment.Type |
|
|
| description | string | OTHER |
|
| table | Table | A table such as that describing Alchemy Jug or Apparatus of Kwalish |
|
| activation_condition | string | Bonuses with 'activation_condition' set are not always active, but the condition will appear as a suggestion when the user enters the appropriate context. For example, if a weapon gives +1 against dragons, this will be indicated when the player taps their attack block. |
|
| requires_attunement | bool | Whether the specific enchantment requires attunement to use. Some items can be attuned to, but have some basic effects that are active regardless of whether or not the user is attuned. |
|
| bonus_magnitude | int32 | ATTACK_AND_DAMAGE_BONUS, SAVING_THROW_BONUS, AC_BONUS, DAMAGE_BONUS, PROFICIENCY_BONUS_INCREASE |
|
| bonus_damage_die_value | int32 | DAMAGE_BONUS |
|
| bonus_die_die_quantity | int32 | DAMAGE_BONUS |
|
| bonus_damage_type | DamageType | DAMAGE_BONUS TODO: Specify when damage type is the same as that dealt by the weapon? |
|
| ability | string | MINIMUM_ABILITY_SCORE |
|
| minimum_ability_score | string | MINIMUM_ABILITY_SCORE |
|
| damage_resistance | DamageResistance | DAMAGE_RESISTANCE, DAMAGE_IMMUNITY |
|
| slaying | Slaying | SLAYING |
|
| ability_score_increase | AbilityScoreIncreaseEnchantment | ABILITY_SOCRE_INCREASE |
|
| max_ability_score_increase | MaxAbilityScoreIncrease | MAX_ABILITY_SCORE_INCREASE |
|
| ability_check_advantage | AbilityCheckAdvantage | ABILITY_CHECK_ADVANTAGE |
|
| saving_throw_advantage | SavingThrowAdvantage | SAVING_THROW_ADVANTAGE |
|
| darkvision | Darkvision | DARKVISION |
|
| talent | string | TALENT_PROFICIENCY |
|
| hit_points_per_level | int32 | HIT_POINTS |
|
| spell_name | string | SPELL_AT_WILL |
|
| effect | ItemEffect | EFFECT |
|
| jump_multiplier | int32 | JUMP_MULTIPLIER |
|
| walking_speed | int32 | WALKING_SPEED, MINIMUM_WALKING_SPEED |
|
| movement_speed | MovementSpeed | CLIMBING_SPEED, SWIMMING_SPEED, FLYING_SPEED |
|
| unarmed_strike_enhancement | UnarmedStrikeEnhancement | UNARMED_STRIKE_ENHANCEMENT |
|
| condition | Condition | CONDITION_IMMUNITY |
| Field | Type | Label | Description |
| item | Item | repeated |
|
| Field | Type | Label | Description |
| type | ItemState.Type |
|
|
| source | EquipmentSource |
|
|
| name | string |
|
|
| spell | SpellState |
|
|
| equipment | Equipment | Contained equipment |
|
| description | string |
|
| Field | Type | Label | Description |
| charges | int32 |
|
|
| recovery_type | MagicItemResource.RecoveryType |
|
|
| recovery_die | int32 | Used for DIE recovery type. This is allowed to be a number like d3 (1d6 / 2) |
|
| correlation_key | string | If present, this key must correlate to an ItemEnchantment of type EFFECT to indicate which effect is activated by a use of this resource. If it's empty, it's presumed that the effect is of type "OTHER" TODO: Figure it if correlation to the OTHER effect is needed, and if so, how to implement |
| Field | Type | Label | Description |
| description | string |
|
|
| cost | int32 |
|
|
| consumed | bool |
|
|
| required | bool | True if the component is required, even though it is not consumed and has no specified cost |
| Field | Type | Label | Description |
| ability | string |
|
|
| increase | int32 |
|
| Field | Type | Label | Description |
| type | MovementSpeed.Type |
|
|
| specific_speed | int32 |
|
| Field | Type | Label | Description |
| name | string | e.g. Maneuver |
|
| plural_name | string | TODO: This is probably not globalization-friendly. e.g. Maneuvers |
|
| level_quantity | MultiFeatureGroup.LevelQuantity | repeated |
|
| replacement_policy | MultiFeatureGroup.ReplacementPolicy | One selection can be changed at level-ups where the specified condition is met. |
|
| locked_selection | string | repeated | Any selections specified here must be selected when this feature is gained, using the quantity quota specified for the level at which it is gained. However, they may still be replaced at later levels, according to the replacement policy. |
| Field | Type | Label | Description |
| level | int32 |
|
|
| quantity | int32 |
|
| Field | Type | Label | Description |
| source | MultiFeatureOption.Source | repeated |
|
| name | string | e.g. "Commander's Strike". Must be unique among all MultiFeatureOptions. |
|
| description | string |
|
|
| info_source | InfoSource |
|
|
| feature | Feature | repeated |
|
| Field | Type | Label | Description |
| source_name | string | e.g. "Fighter", but could also be the name of a non-class feature source |
|
| feature_name | string | e.g. "Combat Superiority" (refers to the source_id_key of the source feature) |
| Field | Type | Label | Description |
| page | InfoPage | repeated |
|
| Field | Type | Label | Description |
| skill | string |
|
|
| bonus | int32 |
|
| Field | Type | Label | Description |
| name | string |
|
|
| short_description | string |
|
|
| parent_race | string |
|
|
| info_source | InfoSource |
|
|
| thumbnail | ImageSource |
|
|
| feature | Feature | repeated |
|
| standalone_name | string | Specified in Subraces only - e.g. if the subrace is "Stout" and the parent race is "Halfling", the standalone_name would be "Stout Halfling". |
| Field | Type | Label | Description |
| race | Race | repeated |
|
| subrace | Race | repeated |
|
| Field | Type | Label | Description |
| type | Range.Type |
|
|
| magnitude | int32 | Only used if type is FOOT or MILE |
|
| annotation | string | e.g. "15-foot cone" in "Range: Self (15-foot cone)", as in burning hands |
| Field | Type | Label | Description |
| quantity | Resource.Quantity |
|
|
| recovery | Resource.Recovery |
|
|
| die_progression | Resource.ResourceDie | repeated | Used if the resource is associated with a die such as Bardic Inspiration or Combat Superiority |
| correlation_key | string | If not empty, corresponds to the correlation key in a SPELLS_KNOWN feature. This resource is used to cast the spell associated with this key, and the display name of the resource will change to the name of the spell selected via that feature. TODO: Use correlation key for other effects than casting a spell. e.g. rage effect? |
| Field | Type | Label | Description |
| type | Resource.Quantity.Type |
|
|
| level_progression | Resource.Quantity.LevelQuantity | repeated |
|
| ability | string | TODO: Should abilities be an enum? Only applies to type ABILITY_SCORE |
|
| extra_uses | int32 | Only applies to type ABILITY_SCORE |
|
| class_level_multiplier | int32 | Only applies to type CLASS_LEVEL_EXACT. Values less than 1 are treated as 1. |
| Field | Type | Label | Description |
| start_level | int32 |
|
|
| type | Resource.Quantity.LevelQuantity.Type |
|
|
| quantity | int32 |
|
| Field | Type | Label | Description |
| start_level | int32 |
|
|
| die | int32 |
|
| Field | Type | Label | Description |
| source_id | SourceId | Refers to the source_id of the corresponding RESOURCE feature. |
|
| quantity | int32 | The current quantity of the resource remaining. |
| Field | Type | Label | Description |
| type | SavingThrowAdvantage.Type |
|
|
| ability | string |
|
TODO: Just rename to SavingThrowProficiency, and put everything in this proto?
(Just like WeaponProficiency)
| Field | Type | Label | Description |
| constraint | SavingThrowProficiencyOptionConstraint |
|
| Field | Type | Label | Description |
| type | SavingThrowProficiencyOptionConstraint.Type |
|
|
| specific_ability | string | repeated |
|
| correlation_key | string |
|
| Field | Type | Label | Description |
| target | string |
|
|
| save_dc | int32 |
|
|
| damage_die_value | int32 | TODO: Think about using a DamageDice message containing these two fields |
|
| damage_die_quantity | int32 |
|
A trail of IDs that both uniquely identifies the feature source for a given feature or bonus,
and provides the identifying names of the features.
| Field | Type | Label | Description |
| id_unit | SourceIdUnit | repeated |
|
| Field | Type | Label | Description |
| feature_name | string | Descriptive, e.g. 'Dragonborn Strength' |
|
| type | SourceIdUnit.Type | e.g. RACE |
|
| source_name | string | e.g. 'Dragonborn' |
|
| level | int32 | For Race, Class, and Branching Feature, the level at which the feature is gained. |
| Field | Type | Label | Description |
| name | string | The name of the spell. Don't wear it out! |
|
| short_description | string | This is where you get to be creative! Write a description that summarizes the effects of the spell. Take a look at a few of the descriptions I wrote to get a sense of what I think is important. In particular, make sure to note the amount of damage a spell does, for damage spells. (I also like to explicitly use the word 'attack' when it's an actual spell attack, rather than a saving throw). |
|
| full_description | InfoSource | This is a submessage indicating where the markdown file for this spell is located. 'type' will always be ASSET for built-in content, and 'asset_path' needs to be set. 'storage_path' should remain unset for built-in content. |
|
| level | int32 | The level of the spell. 0 for cantrips. |
|
| school | School | The school of magic the spell belongs to. ABJURATION, EVOCATION, etc. |
|
| ritual | bool | Whether the spell can be cast as a ritual. This is indicated in the players handbook by a parenthetical '(ritual)' after the level and school. You may leave this out if a spell cannot be cast as a ritual. |
|
| casting_time | CastingTime | How long the spell takes to cast. For reaction spells, the trigger should be included, and phrased as if to complete the sentence: "You may cast this spell as a reaction <trigger>", and be copied from the Player's Handbook. For spells whose casting time is one action, you may omit the casting time. |
|
| range | Range | The range of the spell. You may omit this field if the spell has a range of 'self'. |
|
| has_verbal_component | bool | Indicated by a 'V' in the Player's Handbook. You may omit this field if false. |
|
| has_somatic_component | bool | Indicated by an 'S' in the Player's Handbook. You may omit this field if false. |
|
| material_component | MaterialComponent | repeated | The material components involved in casting the spell. These are included in a parenthetical following the 'M' in the Player's Handbook. Include one entry per component, and include all the flowery detail as in the Player's Handbook, e.g. "one copper piece placed on each of the corpse's eyes, which must remain there for the duration". HOWEVER, when the Player's Handbook indicates a cost for the components, exclude that cost from the description, and instead include it in the 'cost' field (in units of gp, as you would expect). Set the 'consumed' field only if the spell is consumed. The 'required' field is a little trickier. Set it only if the component is NOT consumed, but playes an essential physical role in the casting of the spell. Search for 'required' in spells.textpb to see existing examples of this. |
| material_component_text | string | This is used rarely - only if the material component text in the book can't be neatly decomposed into a comma-separated list of components. Search for "material_component_text" in spells.textpb to see the existing examples. |
|
| duration | Duration | How long the spell lasts for. You may omit this field if the spell has a duration of 'instantaneous'. |
|
| attack_roll | bool | Whether the spell involves making a spell attack. You may omit this field if false. |
| Field | Type | Label | Description |
| spell | Spell | repeated |
|
| Field | Type | Label | Description |
| spell_name | string |
|
|
| inscribed_by_owner | bool | Whether or not the spell was inscribed on the object by its current owner. Only spells where this is true can be prepared by a Wizard, or cast as a ritual. |
| Field | Type | Label | Description |
| type | SpellsKnown.Type |
|
|
| spell_list | string | Should be populated, regardless of the source type. |
|
| number | int32 |
|
|
| specific_spell | string | repeated |
|
| level_constraint | SpellsKnown.LevelConstraint |
|
|
| correlation_key | string | This spell may be cast using a consumable resource specifying the same correlation key. Note that all non-cantrip spells acquired by means other than a class MUST have correlation key set. |
|
| requires_attack_roll | bool | This feature may only be used to learn a spell that requires an attack roll. |
|
| requires_ritual | bool | This feature may only be used to learn rituals. |
| Field | Type | Label | Description |
| type | SpellsKnown.LevelConstraint.Type |
|
|
| specific_level | int32 |
|
| Field | Type | Label | Description |
| type | SpellsPrepared.Type |
|
|
| quantity | SpellsPrepared.Quantity | Not used for source: SPECIFIC |
|
| spell_list | string |
|
|
| ability | string | Not used for source: SPECIFIC |
|
| specific_spell | string | repeated | Only used for source: SPECIFIC |
| Field | Type | Label | Description |
| headings | Table.Row |
|
|
| row | Table.Row | repeated |
|
| Field | Type | Label | Description |
| entry | string | repeated |
|
| Field | Type | Label | Description |
| name | string |
|
|
| category | string |
|
|
| ability | string |
|
|
| hidden | bool | Hidden talents can't be selected normally, but must be granted as a feature, e.g. Druidic or Thieves' Cant |
| Field | Type | Label | Description |
| talent | Talent | repeated |
|
| Field | Type | Label | Description |
| constraint | TalentProficiencyOptionConstraint |
|
|
| proficiency_level | ProficiencyLevel |
|
|
| number | int32 |
|
|
| default_selection | string | repeated |
|
| Field | Type | Label | Description |
| type | TalentProficiencyOptionConstraint.Type |
|
|
| category | string | repeated |
|
| specific_talent | string | repeated |
|
| Field | Type | Label | Description |
| magic_weapon | bool |
|
|
| attack_bonus | int32 |
|
|
| damage_die_value | int32 |
|
|
| damage_die_quantity | int32 |
|
| Field | Type | Label | Description |
| ability | string |
|
|
| shields_allowed | bool |
|
| Field | Type | Label | Description |
| category | WeaponCategory | repeated | The chosen weapon must fall into one of the specified categories. If no categories are present, any weapon category is allowed. |
| range_class | WeaponRangeClass | repeated | The chosen weapon must fall into one of the specified range classes. If no range classes are present, any range class is allowed. |
TODO: Allow custom WeaponInfo for magic weapons?
| Field | Type | Label | Description |
| category | WeaponCategory |
|
|
| range_class | WeaponRangeClass |
|
|
| damage | string | TODO: Consider making this a separate class instead of a string |
|
| damage_type | DamageType |
|
|
| ammunition | bool |
|
|
| finesse | bool |
|
|
| heavy | bool |
|
|
| light | bool |
|
|
| loading | bool |
|
|
| reach | bool |
|
|
| special | bool |
|
|
| thrown | bool |
|
|
| two_handed | bool |
|
|
| versatile | bool |
|
|
| standard_range | int32 |
|
|
| long_range | int32 |
|
|
| versatile_damage | string |
|
|
| special_description | string |
|
| Field | Type | Label | Description |
| type | WeaponProficiency.Type |
|
|
| specific_weapon | string | repeated |
|
| category | WeaponCategory | repeated |
|
| number | int32 | TODO: Change 'number' to 'quantity' everywhere. Only used for type ANY |
| Name | Number | Description |
| ABILITY | 0 | |
| SKILL | 2 |
TODO: Remove EXCLUSION and just allow either type to have an exclusion key.
| Name | Number | Description |
| SPECIFIC | 0 | Bonus must be one of the specified ability scores. |
| EXCLUSION | 1 | Bonus cannot be for the same ability as another bonus with the specified correlation_key. |
| ANY | 2 |
| Name | Number | Description |
| LAWFUL_GOOD | 0 | |
| NEUTRAL_GOOD | 1 | |
| CHAOTIC_GOOD | 2 | |
| LAWFUL_NEUTRAL | 3 | |
| NEUTRAL | 4 | |
| CHAOTIC_NEUTRAL | 5 | |
| LAWFUL_EVIL | 6 | |
| NEUTRAL_EVIL | 7 | |
| CHAOTIC_EVIL | 8 |
| Name | Number | Description |
| ARMOR_CATEGORY_NONE | 0 | |
| ARMOR_CATEGORY_LIGHT | 1 | |
| ARMOR_CATEGORY_MEDIUM | 2 | |
| ARMOR_CATEGORY_HEAVY | 3 |
| Name | Number | Description |
| ACTION | 0 | |
| BONUS_ACTION | 1 | |
| REACTION | 2 | |
| MINUTE | 3 | |
| HOUR | 4 |
| Name | Number | Description |
| BLINDED | 0 | |
| CHARMED | 1 | |
| DEAFENED | 2 | |
| FRIGHTENED | 3 | |
| GRAPPLED | 4 | |
| INCAPACITATED | 5 | |
| INVISIBLE | 6 | |
| PARALYZED | 7 | |
| PETRIFIED | 8 | |
| POISONED | 9 | |
| PRONE | 10 | |
| RESTRAINED | 11 | |
| STUNNED | 12 | |
| UNCONSCIOUS | 13 |
| Name | Number | Description |
| SPECIFIC | 0 | |
| ITEM_TYPE | 1 |
| Name | Number | Description |
| ALL | 0 | |
| DAMAGE_TYPE | 1 |
| Name | Number | Description |
| ACID | 0 | |
| BLUDGEONING | 1 | |
| COLD | 2 | |
| FIRE | 3 | |
| FORCE | 4 | |
| LIGHTNING | 5 | |
| NECROTIC | 6 | |
| PIERCING | 7 | |
| POISON | 8 | |
| PSYCHIC | 9 | |
| RADIANT | 10 | |
| SLASHING | 11 | |
| THUNDER | 12 |
| Name | Number | Description |
| INSTANTANEOUS | 0 | |
| ROUND | 1 | |
| MINUTE | 2 | |
| HOUR | 3 | |
| DAY | 4 | |
| YEAR | 5 | |
| UNTIL_DISPELLED | 6 | |
| UNTIL_DISPELLED_OR_TRIGGERED | 7 |
| Name | Number | Description |
| SPECIFIC | 0 | |
| WEAPON | 1 | |
| ITEM_TYPE | 2 |
| Name | Number | Description |
| DESCRIPTIVE | 0 | The equipment came from a source specified by the player. |
| FEATURE | 1 | The equipment came from an EQUIPMENT feature, such as starting equipment from class or background, or from the Ritual Caster feat. |
| Name | Number | Description |
| ABILITY_SCORE_MINIMUM | 0 | The character must have at least one of ability_scores greater than or equal to 13. |
| ARMOR_PROFICIENCY | 1 | The character must have proficiency in the category of armor denoted by armor_category. |
| SPELLCASTING | 2 | The character must have the ability to cast at least one spell. |
| Name | Number | Description |
| ANY | 0 | |
| FIRST_CLASS | 1 | |
| MULTICLASS | 2 |
Note that each of these types must be present in FEATURE_SOURCE_TYPES and the ConstraintMap.
| Name | Number | Description |
| OTHER | 0 | The character gets some other feature which is not encoded, but merely expressed in text. |
| BRANCHING_FEATURE | 1 | Allow the character to select a BranchingFeatureOption, such as a Fighting Style or a Martial Archetype |
| TALENT_PROFICIENCY | 2 | Proficiency with skills, tools or languages, such as from class, race, or background features. |
| SAVING_THROW_PROFICIENCY | 3 | Proficiency with specific saving throws, such as from class features or the Resilient feat. |
| WEAPON_PROFICIENCY | 4 | Proficiency with certain types of weapons, such as from class or race features. |
| ARMOR_PROFICIENCY | 5 | Proficiency with a certain type of armor, such as from class or race features. |
| SHIELD_PROFICIENCY | 6 | Proficiency with shields. |
| ABILITY_SCORE_INCREASE | 7 | An ability score increase, such as from racial traits. |
| FEAT | 8 | A feat, such as when variant human is selected. |
| ABILITY_SCORE_INCREASE_OR_FEAT | 9 | An ability score increase or feat, such as when a character reaches level 4. |
| SPELLCASTING_PROGRESSION | 10 | Progression of spell slots, granted by spellcasting classes or class archetypes. |
| SPELLS_KNOWN | 11 | Spells known, such as for Bard or Warlock, as well as cantrips for all spellcasting classes. |
| SPELLBOOK | 12 | Spellbook feature for wizards / ritual casters. This feature MUST be accompanied by a totally constrained EQUIPMENT feature that grants them a 'spellbook'. TODO: Rename to SPELLBOOK_SPELLS, add "SPELLBOOK" feature type for the ability to add spells you find on your adventure. |
| SPELLS_PREPARED | 13 | Spells that can be prepared, such as for Clerics and Druids. |
| EXPANDED_SPELL_LIST | 14 | Expansions to the class's spell list, as for Warlocks. |
| EQUIPMENT | 15 | Options for choosing starting equipment, e.g. "(a) a martial weapon and a shield or (b) two martial weapons" |
| SPEED | 16 | Walking speed increases |
| RESOURCE | 17 | Consumable resources that regenerate after a short or long rest. |
| HIT_POINTS | 18 | Provides either a fixed number of hit points, or a certain number of hit points per class- or character-level. |
| PASSIVE_SKILL_BONUS | 19 | A bonus to passive checks for a particular skill, such as granted by the Observant feat. |
| INITIATIVE_BONUS | 20 | A bonus to initiative, such as granted by the Alert feat. |
| UNARMORED_DEFENSE | 21 | A bonus to AC while not wearing armor, such as given to Monks and Barbarians. |
| MULTI_FEATURE_OPTION | 22 | Allow the character to select one or more options associated with the feature. Includes the Fighter's Maneuvers, the Monk's Disciplines, the Sorcerer's Wild Magic, and the Warlock's Invocations |
| Name | Number | Description |
| CHARACTER_LEVEL | 0 | |
| CLASS_LEVEL | 1 | Requires that the feature is ultimately sourced from a class. |
| Name | Number | Description |
| STORAGE | 0 | |
| ASSET | 1 |
| Name | Number | Description |
| STORAGE | 0 | |
| ASSET | 1 | |
| URI | 2 |
TODO: Consider an enum like this for talent categories?
| Name | Number | Description |
| GENERAL | 0 | |
| WEAPON | 1 | |
| ARMOR | 2 | |
| AMMUNITION | 3 | |
| ARCANE_FOCUS | 4 | |
| DRUIDIC_FOCUS | 5 | |
| HOLY_SYMBOL | 6 | |
| EQUIPMENT_PACK | 7 | |
| CONTAINER | 8 | |
| ARTISANS_TOOLS | 9 | |
| MISCELLANEOUS_TOOLS | 10 | |
| GAMING_SET | 11 | |
| MUSICAL_INSTRUMENT | 12 | |
| ANIMAL | 13 | |
| LAND_VEHICLE | 14 | |
| WATER_VEHICLE | 15 | |
| AIR_VEHICLE | 16 | |
| FOOD_AND_DRINK | 17 | |
| TRINKET | 18 | |
| MONEY | 19 |
TODO: Dictate in the Rules which ItemEnchantment Types can be applied to which Item Types.
TODO: Dictate rarity of each ItemEnchantment Type (except OTHER) in the Rules.
| Name | Number | Description |
| OTHER | 0 | Used for effects that are not handled by the Character Sheet app itself, but are instead merely described textually. It is up to the player and the DM to implement the effect. Example magic items include "Amulet of Proof against Detection and Location". |
| ATTACK_AND_DAMAGE_BONUS | 1 | For weapons and ammunition, grants the attack and damage bonus only when the attack uses that weapon or ammunition. For all other items, all weapons and ammunition are affected. TODO: May need other restrictions. E.g. a magic gauntlet might only apply bonuses only to attacks with that hand |
| DAMAGE_BONUS | 2 | |
| AC_BONUS | 3 | |
| SAVING_THROW_BONUS | 4 | |
| ADAMANTINE | 5 | For armor, turns critical hits into normal hits. For weapons, deals automatic critical hits to objects, and bypasses resistance and immunity to nonmagical weapons when specified in the monster's stat block. |
| MINIMUM_ABILITY_SCORE | 6 | Increases the specified ability score to the specified minimum. Has no effect if the character's specified ability score is already greater than or equal to the specified minimum. |
| DAMAGE_RESISTANCE | 7 | |
| DAMAGE_IMMUNITY | 8 | |
| SLAYING | 9 | |
| ABILITY_SCORE_INCREASE | 10 | |
| MAX_ABILITY_SCORE_INCREASE | 27 | E.g. Manual of Bodily Health, Hammer of Thunderbolts |
| ABILITY_CHECK_ADVANTAGE | 11 | |
| SAVING_THROW_ADVANTAGE | 12 | |
| DARKVISION | 13 | |
| TALENT_PROFICIENCY | 14 | |
| HIT_POINTS | 15 | |
| SPELL_AT_WILL | 16 | TODO: Merge into "EFFECT"? |
| EFFECT | 17 | |
| JUMP_MULTIPLIER | 18 | |
| IGNORE_ENCUMBRANCE_SPEED_PENALTY | 20 | |
| IGNORE_ARMOR_SPEED_PENALTY | 21 | |
| WALKING_SPEED | 28 | |
| MINIMUM_WALKING_SPEED | 19 | |
| CLIMBING_SPEED | 22 | |
| SWIMMING_SPEED | 23 | |
| FLYING_SPEED | 24 | |
| IGNORE_DIFFICULT_TERRAIN | 33 | |
| UNARMED_STRIKE_ENHANCEMENT | 25 | |
| IGNORE_PROFICIENCY_RESTRICTIONS | 26 | |
| IGNORE_STRENGTH_RESTRICTIONS | 30 | E.g. Mithral Armor |
| PROFICIENCY_BONUS_INCREASE | 29 | |
| DISEASE_IMMUNITY | 31 | |
| CONDITION_IMMUNITY | 32 | |
| SPELL_ATTACK_BONUS | 34 | |
| SPELL_SAVE_DC_BONUS | 35 |
| Name | Number | Description |
| NAME | 0 | The item has a name, as a book or a legendary weapon might. |
| SPELL | 1 | The item has a spell inscribed on or in it. |
| CONTAINER | 2 | The item is a container with other items inside. |
| EFFECT | 3 | The item is the subject of a permanent or temporary magical or mundane effect. |
| DESCRIPTIVE | 4 | The item has a descriptive property with no specific rules associated with it. |
TODO: Handle Cloak of Invisibility style of recovery
| Name | Number | Description |
| ALL | 0 | |
| DIE | 1 | |
| NONE | 2 |
| Name | Number | Description |
| EQUAL_TO_WALKING_SPEED | 0 | |
| SPECIFIC | 1 |
| Name | Number | Description |
| NEVER | 0 | |
| ON_SELECTION | 1 | |
| EVERY_LEVEL | 2 |
| Name | Number | Description |
| NORMAL | 0 | |
| HALF_ROUND_DOWN | 1 | |
| HALF_ROUND_UP | 2 | |
| DOUBLE | 3 | |
| NONE | 4 |
| Name | Number | Description |
| SELF | 0 | |
| TOUCH | 1 | |
| FOOT | 2 | |
| MILE | 3 | |
| SIGHT | 4 | |
| UNLIMITED | 5 | |
| SPECIAL | 6 |
| Name | Number | Description |
| SPECIFIC | 0 | |
| UNLIMITED | 1 |
| Name | Number | Description |
| TOTAL_LEVEL_PROGRESSION | 0 | level_progression.start_level refers to the character's total level |
| CLASS_LEVEL_PROGRESSION | 1 | level_progression.segment.start_level refers to the character's level in the source class Requires that the feature is ultimately sourced from a class. |
| ABILITY_SCORE | 2 | The resource can be used a number of times equal to the ability score modifier specified by 'ability' + 'extra_uses' |
| CLASS_LEVEL_EXACT | 3 | The resource can be used a number of times equal to the character's level in the source class Requires that the feature is ultimately sourced from a class. |
| Name | Number | Description |
| SHORT_REST | 0 | |
| LONG_REST | 1 |
| Name | Number | Description |
| ALL | 0 | |
| ABILITY | 1 |
| Name | Number | Description |
| ALL | 0 | |
| ANY | 1 | |
| SPECIFIC_ABILITY | 2 | |
| CORRELATION | 3 | The proficiency must be for the same ability as an AbilityScoreBonus with the specified correlation_key. |
| Name | Number | Description |
| ABJURATION | 0 | |
| CONJURATION | 1 | |
| DIVINATION | 2 | |
| ENCHANTMENT | 3 | |
| EVOCATION | 4 | |
| ILLUSION | 5 | |
| NECROMANCY | 6 | |
| TRANSMUTATION | 7 |
| Name | Number | Description |
| UNIVERSAL | 0 | |
| RACE | 1 | |
| CLASS | 2 | |
| BACKGROUND | 3 | |
| BRANCHING_FEATURE | 4 | |
| MULTI_FEATURE | 5 | |
| FEAT | 6 |
| Name | Number | Description |
| SPELLCASTING_PROGRESSION_NONE | 0 | |
| SPELLCASTING_PROGRESSION_FULL | 1 | |
| SPELLCASTING_PROGRESSION_HALF | 2 | |
| SPELLCASTING_PROGRESSION_ONE_THIRD | 3 | |
| SPELLCASTING_PROGRESSION_PACT_MAGIC | 4 |
| Name | Number | Description |
| SPELL_SLOTS | 0 | Levels for which the character would have spell slots based only on their levels in the class from which this feature is sourced. E.g. Bard or Sorcerer spells known |
| SPELL_SLOTS_AND_CANTRIPS | 1 | Like SPELL_SLOTS, but cantrips are also allowed. E.g. Bard's 'Magical Secrets' |
| SPECIFIC_LEVEL | 2 | Only the specified level is allowed. |
| Name | Number | Description |
| SPELL_LIST | 0 | 'number' of spells from 'spell_list' may be selected. |
| SPECIFIC | 1 | The specified spells are known. The character may cast them as if they belonged to 'spell_list' |
| ANY | 2 | 'number' spells from any spell list may be selected. The character may cast them as if they belonged to 'spell_list' (e.g. Bard's Magical Secrets feature). |
| Name | Number | Description |
| LEVEL_PLUS_MODIFIER | 0 | |
| HALF_LEVEL_PLUS_MODIFIER | 1 |
| Name | Number | Description |
| SPELL_LIST | 0 | The character may prepare a number of spells defined by 'quantity' using the ability score modifier for 'ability'. The spells must come from 'spell_list' |
| SPELLBOOK | 1 | The character may prepare a number of spells defined by 'quantity' using the ability score modifier for 'ability'. The spells must come from the character's spellbook. The character may cast these spells as if they belonged to 'spell_list' |
| SPECIFIC | 2 | The specified spells are always prepared. The character may cast them as if they belonged to 'spell_list' TODO: Consider using SPELLS_KNOWN for this. Because that's literally what it is. |
| Name | Number | Description |
| ANY | 0 | |
| CATEGORY | 1 | |
| SPECIFIC_TALENT | 2 |
| Name | Number | Description |
| ENTITY | 0 | |
| OUNCE | 1 | |
| PINT | 2 | |
| QUART | 3 | |
| GALLON | 4 | |
| VIAL | 5 | |
| FLASK | 6 | |
| BOTTLE | 7 | |
| BARREL | 8 |
| Name | Number | Description |
| WEAPON_CATEGORY_SIMPLE | 0 | |
| WEAPON_CATEGORY_MARTIAL | 1 | |
| WEAPON_CATEGORY_IMPROVISED | 2 | |
| WEAPON_CATEGORY_UNARMED | 3 |
| Name | Number | Description |
| SPECIFIC | 0 | |
| CATEGORY | 1 | |
| ANY | 2 |
| Name | Number | Description |
| WEAPON_RANGE_MELEE | 0 | |
| WEAPON_RANGE_RANGED | 1 |
| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
| double | double | double | float | float64 | double | float | Float | |
| float | float | float | float | float32 | float | float | Float | |
| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| bool | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | |
| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |