-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
583f363
commit 3ad280d
Showing
2 changed files
with
140 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
|
||
# Standard set of dice used in 5e. | ||
DIE_TYPES = [ | ||
("D4", "d4"), | ||
("D6", "d6"), | ||
("D8", "d8"), | ||
("D10", "d10"), | ||
("D12", "d12"), | ||
("D20", "d20"), | ||
] | ||
|
||
# Enumerating sizes, so they are sortable. | ||
SIZE_CHOICES = [ | ||
(1, "Tiny"), | ||
(2, "Small"), | ||
(3, "Medium"), | ||
(4, "Large"), | ||
(5, "Huge"), | ||
(6, "Gargantuan")] | ||
|
||
# Setting a reasonable maximum for AC. | ||
ARMOR_CLASS_MAXIMUM = 100 | ||
|
||
# Setting a reasonable maximum for HP. | ||
HIT_POINT_MAXIMUM = 10000 | ||
|
||
# Types of monsters, and their name spelling. | ||
MONSTER_TYPES = [ | ||
("ABERRATION", "Aberration"), | ||
("BEAST", "Beast"), | ||
("CELESTIAL", "Celestial"), | ||
("CONSTRUCT", "Construct"), | ||
("DRAGON", "Dragon"), | ||
("ELEMENTAL", "Elemental"), | ||
("FEY", "Fey"), | ||
("FIEND", "Fiend"), | ||
("GIANT", "Giant"), | ||
("HUMANOID", "Humanoid"), | ||
("MONSTROSITY", "Monstrosity"), | ||
("OOZE", "Ooze"), | ||
("PLANT", "Plant"), | ||
("UNDEAD", "Undead"), | ||
] | ||
|
||
# Type of creature attacks. | ||
ATTACK_TYPES = [ | ||
("SPELL", "Spell"), | ||
("WEAPON", "Weapon"), | ||
] | ||
|
||
DAMAGE_TYPES = [ | ||
("ACID", "Acid"), | ||
("BLUDGEONING", "Bludgeoning"), | ||
("COLD", "Cold"), | ||
("FIRE", "Fire"), | ||
("FORCE", "Force"), | ||
("LIGHTNING", "Lightning"), | ||
("NECROTIC", "Necrotic"), | ||
("PIERCING", "Piercing"), | ||
("POISON", "Poison"), | ||
("PSYCHIC", "Psychic"), | ||
("RADIANT", "Radiant"), | ||
("SLASHING", "Slashing"), | ||
("THUNDER", "Thunder"), | ||
] | ||
|
||
# Monster action uses description. | ||
USES_TYPES = [ | ||
("PER_DAY", "X/Day"), | ||
("RECHARGE_ON_ROLL", "Recharge X-6"), | ||
("RECHARGE_AFTER_REST", "Recharge after a Short or Long rest"), | ||
] | ||
|
||
# Item Rarity | ||
RARITY_CHOICES = [ | ||
(1, 'common'), | ||
(2, 'uncommon'), | ||
(3, 'rare'), | ||
(4, 'very rare'), | ||
(5, 'legendary'), | ||
(6, 'artifact') | ||
] | ||
|
||
TARGET_TYPE_CHOICES = [ | ||
('creature',"Creature"), | ||
('object',"Object"), | ||
('point',"Point"), | ||
('area',"Area") | ||
] | ||
|
||
TARGET_RANGE_CHOICES = [ | ||
('self',"Self"), | ||
('touch',"Touch"), | ||
('special',"special"), | ||
('10',"10 feet"), | ||
('25',"25 feet"), | ||
('30',"30 feet"), | ||
('60',"60 feet"), | ||
('90',"90 feet"), | ||
('100',"100 feet"), | ||
('120',"120 feet"), | ||
('150',"150 feet"), | ||
('180',"180 feet"), | ||
('300',"300 feet"), | ||
('500',"500 feet"), | ||
('1mile',"1 mile"), | ||
('100miles',"100 miles"), | ||
('sight',"Sight"), | ||
] | ||
|
||
EFFECT_SHAPE_CHOICES = [ | ||
('cone',"Cone"), | ||
('cube',"Cube"), | ||
('cylinder',"Cylinder"), | ||
('line',"Line"), | ||
('sphere',"sphere"), | ||
] | ||
|
||
CASTING_TIME_CHOICES = [ | ||
('reaction',"Reaction"), | ||
('bonus-action',"Bonus Action"), | ||
('action',"Action"), | ||
('1minute',"1 Minute"), | ||
('5minutes',"5 Minutes"), | ||
('10minutes',"10 Minutes"), | ||
('1hour',"1 Hour"), | ||
('8hours',"8 Hours"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters