Module: DdbRuby::FifthEdition::Types

Defined in:
lib/ddb_ruby/fifth_edition/structs.rb

Constant Summary collapse

Integer =
Coercible::Integer
Bool =
Types::Params::Bool
Hash =
Coercible::Hash
String =
Coercible::String
Double =
Coercible::Float | Coercible::Integer
SaveSuccessDescription =
Coercible::String.enum("", "half damage")
Username =
Coercible::String.enum("afstanton", "trillianh85")
DurationUnit =
Coercible::String.enum("Day", "Hour", "Minute", "Round", "Special", "UntilDispelled")
DurationType =
Coercible::String.enum("Concentration", "Instantaneous", "Special", "Time", "Until Dispelled", "Until Dispelled or Triggered")
BackgroundType =
Coercible::String.enum("advantage", "bonus", "carrying-capacity", "damage", "disadvantage", "eldritch-blast", "expertise", "ignore", "immunity", "language", "natural-weapon", "proficiency", "protection", "resistance", "sense", "set", "set-base", "size", "stealth-disadvantage", "vulnerability", "weapon-property")
BackgroundFriendlyTypeName =
Coercible::String.enum("Advantage", "Bonus", "Carrying Capacity", "Damage", "Disadvantage", "Eldritch Blast", "Expertise", "Ignore", "Immunity", "Language", "Natural Weapon", "Proficiency", "Protection", "Resistance", "Sense", "Set", "Set Base", "Size", "Stealth Disadvantage", "Vulnerability", "Weapon Property")
AoeType =
Coercible::String.enum("Cone", "Cube", "Cylinder", "Line", "Sphere", "Square", "Square Feet")
Origin =
Coercible::String.enum("Ranged", "Self", "Sight", "Touch", "Unlimited")
ScaleType =
Coercible::String.enum("characterlevel", "spelllevel", "spellscale")
School =
Coercible::String.enum("Abjuration", "Conjuration", "Divination", "Enchantment", "Evocation", "Illusion", "Necromancy", "Transmutation")
Tag =
Coercible::String.enum("Banishment", "Buff", "Charmed", "Combat", "Communication", "Compulsion", "Control", "Creation", "Damage", "Debuff", "Deception", "Detection", "Environment", "Exploration", "Foreknowledge", "Healing", "Movement", "Negation", "Scrying", "Shapechanging", "Social", "Summoning", "Teleportation", "Utility", "Warding")
EntityType =
Coercible::String.enum("class-feature", "racial-trait")
PrerequisiteMappingFriendlyTypeName =
Coercible::String.enum("Ability Score", "Custom Value", "Proficiency", "Race", "Size")
PrerequisiteMappingType =
Coercible::String.enum("ability-score", "custom-value", "proficiency", "race", "size")
DamageType =
Coercible::String.enum("Bludgeoning", "Piercing", "Slashing")
FilterType =
Coercible::String.enum("Armor", "Other Gear", "Potion", "Ring", "Rod", "Staff", "Wand", "Weapon", "Wondrous item")
Rarity =
Coercible::String.enum("Artifact", "Common", "Legendary", "Rare", "Uncommon", "Very Rare")
SubType =
Coercible::String.enum("Adventuring Gear", "Ammunition", "Arcane Focus", "Holy Symbol", "Potion", "Tool")
ProvidedFrom =
Coercible::String.enum("database", "storage")
AdditionalDescription =
Coercible::String.enum("Doesn't require any components", "")
StatusSlug =
Coercible::String.enum("active")