diff --git a/docs.tex b/docs.tex index c82017aed8ddde740cd9667eb3683991eb4a652b..31d88060a43873cee02c06e57df6fc2f12ddf27c 100644 --- a/docs.tex +++ b/docs.tex @@ -144,13 +144,13 @@ They also compile an optional index (this requires one spell index command). \makeindex[name=spells, title={Spell Summaries},columns=2] - \spell{Quake}% Name {Earth}% Spheres {Wane}% Action {\distant, \duplicated}% Enhancements {Caving}% Skill - {Ground shakes}% Description + {Ground shakes}% Short Description + {Brrrrrr}% Long Description \printindex[spells] \end{verbatim} @@ -162,7 +162,8 @@ After inputting that, you can get the spell, and the `printindex' command will c {Wane}% Action {\distant, \duplicated}% Enhancements {Caving}% Skill - {Ground shakes}% Description + {Ground shakes}% Short Description + {Brrrrrr}% Long Description \subsubsection{Magical Items} diff --git a/magic.sty b/magic.sty index e4d1c3ccf8d791c80ea245c4f1d0250a378a729c..b76b9ef49fb3bb8a1614bdba4beed9c022a611a9 100644 --- a/magic.sty +++ b/magic.sty @@ -18,9 +18,10 @@ % 4 = Enhancements % 5 = Skill % 6 = Description +% 7 = Longer notes -\newcommand{\spell}[6]{ +\newcommand{\spell}[7]{ \settoggle{distant}{false}% \settoggle{insubstantial}{false} \setcounter{spelllevel}{1}% @@ -43,6 +44,8 @@ \underline{Skill:~#5} \vspace{.5em}\afterparnoindent \index[spells]{\textbf{#1}: \iftoggle{duplicated}{\spellArea~targets}{Have target} #6. (Cost:~\arabic{spelllevel}, Spheres:~#2, Skill:~#5, \mbox{Range: \spellRange})} + + #7 } \newcommand\spellRange{}