mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-06 21:01:26 +02:00
Added detailed spellbook for spellcasters
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
\documentclass[twocolumn,lettersize]{article}
|
||||
|
||||
%% \usepackage{fullpage}
|
||||
\usepackage[margin=1.5cm]{geometry}
|
||||
\usepackage[dvipsnames]{color}
|
||||
\definecolor{mygrey}{gray}{0.7}
|
||||
|
||||
\title{Spells and Incantations}
|
||||
|
||||
\author{[[ character.name ]]}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
[% for spl in character.spells %]
|
||||
[% if spl.__class__ in character.spells_prepared %]
|
||||
{
|
||||
[% elif spl.level == 0 %]
|
||||
{
|
||||
[% else %]
|
||||
{\color{mygrey}
|
||||
[% endif %]
|
||||
|
||||
\section*{[[ spl.name ]]}
|
||||
|
||||
[% if spl.level > 0 %] %
|
||||
\textit{[[ spl.magic_school ]] Level [[ spl.level ]]} %
|
||||
[% else %] %
|
||||
\textit{[[ spl.magic_school ]] Cantrip} %
|
||||
[% endif %] %
|
||||
[% if spl.ritual %] %
|
||||
\textit{(ritual)}
|
||||
[% endif %]
|
||||
|
||||
\noindent
|
||||
\textbf{Casting Time:} [[ spl.casting_time ]] \\
|
||||
\textbf{Range:} [[ spl.casting_range ]] \\
|
||||
\textbf{Components:} [[ spl.component_string() ]] \\
|
||||
\textbf{Duration:} [[ spl.duration ]]
|
||||
|
||||
[[ spl.__doc__ ]]
|
||||
|
||||
} %\color
|
||||
[% endfor %]
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user