Allow importing of homebrew material stored in a separate module.

This commit is contained in:
Mark Wolfman
2021-06-11 09:07:48 -05:00
parent b432e67a35
commit 7d564ac1e1
6 changed files with 54 additions and 3 deletions
+4 -1
View File
@@ -310,7 +310,10 @@ files:
.. code:: python
import my_homebrew
from dungeonsheets import import_homebrew
my_homebrew = import_homebrew("my_campaign.py")
weapons = ["shortsword", my_homebrew.DullSword]