mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-07 13:15:53 +02:00
Allow importing of homebrew material stored in a separate module.
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user