Fixed tests: needed defaults for making character sheets for NPCs (e.g. GM notes).

This commit is contained in:
Mark Wolfman
2022-01-22 14:49:13 -06:00
parent a30dc28100
commit 23b4bd2559
9 changed files with 69 additions and 14 deletions
+2 -1
View File
@@ -3,7 +3,7 @@ import re
from jinja2 import Environment, PackageLoader
from dungeonsheets.stats import mod_str, ability_mod_str, stat_abbreviation
from dungeonsheets.stats import mod_str, ability_mod_str, stat_abbreviation, str_to_list
from dungeonsheets.encounter import xp_thresholds
from dungeonsheets.monsters import challenge_rating_to_xp
@@ -37,4 +37,5 @@ def jinja_environment():
jinja_env.filters["stat_abbreviation"] = stat_abbreviation
jinja_env.filters["challenge_rating_to_xp"] = challenge_rating_to_xp
jinja_env.filters["xp_thresholds"] = xp_thresholds
jinja_env.filters["str_to_list"] = str_to_list
return jinja_env