From b7eb25f0faa03eec9d4a49936cabbcc91d6eac30 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sun, 21 Jan 2024 14:42:29 +0100
Subject: [PATCH] fix npcQuote command

---
 layout.sty | 2 +-
 stats.sty  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/layout.sty b/layout.sty
index eb2ae2b8..4e3f8105 100644
--- a/layout.sty
+++ b/layout.sty
@@ -971,7 +971,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
 
 \newenvironment{speechtext}%
   {\it
-  \begin{quotation}\noindent}%
+  \begin{quotation}}%
   {\end{quotation}}
 
 \newenvironment{exampletext}
diff --git a/stats.sty b/stats.sty
index 83082e6b..3efad4dd 100644
--- a/stats.sty
+++ b/stats.sty
@@ -494,10 +494,10 @@
     \textbf{Mannerism:}~\mannerism
     \par
     \textbf{Description:}~\NPCdescription
-    \par
+    \par\pagebreak[3]
     \textbf{Wants:}~\npcGoal
-    \ifdefempty{\npcQuote}{}{
-      \textbf{Quote:}~\npcQuote
+    \ifdefempty{\npcQuote}{}{\par
+      \textbf{Quote:}~\textit{``\npcQuote''}
     }
     \end{multicols}
 
@@ -508,6 +508,7 @@
   \setcounter{wounds}{0}
   \renewcommand\abilities{}
   \global\togglefalse{perfectArmour}
+  \renewcommand\npcQuote{}
   \afterparnoindent
 }
 
@@ -603,7 +604,6 @@
   \setcounter{knacks}{0}
   \setcounter{mp}{0}
   \setcounter{xpbonus}{0}
-  \renewcommand\npcQuote{}
 }
 
 %%       _   _        _ _           _            
-- 
GitLab