mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-07 13:15:53 +02:00
first pass at druid shapes to monster blocks
This commit is contained in:
@@ -1,14 +1,44 @@
|
|||||||
\twocolumn[
|
\newpage
|
||||||
\begin{@twocolumnfalse}
|
|
||||||
% \maketitle
|
|
||||||
\section*{Known Beasts}
|
\section*{Known Beasts}
|
||||||
[% for shape in character.all_wild_shapes|sort(attribute="name") %]%
|
|
||||||
[[ shape.name ]][% if not loop.last %], [% endif %]%
|
[% if use_dnd_decorations %]
|
||||||
[% endfor %]%
|
[% for shape in character.all_wild_shapes|sort(attribute='challenge_rating') %]
|
||||||
\vspace{3ex}
|
\begin{DndMonster}{[[ shape.name ]]}
|
||||||
\end{@twocolumnfalse}
|
\DndMonsterType{[[ shape.description ]]}
|
||||||
|
|
||||||
|
% If you want to use commas in the key values, enclose the values in braces.
|
||||||
|
\DndMonsterBasics[
|
||||||
|
armor-class = {[[ shape.armor_class ]]},
|
||||||
|
hit-points = {[[ shape.hp_max ]] ([[ shape.hit_dice ]])},
|
||||||
|
speed = {[[ shape.speed ]] ft.[% if shape.swim_speed %], [[ shape.swim_speed ]]ft. swim[% endif %][% if shape.fly_speed %], [[ shape.fly_speed ]] ft. fly[% endif %]},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
\DndMonsterAbilityScores[
|
||||||
|
str = [[ shape.strength.value ]],
|
||||||
|
dex = [[ shape.dexterity.value ]],
|
||||||
|
con = [[ shape.constitution.value ]],
|
||||||
|
int = [[ character.intelligence.value ]],
|
||||||
|
wis = [[ character.wisdom.value ]],
|
||||||
|
cha = [[ character.charisma.value ]],
|
||||||
|
]
|
||||||
|
|
||||||
|
\DndMonsterDetails[
|
||||||
|
%saving-throws = {Str +0, Dex +0, Con +0, Int +0, Wis +0, Cha +0},
|
||||||
|
%skills = {Acrobatics +0, Animal Handling +0, Arcana +0, Athletics +0, Deception +0, History +0, Insight +0, Intimidation +0, Investigation +0, Medicine +0, Nature +0, Perception +0, Performance +0, Persuasion +0, Religion +0, Sleight of Hand +0, Stealth +0, Survival +0},
|
||||||
|
%damage-vulnerabilities = {cold},
|
||||||
|
%damage-resistances = {bludgeoning, piercing, and slashing from nonmagical attacks},
|
||||||
|
%damage-immunities = {poison},
|
||||||
|
%condition-immunities = {poisoned},
|
||||||
|
senses = {[[ shape.senses ]]},
|
||||||
|
languages = {[[ shape.languages ]]},
|
||||||
|
%challenge = 1,
|
||||||
|
]
|
||||||
|
%\DndMonsterSection{Actions}
|
||||||
|
[[ shape.__doc__ | rst_to_latex(top_heading_level=2) ]]
|
||||||
|
\end{DndMonster}
|
||||||
|
[% endfor %]
|
||||||
|
|
||||||
|
[% else %]
|
||||||
[% for shape in character.all_wild_shapes|sort(attribute='challenge_rating') %]
|
[% for shape in character.all_wild_shapes|sort(attribute='challenge_rating') %]
|
||||||
[% if not character.can_assume_shape(shape) %]
|
[% if not character.can_assume_shape(shape) %]
|
||||||
{\color{mygrey}
|
{\color{mygrey}
|
||||||
@@ -62,3 +92,4 @@
|
|||||||
|
|
||||||
} %\color
|
} %\color
|
||||||
[% endfor %]
|
[% endfor %]
|
||||||
|
[% endif %]
|
||||||
@@ -220,8 +220,6 @@ def make_sheet(
|
|||||||
if character.is_spellcaster:
|
if character.is_spellcaster:
|
||||||
tex.append(create_spellbook_tex(character, use_dnd_decorations=fancy_decorations))
|
tex.append(create_spellbook_tex(character, use_dnd_decorations=fancy_decorations))
|
||||||
|
|
||||||
if len(character.spells) > 0:
|
|
||||||
tex.append(create_spellbook_tex(character, use_dnd_decorations=fancy_decorations))
|
|
||||||
# Create a list of Artificer infusions
|
# Create a list of Artificer infusions
|
||||||
infusions = getattr(character, "infusions", [])
|
infusions = getattr(character, "infusions", [])
|
||||||
if len(infusions) > 0:
|
if len(infusions) > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user