Skip to content
Snippets Groups Projects
Unverified Commit 435fdc9e authored by Malin Freeborn's avatar Malin Freeborn
Browse files

give spells description in macro

parent cf3fa9ec
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
......@@ -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{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment