API Reference srd_5e v#0.2.0

Copy Markdown View Source

Modules

Srd

Tabletop RPG rules resolution modeled on the SRD 5.2.

An SRD armor.

SRD armor, looked up by slug.

An SRD condition.

SRD conditions, looked up by slug.

An SRD weapon.

SRD weapons, looked up by slug.

Dice rolling for SRD 5.2 resolution.

A parsed, unrolled dice expression. A dice expression can be built manually or can be parsed from human-readable dice notation like d20, 2d4+1, etc.

An immutable representation of a completed roll.

The SRD's standard rolls, named by intent.

Attack rules

Ability check rules

Basic support for the d20 test

Damage resolution.

Death saving throw rules.

Hit point rules.

Initiative ordering.

Saving throw rules