mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-13 16:13:32 +02:00
Fixed tests: needed defaults for making character sheets for NPCs (e.g. GM notes).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user