\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{proposalroyal}[CraftLaw for the CraftFuze Legal Project, Executive Order of the Owner]

\LoadClass{proposal}

% New title layout
\newcommand{\setsubtitle}[1]{\def\@lawsubtitle{#1}}

\renewcommand{\generateHeader}{
	% Header
	\fancyhead[LE,LO]{\@date}
	\fancyhead[CE,CO]{Official Journal of the Crafty Table}
	\fancyhead[RE,RO]{Royal Decree of Juris I}
	
	% Title
	\noindent%
	\begin{figure}
		\centering
		\includegraphics[width=30mm]{jurisseal}
	\end{figure}
	\centering%
	\textbf{\large\fontfamily{phv}\fontseries{b}%
        \selectfont Royal Decree of Juris I}%
    \medskip%
    
    \textit{\large\fontfamily{phv}%
    	\selectfont \@lawsubtitle}%
    \medskip%
}

\renewcommand{\signature}[1]{
	\bigskip%
	\begin{flushleft}
		Hereby ordering and burdening the Judiciary to publish this Act in the Official Journal of the Crafty Table; and that all shall be bound to its provisions and shall act faithfully in accordance with it.
		
		\medskip%
		
		Ordered as such here on this day, the \@date.
		
		\begingroup
		\wildcard{\textbf{#1}\newline Owner of the Crafty Table}
		\par
		\endgroup
	\end{flushleft}
}