Skip to content
Snippets Groups Projects
Commit 29bd62a1 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

Merge commit 'f6a0e030' into dev

parents 60a3a803 72a2b405
No related branches found
No related tags found
No related merge requests found
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
\renewcommand{\armourtype}{P} \renewcommand{\armourtype}{P}
\gdef\armourtype{P} \gdef\armourtype{P}
\begin{tcolorbox}[title={\name}] \begin{tcolorbox}[title={\name},watermark text=\npcsymbol]
\creaturestats \creaturestats
\derivedstats \derivedstats
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
\renewcommand{\armourtype}{C} \renewcommand{\armourtype}{C}
\begin{tcolorbox}[title={\name}] \begin{tcolorbox}[title={\name},watermark text=\npcsymbol]
\creaturestats \creaturestats
\derivedstats \derivedstats
...@@ -596,7 +596,7 @@ ...@@ -596,7 +596,7 @@
{1}%SPEED {1}%SPEED
{{\arabic{age}}{2}{1}}%MENTAL ATTRIBUTES {{\arabic{age}}{2}{1}}%MENTAL ATTRIBUTES
{0}{\ifodd\value{list}1\else2\fi}% {0}{\ifodd\value{list}1\else2\fi}%
{\ifodd\value{gold}\else Projectiles, \arabic{age}\fi Academics \arabic{age}, Athletics 1, \ifodd \thechapter Crafts \arabic{age}\else Performance \arabic{age}\fi, Stealth 1, Survival 2, Vigilance \arabic{age}\Path{Blood \ifodd\thechapter\else \& Song\fi}{\addtocounter{enc}{1} Aldaron \arabic{enc}, \addtocounter{age}{1}Enchantment \arabic{age}}\addtocounter{age}{-1} \ifodd\value{gold}\else Fate \arabic{random}\fi\addtocounter{gold}{1}, \ifodd\value{gold} Polymorph \arabic{age}\else Invocation \arabic{age}\fi}{\ifnumcomp{\value{list}}{>}{2}{\rapier, dagger, shortbow, }{} % {\ifodd\value{gold}\else Projectiles \arabic{age}, \fi Academics \arabic{age}, Athletics 1, \ifodd \thechapter Crafts \arabic{age}\else Performance \arabic{age}\fi, Stealth 1, Survival 2, Vigilance \arabic{age}\Path{Blood \ifodd\thechapter\else \& Song\fi}{\addtocounter{enc}{1} Aldaron \arabic{random}, \addtocounter{age}{1}Enchantment \arabic{age}}\addtocounter{age}{-1} \ifodd\value{gold}\else Fate \arabic{random}\fi\addtocounter{gold}{1}, \ifodd\value{gold} Polymorph \arabic{age}\else Invocation \arabic{age}\fi}{\ifnumcomp{\value{list}}{>}{10}{\rapier, dagger\ifodd\value{gold}\else, shortbow\fi}{\Dagger} %
\ifnumcomp{\thechapter}{=}{\value{bestiarychapter}}{$3D6$sp worth of jewellery}{\ifnumcomp{\thechapter}{>}{3}{\multiply\value{gold} by \thepage \ifnumcomp{\value{gold}}{>}{100}{\divide\value{gold} by 100 \ifnumcomp{\value{enc}}{>}{4}{\arabic{gold} sp worth of earrings and bracelets}{random magical item}}{Ornamental dagger, worth \thepage sp}}{one necklace worth \thechapter sp}}}% \ifnumcomp{\thechapter}{=}{\value{bestiarychapter}}{$3D6$sp worth of jewellery}{\ifnumcomp{\thechapter}{>}{3}{\multiply\value{gold} by \thepage \ifnumcomp{\value{gold}}{>}{100}{\divide\value{gold} by 100 \ifnumcomp{\value{enc}}{>}{4}{\arabic{gold} sp worth of earrings and bracelets}{random magical item}}{Ornamental dagger, worth \thepage sp}}{one necklace worth \thechapter sp}}}%
{\multiply\value{age} by 2 \mana{\value{age}}} {\multiply\value{age} by 2 \mana{\value{age}}}
} }
......
...@@ -26,7 +26,22 @@ ...@@ -26,7 +26,22 @@
\usepackage{colortbl} \usepackage{colortbl}
\usepackage[poster]{tcolorbox} \usepackage[poster]{tcolorbox}
\tcbuselibrary{breakable,raster} \tcbuselibrary{breakable,raster}
\tcbset{enhanced, attach boxed title to top center={yshift*=-3mm},drop shadow east,colback=white,arc=6mm,outer arc=1mm} %\tcbset{enhanced, attach boxed title to top center={yshift*=-3mm},drop shadow east,colback=white,arc=6mm,outer arc=1mm}
\tcbset{enhanced, drop shadow east,
colframe=black,colbacktitle=black!5!white,
fonttitle=\bfseries,coltitle=black,attach boxed title to top center=
{yshift=-0.25mm-\tcboxedtitleheight/2,yshifttext=-2mm-\tcboxedtitleheight/2},
boxed title style={boxrule=0.5mm,
frame code={ \path[tcb fill frame] ([xshift=-4mm]frame.west)
-- (frame.north west) -- (frame.north east) -- ([xshift=4mm]frame.east)
-- (frame.south east) -- (frame.south west) -- cycle; },
interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
-- (interior.north west) -- (interior.north east)
-- ([xshift=2mm]interior.east) -- (interior.south east) -- (interior.south west)
-- cycle;}
}
}
%%%%%%%%%% Section Headers %%%%%%%%%% %%%%%%%%%% Section Headers %%%%%%%%%%
...@@ -134,8 +149,10 @@ ...@@ -134,8 +149,10 @@
\newcommand{\name}{} \newcommand{\name}{}
\newcommand{\personality}{} \newcommand{\personality}{}
\newcommand{\mannerism}{} \newcommand{\mannerism}{}
\newcommand{\npc}[2]{\renewcommand{\name}{#1 #2}} \newcommand{\npcsymbol}{}
\newcommand{\npc}[2]{\renewcommand{\name}{#1 #2}\renewcommand{\npcsymbol}{#1}}
\newcommand{\NPC}[4]{\renewcommand{\name}{#1 #2} \newcommand{\NPC}[4]{\renewcommand{\name}{#1 #2}
\renewcommand{\npcsymbol}{#1}
\settoggle{personality}{true} \settoggle{personality}{true}
\renewcommand{\personality}{#3} \renewcommand{\personality}{#3}
\renewcommand{\mannerism}{#4} \renewcommand{\mannerism}{#4}
...@@ -232,7 +249,7 @@ Roll & Result \\ ...@@ -232,7 +249,7 @@ Roll & Result \\
\newcommand{\story}[2]{\needspace{2em}\vspace{.3cm}\noindent\textbf{#2\ldots}\par\noindent Cost: #1\par\noindent} \newcommand{\story}[2]{\needspace{2em}\vspace{.3cm}\noindent\textbf{#2\ldots}\par\noindent Cost: #1\par\noindent}
\newcommand{\best}[1]{\subsubsection{#1}\renewcommand{\name}{#1}\index{#1}} \newcommand{\best}[2][\C]{\npc{#1}{#2}\index{#2}}
\newcounter{random} \newcounter{random}
\setcounter{random}{1} \setcounter{random}{1}
...@@ -278,15 +295,21 @@ Roll & Result \\ ...@@ -278,15 +295,21 @@ Roll & Result \\
%%%%% Side Quests %%%%% Side Quests
% the first side quest gets a ticked box in the toc.
% the rest get an empty box, so the GM can tick it once it's ready.
\newtoggle{firstsq} \newtoggle{firstsq}
\settoggle{firstsq}{true} \settoggle{firstsq}{true}
\newcommand{\sqtoc}{\printcontents[\sqarea]{l}{2}{\section*{Summaries}\setcounter{tocdepth}{3}}} \newcommand{\sqtoc}{\printcontents[\sqarea]{l}{2}{\section*{Summaries}\setcounter{tocdepth}{3}}}
\newcommand{\sqminitoc}{\printcontents[sq]{l}{2}{\setcounter{tocdepth}{3}}} % Change the tocdepth from 2 to 3 in order to output a miniature table of contents on all side quests
\newcommand{\sqminitoc}{\printcontents[sq]{l}{2}{\setcounter{tocdepth}{2}}}
\newcommand{\sidequest}[1]{\resumecontents[\sqarea]\subsection[#1]{#1}\stopcontents[\sqarea]\settoggle{firstsq}{true}} \newcommand{\sidequest}[1]{\resumecontents[\sqarea]\subsection[#1]{#1}\stopcontents[\sqarea]\settoggle{firstsq}{true}}
\newcommand{\sqpart}[3]{\resumecontents[#1]\subsubsection[\iftoggle{firstsq}{\CheckedBox}{\Square} #2 -- #3]{(#1) #2}\stopcontents[#1]\settoggle{firstsq}{false}}
\newcommand{\forest}[2]{\resumecontents[forest]\subsubsection[\iftoggle{firstsq}{\CheckedBox}{\ding{111}} #1 -- #2]{(Forest) #1}\stopcontents[forest]\settoggle{firstsq}{false}} \newcommand{\forest}[2]{\resumecontents[forest]\subsubsection[\iftoggle{firstsq}{\CheckedBox}{\ding{111}} #1 -- #2]{(Forest) #1}\stopcontents[forest]\settoggle{firstsq}{false}}
\newcommand{\town}[2]{\resumecontents[town]\subsubsection[\iftoggle{firstsq}{\CheckedBox}{\ding{111}} #1 -- #2]{(Town) #1}\stopcontents[town]\settoggle{firstsq}{false}} \newcommand{\town}[2]{\resumecontents[town]\subsubsection[\iftoggle{firstsq}{\CheckedBox}{\ding{111}} #1 -- #2]{(Town) #1}\stopcontents[town]\settoggle{firstsq}{false}}
\newcommand{\villages}[2]{\resumecontents[villages]\subsubsection[\iftoggle{firstsq}{\CheckedBox}{\ding{111}} #1 -- #2]{(Villages) #1}\stopcontents[villages]\settoggle{firstsq}{false}} \newcommand{\villages}[2]{\resumecontents[villages]\subsubsection[\iftoggle{firstsq}{\CheckedBox}{\ding{111}} #1 -- #2]{(Villages) #1}\stopcontents[villages]\settoggle{firstsq}{false}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment