mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-29 09:08:27 +02:00
70 lines
2.0 KiB
TeX
70 lines
2.0 KiB
TeX
[% if summary %]
|
|
\pdfbookmark[1]{Summary}{Summary}
|
|
\section*{Summary}
|
|
|
|
[[ summary | rst_to_latex ]]
|
|
|
|
[% endif %]
|
|
|
|
[% if party %]
|
|
\pdfbookmark[1]{Party}{Party}
|
|
\section*{Party}
|
|
|
|
[% if use_dnd_decorations %]
|
|
\begin{DndTable}{r c c c c c c c}
|
|
& Str & Dex & Con & Int & Wis & Cha \\
|
|
[% for member in party %]
|
|
[[ member.name[:18] ]]
|
|
& [[ member.strength.modifier | mod_str ]]
|
|
& [[ member.dexterity.modifier | mod_str ]]
|
|
& [[ member.constitution.modifier | mod_str ]]
|
|
& [[ member.intelligence.modifier | mod_str ]]
|
|
& [[ member.wisdom.modifier | mod_str ]]
|
|
& [[ member.charisma.modifier | mod_str ]]
|
|
\\
|
|
[% endfor %]
|
|
\end{DndTable}
|
|
\begin{DndTable}{r c c c}
|
|
& AC & Pas.\ Per. & Spl.\ DC \\
|
|
[% for member in party %]
|
|
[[ member.name[:28] ]]
|
|
& [[ member.armor_class ]]
|
|
& [[ member.perception.modifier + 10 ]]
|
|
& [% for class in member.class_list %]
|
|
[% if class.spellcasting_ability %] [[ member.spell_save_dc(class) ]], [% endif %]
|
|
[% endfor %]
|
|
\\
|
|
[% endfor %]
|
|
\end{DndTable}
|
|
[% else %]
|
|
\begin{tabular}{r | c c c c c c}
|
|
& Str & Dex & Con & Int & Wis & Cha \\
|
|
\hline\hline
|
|
[% for member in party %]
|
|
[[ member.name[:10] ]]
|
|
& [[ member.strength.modifier | mod_str ]]
|
|
& [[ member.dexterity.modifier | mod_str ]]
|
|
& [[ member.constitution.modifier | mod_str ]]
|
|
& [[ member.intelligence.modifier | mod_str ]]
|
|
& [[ member.wisdom.modifier | mod_str ]]
|
|
& [[ member.charisma.modifier | mod_str ]]
|
|
\\
|
|
[% endfor %]
|
|
\end{tabular}
|
|
\begin{tabular}{r | c c c}
|
|
& AC & Pas.\ Per. & Spl.\ DC \\
|
|
\hline\hline
|
|
[% for member in party %]
|
|
[[ member.name[:28] ]]
|
|
& [[ member.armor_class ]]
|
|
& [[ member.perception.modifier + 10 ]]
|
|
& [% for class in member.class_list %]
|
|
[% if class.spellcasting_ability %] [[ member.spell_save_dc(class) ]], [% endif %]
|
|
[% endfor %]
|
|
\\
|
|
[% endfor %]
|
|
\end{tabular}
|
|
[% endif %]
|
|
|
|
[% endif %]
|