mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 04:33:26 +02:00
48 lines
975 B
TeX
48 lines
975 B
TeX
\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}
|