Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Malin Freeborn
config
Commits
282fb80a
Unverified
Commit
282fb80a
authored
1 year ago
by
Malin Freeborn
Browse files
Options
Downloads
Patches
Plain Diff
update documentation and tests
parent
bf0a3d9a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs.tex
+4
-58
4 additions, 58 deletions
docs.tex
test.tex
+11
-10
11 additions, 10 deletions
test.tex
with
15 additions
and
68 deletions
docs.tex
+
4
−
58
View file @
282fb80a
...
...
@@ -155,9 +155,9 @@ They also compile a spell index, if you request a spell index before \verb"\begi
title=
{
Spell Summaries
}
,columns=2]
\spell
{
Quake
}
% Name
{
Earth
}
% Sphere
s
{
distant,duplicated
}
% Enhancement
s
{
Wane
}
% Action
{
\distant
,
\duplicated
}
% Enhancement
s
{
Earth
}
% Sphere
s
{
the rock's density
}
% Skill
{
Ground shakes
}
% Short Description
{
Brrrrrr
}
% Long Description
...
...
@@ -168,9 +168,9 @@ title={Spell Summaries},columns=2]
After inputting that, you can get the spell, and the `printindex' command will create a spell-list by using a special index, just for spells.
\spell
{
Quake
}
% Name
{
Earth
}
% Sphere
s
{
distant,duplicated
}
% Enhancement
s
{
Wane
}
% Action
{
\distant
,
\duplicated
}
% Enhancement
s
{
Earth
}
% Sphere
s
{
the rock's density
}
% Skill
{
Ground shakes
}
% Short Description
{
Brrrrrr
}
% Long Description
...
...
@@ -198,60 +198,6 @@ This will take an educated guestimate of a few spells you want to show.
\showStdSpells
Or you can specify a list of spells, with an optional argument to take any spell you like.
\begin{verbatim}
\elf
\creatureSpells
[
\spell
{
Quake
}
% Name
{
Earth
}
% Spheres
{
Wane
}
% Action
{
\distant
,
\duplicated
}
% Enhancements
{
the rock's density
}
% Skill
{
Ground shakes
}
% Short Description
{
Brrrrrr
}
% Long Description
]
{
Fate1,Air2
}
\end{verbatim}
\elf
\creatureSpells
[
\spell
{
Quake
}
% Name
{
Earth
}
% Spheres
{
Wane
}
% Action
{
\distant
,
\duplicated
}
% Enhancements
{
the rock's density
}
% Skill
{
Ground shakes
}
% Short Description
{
Brrrrrr
}
% Long Description
]
{
Fate1,Air2
}
\subsubsection
{
Talismans
}
Magical talismans (one-use items) are formatted like this:
\begin{verbatim}
\magicItem
{
Scroll of Distraction
}
% Name
{
\duplicated
,
\divergent
}
% Enhancements
{
someone attacks
}
% Activation
{
\roll
{
Strength
}{
Athletics
}}
%
{
illusionary bats appear, causing a massive distraction
}
%
{
Fire Shoots
}
% Effect
{
A pretty brooch
}
% Item description
\end{verbatim}
\subsection
{
Pictures
}
\magicItem
{
Scroll of Distraction
}
% Name
{
\duplicated
,
\divergent
}
% Enhancements
{
someone attacks
}
% Activation
{
\roll
{
Strength
}{
Athletics
}}
%
{
illusionary bats appear, causing a massive distraction
}
%
{
Fire Shoots
}
% Effect
{
A pretty brooch
}
% Item description
\subsection
{
Pictures
}
\sidepic
{
l1
}
...
...
This diff is collapsed.
Click to expand it.
test.tex
+
11
−
10
View file @
282fb80a
...
...
@@ -3,6 +3,7 @@
\usepackage
{
lipsum
}
\date
{
\today
}
\makeindex
[name=spells,title={Spell Summaries},columns=2]
\settoggle
{
debug
}{
true
}
...
...
@@ -37,6 +38,8 @@ Current day should equal \arabic{r4b}.
\setcounter
{
Fate
}{
2
}
}
\input
{
spells/Air1.tex
}
\begin{speechtext}
``Would you tell me, please, which way I ought to go from here?''
...
...
@@ -47,13 +50,6 @@ Current day should equal \arabic{r4b}.
\subsection
{
And now for something completely different
}
\magicitem
{
Noodle of Death
}
% NAME
{
Extinguish
}
% SPELL
{
Divinity (FSM)
}
% PATH
{
Instant
}
% DURATION
{
Pocket Spell
}
% TYPE
{
2
}
% Potency
{
5
}
% MP
\subsection
{
Encounters
}
...
...
@@ -169,13 +165,13 @@ This section is non-verbose, so only basic stats are shown.
\gnollshaman
\
creature
Spells
{
Fire1
}
\
showStd
Spells
{
Fire1
}
\gnollshaman
\
creature
Spells
{
Fate1
}
\
showStd
Spells
{
Fate1
}
\
creature
Spells
{
Fate2
}
\
showStd
Spells
{
Fate2
}
\end{multicols}
...
...
@@ -572,4 +568,9 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed
\Repeat
{
2
}{
\tests
}
%\foreach \s in {Fire,Air,Water,Fate,Earth}%
% {\foreach \n in {1,...4}%
% {\input{spells/\s\n.tex}}
% }
\end{document}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment