\ProvidesPackage{memory}
%
% The actual work of the macros is all done by mechanics-packet.sty;
% we just wrap a couple macros around those.


\RequirePackage{extractable}
\RequirePackage{mechanics-packet}


\newdef\mempacket[2]{%
  \mechanic@envelope{{\footnotesize \me{} memory packet}}%  % header (out & in)
                    {\textbf{#1}}%             % trigger (outside & inside)
                    {\emph{#2}}%               % reaction (inside only)
}%


\newdef\memfold[2]{%
  \mechanic@folded{\textbf{\me{}}\\\emph{memory packet}}%  % outside header
                  {#1}%                            % outside description
                  {\textbf{#1:} \emph{#2}}%        % inside description
}


% There isn't usually a Lists/memory.tex file of generic memory packets,
% though of course you can make one, in which case you'd \input it here.
