From 20b7d3cd4227c29f60002632f9148f9916664f9e Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Sat, 28 Jan 2023 01:14:41 +0100 Subject: [PATCH] rename toggle 'bling' 'creatureBox' --- arms.sty | 4 ++-- layout.sty | 2 +- stats.sty | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arms.sty b/arms.sty index bd7eace4..3179298d 100644 --- a/arms.sty +++ b/arms.sty @@ -24,7 +24,7 @@ \setcounter{cost}{#6} #1 - \iftoggle{bling}{ + \iftoggle{creatureBox}{ \addtocounter{att}{#3} #2\ignorespaces% }{ @@ -57,7 +57,7 @@ \addtocounter{shieldInit}{1} \setcounter{cost}{87} #1 - \iftoggle{bling}% + \iftoggle{creatureBox}% {#2 shield (+\arabic{shieldBonus}/ \arabic{shieldInit})}{ #2 Shield & +\arabic{shieldBonus} & diff --git a/layout.sty b/layout.sty index b6762f52..3d50ba9d 100644 --- a/layout.sty +++ b/layout.sty @@ -348,7 +348,7 @@ bookmarks=true]% \draw[ornamented frame inner, use path=ornament 1]; \draw[ornamented frame inner, use path=ornament 2]; % - \iftoggle{bling}{ + \iftoggle{creatureBox}{ \node at ([xshift=-25pt,yshift=\thedr+5pt] south east) {\ifnum\value{dr}>2 \addtocounter{dr}{7}\multiply\value{dr} by 2\includesvg[width=\thedr pt]{config/images/l1} diff --git a/stats.sty b/stats.sty index 324ea320..2544f486 100644 --- a/stats.sty +++ b/stats.sty @@ -49,7 +49,7 @@ \newtoggle{mind} -\newtoggle{bling} +\newtoggle{creatureBox} \newtoggle{examplecharacter} \settoggle{examplecharacter}{false} \newtoggle{debug}\settoggle{debug}{false} @@ -224,7 +224,7 @@ %%%%%%%%%%% Person % \newcommand{\person}[9]{ - \settoggle{bling}{true} + \settoggle{creatureBox}{true} \settoggle{mind}{true} \setcounter{str}{#1} \setcounter{dex}{#2} @@ -268,12 +268,12 @@ {} \settoggle{debug}{false} \settoggle{examplecharacter}{false} - \settoggle{bling}{false} + \settoggle{creatureBox}{false} } \newcommand{\animal}[9]{ - \settoggle{bling}{true} + \settoggle{creatureBox}{true} \settoggle{mind}{false} \setcounter{str}{#1} \setcounter{dex}{#2} @@ -312,7 +312,7 @@ \derivedstats \end{tcolorbox} - \settoggle{bling}{false} + \settoggle{creatureBox}{false} } -- GitLab