Files
dungeon-sheets/dungeonsheets/forms/party_summary_template.html
T
2022-01-13 15:28:56 -06:00

85 lines
1.8 KiB
HTML

[% if summary %]
<h1 id="gm-summary">Summary</h1>
[[ summary | rst_to_html ]]
[% endif %]
[% if party %]
<h1 id="gm-party">Party</h1>
<table>
<tr>
<th>&nbsp;</th>
<th>Str</th>
<th>Dex</th>
<th>Con</th>
<th>Int</th>
<th>Wis</th>
<th>Cha</th>
</tr>
[% for member in party %]
<tr>
<td>[[ member.name ]]</td>
<td>[[ member.strength.modifier | mod_str ]]</td>
<td>[[ member.dexterity.modifier | mod_str ]]</td>
<td>[[ member.constitution.modifier | mod_str ]]</td>
<td>[[ member.intelligence.modifier | mod_str ]]</td>
<td>[[ member.wisdom.modifier | mod_str ]]</td>
<td>[[ member.charisma.modifier | mod_str ]]</td>
</tr>
[% endfor %]
</table>
<table>
<tr>
<th>&nbsp;</th>
<th>AC</th>
<th>Pass. Per.</th>
<th>Pass. Ins.</th>
<th>Pass. Inv.</th>
<th>Spell DC</th>
</tr>
[% for member in party %]
<tr>
<td>[[ member.name[:28] ]]</td>
<td>[[ member.armor_class ]]</td>
<td class="passive-perception">[[ member.passive_perception ]]</td>
<td class="passive-insight">[[ member.passive_insight ]]</td>
<td class="passive-investigation">[[ member.passive_investigation ]]</td>
<td>[% for class in member.class_list %]
[% if class.spellcasting_ability %] [[ member.spell_save_dc(class) ]], [% endif %]
[% endfor %]
</td>
</tr>
[% endfor %]
</table>
<!-- XP thresholds for the party -->
<table>
<tr>
<th>&nbsp;</th>
<th>Easy</th>
<th>Medium</th>
<th>Hard</th>
<th>Deadly</th>
</tr>
<tr>
<th>XP Threshold</th>
[% for threshold in party | xp_thresholds %]
<td>[[ "{:,}".format(threshold) ]]</td>
[% endfor %]
</tr>
</table>
<dl>
[% for member in party %]
<dt>[[ member.name ]]</dt>
<dd>[[ member.languages ]]</dd>
[% endfor %]
</dl>
[% endif %]