%%%%%
%%
%% This file sets up the White datatype and creates White macros.
%% These are for whitesheets.
%%
%%%%%

\DECLARESUBTYPE{White}{TransElement}
\PRESETS{White}{
  \FD\MYfile	{} %% filename (in \whites dir)
  \FS\MYtext	{\getextractenvs{document}{\whites/\MYfile}}
  \sd\MYlistmap	{\item\MYname\ (in-game document)}
  }

\DECLARESUBTYPE{ResearchSheet}{White}
\PRESETS{ResearchSheet}{
  \s\MYfile     {research.tex}
  \F\MYwords    {}
  \F\MYgrid     {}
  \F\MYresearch {}
}

\DECLARESUBTYPE{Blueprint}{White}
\PRESETS{Blueprint}{
  \F\MYcode     {}
  \F\MYproject  {}
}

\POSTSETS{ResearchSheet}{
  \s\MYname     {Project \MYresearch}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{White}{\wTest}{
  \s\MYname	{Test Whitesheet}
  \s\MYfile	{README.tex}
  }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{White}{\wAlphaRitual}{
  \s\MYname	{The Worship Cycle of Father and Mother for a Journey Amongst the Air-Dwellers}
  \s\MYfile	{alpharitual.tex}
  }

\NEW{Blueprint}{\wFirstPRBlueprint}{
  \s\MYname     {Instructions on Resolving Class IV Rifts}
  \s\MYfile     {firstblueprint.tex}
  \s\MYcode     {5104}
  \s\MYproject  {6720}
}

\NEW{Blueprint}{\wSecondPRBlueprint}{
  \s\MYname     {Instructions on Resolving Class IV Rifts}
  \s\MYfile     {secondblueprint.tex}
  \s\MYcode     {6925}
  \s\MYproject  {3721}
}

\NEW{Blueprint}{\wThirdPRBlueprint}{
  \s\MYname     {Instructions on Resolving Class IV Rifts}
  \s\MYfile     {thirdblueprint.tex}
  \s\MYcode     {7104}
  \s\MYproject  {5982}
}

\NEW{Blueprint}{\wFourthPRBlueprint}{
  \s\MYname     {Instructions on Resolving Class IV Rifts}
  \s\MYfile     {fourthblueprint.tex}
  \s\MYcode     {0162}
  \s\MYproject  {1630}
}

\NEW{Blueprint}{\wBombBlueprintA}{
  \s\MYname     {\iBomb{\MYname}}
  \s\MYfile     {bomba.tex}
  \s\MYproject  {7539}
}

\NEW{Blueprint}{\wBombBlueprintB}{
  \s\MYname     {\iBomb{\MYname}}
  \s\MYfile     {bombb.tex}
  \s\MYproject  {\wBombBlueprintA{\MYproject}}
}

\NEW{White}{\wTreaty}{
 \s\MYname      {The Second Treaty of Dunwich}
 \s\MYfile      {treaty.tex}
}

\NEW{White}{\wSanRitual}{
  \s\MYname     {\TODO{think of a name}}
  \s\MYfile     {sanritual.tex}
}

\input{\lists/research.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
