Newer
Older
\ifnum\value{track}<7%
\ifnum\value{temperature}=0%
\addtocounter{track}{3}
\fi%
\addtocounter{track}{\value{r3b}}%
\addtocounter{track}{\value{rn1t2}}%
\else%
\addtocounter{track}{\value{r12}}%
\fi%
\fi%
\fi%
\ifnum0<\value{track}%
\arabic{track}~\glspl{#1}%
\else%
\textit{free}!
\fi%
}
\newcommand\marketItem[4][sp]{
#2 &% Name
#3 &% Weight
\mkPrice[#1]{#4} % Price
\\
}
\newcommand\rareMarketItem[4][9]{%
\ifnumcomp{\value{r12}}{>}{#1}{\marketItem{#2}{#3}{#4}}{}%
#1\expandafter\MakeUppercase\armourName & \arabic{armourDR} & \arabic{covering} & \arabic{armourWeight} & \mkPrice{#2} \\%
\newcommand\rareArmour[3][9]{%
\ifnumcomp{\value{r12}}{>}{#1}{ \showArmour{#2} & \mkPrice{#3} \\ }{}%
%%%%% Seller Names
%
% By default, each guild hall curator receives a random name, composed
% with the standard '\composeHumanName' command. However, individual
% modules might change these names to showcase local NPCs.
\newcommand\marketWeaver{\composeHumanName}
\newcommand\marketDoula{\composeHumanName}
\newcommand\marketBeastSeller{\composeHumanName}
\newcommand\marketBoatman{\composeHumanName}
\newcommand\marketBard{\composeHumanName}
\newcommand\marketFence{\composeHumanName}
\newcommand\marketInnOne{\composeHumanName's Inn}
\newcommand\marketInnTwo{\composeHumanName's Inn}
\newcommand\marketTavernOne{\composeHumanName's Tavern}
\newcommand\marketTavernTwo{\composeHumanName's Tavern}
\newcommand\marketMixer{\composeHumanName}
\newcommand\marketWeaponsSeller{\composeHumanName}
\newcommand\marketArmourSeller{\composeHumanName}
\newcommand\marketTanner{\composeHumanName}