From 51a5a92a0ae6ea3d8fe587f764ea180ec2940932 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Wed, 23 Aug 2023 00:03:49 +0200 Subject: [PATCH] place npc symbol on hrule when non verbose --- layout.sty | 4 ++-- stats.sty | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layout.sty b/layout.sty index 93c904ba..62d79e17 100644 --- a/layout.sty +++ b/layout.sty @@ -640,8 +640,8 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \newcommand{\mannerism}{} \newcommand{\archetype}{} \newcommand{\npcsymbol}{} -\newcommand{\npc}[3][1]{\settoggle{personality}{false}\renewcommand{\name}{#2 #3}\renewcommand{\npcsymbol}{#2}} -\newcommand{\NPC}[5]{\renewcommand{\name}{#1 #2} +\newcommand{\npc}[2]{\settoggle{personality}{false}\renewcommand{\name}{#2}\renewcommand{\npcsymbol}{#1}} +\newcommand{\NPC}[5]{\renewcommand{\name}{#2} \renewcommand{\npcsymbol}{#1} \settoggle{personality}{true} \renewcommand{\NPCdescription}{#3} diff --git a/stats.sty b/stats.sty index 5485bdae..f5b4eddb 100644 --- a/stats.sty +++ b/stats.sty @@ -457,7 +457,7 @@ \iftoggle{verbose}{ \begin{tcolorbox}[ - title={\name}, + title={\npcsymbol\ \name}, before upper={\parindent0pt}, ornamented, fontupper=\small, @@ -477,7 +477,7 @@ \vspace{2em} \noindent \begin{minipage}{\linewidth} - \hrulefill + \hrulefill\hspace{-0.15em}\raisebox{-0.2em}{\npcsymbol} \begin{center}\textbf{\large\name}\end{center} \mods @@ -526,7 +526,7 @@ \clean \iftoggle{verbose}{ - \begin{tcolorbox}[title={\name}, + \begin{tcolorbox}[title={\npcsymbol\ \name}, before upper={\parindent0pt}, ornamented, halign=flush left, -- GitLab