Skip to content
Snippets Groups Projects
test.tex 4.6 KiB
Newer Older
  • Learn to ignore specific revisions
  • \documentclass[a4paper,openany]{book}
    
    \usepackage{bind}
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \usepackage{lipsum}
    
    
    \date{\today}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \settoggle{debug}{true}
    
    
    \begin{document}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \chapter{Random Stuff}
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \section{Introduction}
    
    
    \begin{multicols}{2}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \subsection{This Document}
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    This is a test document, to make sure new code works before sticking it in a project.
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    Current day should equal \arabic{r4b}.
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \npc{\M}{Random Guy}
    \person{1}% STRENGTH
    
    {1}% DEXTERITY 
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    {1}% SPEED
    {{-2}% INTELLIGENCE
    {-1}% WITS
    
    {0}}% CHARISMA
    {0}% DR
    {1}% COMBAT
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    {Academics 1, Wyldcrafting 1
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \Path{\illusion~3, \invocation~1}
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    }% SKILLS
    {\Dagger, pieces of string}% EQUIPMENT
    
      ``Would you tell me, please, which way I ought to go from here?''
    
      ``That depends a good deal on where you want to get to.''
    
    \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}
    
    \begin{encounters}{Wonderland}
    
    
      Fields & Gardens & Results \\\hline
    
      \li & Doormouse \\
      \li & Dodo \\
      \li \lii Unicorn \\
      \li \lii Red Queen \\
      & \lii Black Queen \\
      & \lii Green Queen \\
    
    
    
    \end{encounters}
    
    \begin{rollchart}
    
    Roll & Result \\\hline
    
    12 & Success \\
    
    11 & Failure \\
    
    \end{rollchart}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \subsection{Random Text}
    
    \lipsum[7]
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \subsection{And further more\ldots}
    
    \lipsum[10]
    
    \begin{boxtext}
      \lipsum[4]
    \end{boxtext}
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    
    
    \end{multicols}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \chapter{Stat Blocks}
    
    \section{Humanoids}
    
    
    \begin{multicols}{2}
    
    \subsection{Humans}
    
    \humanfarmer
    
    
    \humansoldier
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \humanarcher
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \royalguard
    
    
    \humansoldier
    
    \humandiplomat
    
    
    This section is non-verbose, so only basic stats are shown.
    \settoggle{verbose}{false}
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \settoggle{debug}{false}
    
    \humanthief
    
    \humanalchemist
    
    \necromancer
    
    \subsection{Dwarves}
    
    
    \settoggle{verbose}{true}
    
    
    \dwarvensoldier
    
    \dwarventrader
    
    \dwarvenrunemaster
    
    \subsection{Elves}
    
    \elf
    
    \elf
    
    \elvenenchanter
    
    \subsection{Gnomes}
    
    \gnome
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \gnomishsoldier
    
    \gnomishsoldier
    
    
    \gnomishillusionist
    
    \subsection{Gnolls}
    
    \gnollhunter
    
    \gnollshaman
    
    \gnollshaman
    
    \end{multicols}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \section{Forest Critters}
    
    
    \begin{multicols}{2}
    
    \bear
    
    \boar
    
    \chitincrawler
    
    \basilisk
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \woodspy
    
    
    \end{multicols}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \section{Undead}
    
    
    \begin{multicols}{2}
    
    \ghoul
    
    \ghast
    
    \demilich
    
    \lich
    
    \end{multicols}
    
    \chapter{Nura}
    
    \begin{multicols}{2}
    
    \subsection{Humanoids}
    
    
    \goblin[\npc{\N}{Random Goblin}]
    
    
    \goblin
    
    \goblin
    
    \goblinnuramancer
    
    \hobgoblin
    
    \ogre
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \deepogre
    
    
    \subsection{Animals}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \nurarat
    
    
    \nurahorse
    
    \nuracrab
    
    \nuracat
    
    \nuraslug
    
    \nuraspider
    
    \nurawolf
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \end{multicols}
    
    
    \chapter{Outsiders}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \section{Weird Ones}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \begin{multicols}{2}
    
    
    \end{multicols}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \section{Same}
    
    \begin{multicols}{2}
    
    \rockman
    
    \archmage
    
    \dragon
    
    \archmage
    
    \lavaman
    
    \end{multicols}
    
    
    \chapter{Bestiary Chapters}
    
    \begin{multicols}{2}
    
    \settoggle{bestiarychapter}{true}
    
    When using a bestiary chapter, the stats appear as dice rolls, rather than fixed amounts.
    
    \subsection{Humans}
    
    \humanfarmer
    
    \humansoldier
    
    
    
    \humandiplomat
    
    \humanbard
    
    \humanthief
    
    \humanalchemist
    
    \humanalchemist
    
    \necromancer
    
    \subsection{Dwarves}
    
    \dwarvensoldier
    
    \dwarventrader
    
    \dwarvenrunemaster
    
    \subsection{Elves}
    
    \elf
    
    \elf
    
    \elvenenchanter
    
    \subsection{Gnomes}
    
    \gnome
    
    \gnomishillusionist
    
    \subsection{Gnolls}
    
    \gnollhunter
    
    \gnollshaman
    
    \gnollshaman
    
    \end{multicols}
    
    \section{Forest Critters}
    
    \begin{multicols}{2}
    
    \bear
    
    \boar
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \huntingdog
    
    \cat
    
    
    \chitincrawler
    
    \basilisk
    
    \end{multicols}
    
    \section{Underground}
    
    \begin{multicols}{2}
    
    \umberhulk
    
    \jelly
    
    \jelly
    
    
    \end{multicols}
    
    \section{Undead}
    
    \begin{multicols}{2}
    
    \ghoul
    
    \ghast
    
    \demilich
    
    \lich
    
    \end{multicols}
    
    \section{Nura}
    
    \begin{multicols}{2}
    
    \subsection{Animals}
    
    \nurahorse
    
    \nuracrab
    
    \nuracat
    
    \nuraslug
    
    \nuraspider
    
    \nurawolf
    
    \subsection{Humanoids}
    
    \goblin
    
    \goblinnuramancer
    
    \hobgoblin
    
    \ogre
    
    \end{multicols}
    
    \settoggle{bestiarychapter}{false}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \chapter{Lots of Text}
    
    \begin{multicols}{2}
    
    \noindent
    \lipsum
    
    
    \end{multicols}
    
    \newcommand{\tests}{
    
    \chapter{Another Test}
    
    \section{Test Section}
    
    \begin{multicols}{2}
    
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    \lipsum[\arabic{r4}]
    
    
    \humanbard
    
    \lipsum[2]
    
    \subsection{Test subsection}
    
    
    \settoggle{allyCharacter}{true}
    
    
    \settoggle{examplecharacter}{true}
    
    
    \settoggle{allyCharacter}{false}
    
    
    \subsubsection{Test sub-sub-section}
    
    \lipsum[10]
    
    \subsubsection{Test sub-sub-section again}
    
    \subsection{Test subsection}
    
    \lipsum[2]
    
    \elf
    
    
    \settoggle{examplecharacter}{false}
    
    
    \lipsum[10]
    
    \section{Last Section}
    
    \lipsum[3]
    
    Malin Freeborn's avatar
    Malin Freeborn committed
    
    \end{multicols}
    
    
    \end{document}