%%%%%
%%
%% This file sets up the Place datatype and creates Place macros.
%% Places correspond to general units of game that are not characters.
%% Generally, game elements that do not come in some character's
%% packet are owned by places.  A Place macro may contain zero or more
%% of any kind of element (most likely Sign and Item macros).
%%
%% The simplest case is a single Place macro, \pWorld{}, which
%% contains all miscellaneous game elements not owned by a character.
%% However, Place macros are a good way to sort game area by general
%% location or similar.  Place may also be used as a base for more
%% complex and specific subtypes.
%%
%% Places do not necessarily correspond to only locations; you could
%% set up a series of Place macros that each represent a time period
%% in which certain elements are to be introduced into game.
%%
%%%%%

\DECLARESUBTYPE{Place}{Owner}
\PRESETS{Place}{
  \FD\MYwhere	{} %% if a Place is a single identifiable location
  \FD\MYwhen	{} %% if a Place is time-based
  }
\POSTSETS{Place}{
  \edef\mylocation{\MYwhere}
  }


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

%\NEW{Place}{\pTest}{
%  \s\MYname	{Test Place}
%  \s\MYsigns	{\sTest{}}
%  \s\MYitems	{\iTest{}\iWhatzit{}}
%  }


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

\NEW{Place}{\pLovecraft}{
  \s\MYwhere    {36-153}
  \s\MYname     {The Lovecraft Laboratory}
  \s\MYsigns    {\sLovecraftLab{}\multi{3}{\sBunsen{}}}
  \s\MYitems    {\iPRVII{}\iPRVIII{}\iSanII{}\iBetaSuitI{}
    \multi{3}{\iBeaker{}}}
  \s\MYwhites   {\wPRVIIPuzzle{}\wPRVIIIPuzzle{}}
}

\NEW{Place}{\pChurch}{
  \s\MYwhere    {38-166}
  \s\MYname     {The Church Laboratory}
  \s\MYsigns    {\sChurchLab{}\multi{3}{\sBunsen{}}}
  \s\MYitems    {\iPRIII{}\iPRIV{}\iSanIII{}
    \iSanDrug{}\iFishNChips{}
    \multi{3}{\iBeaker{}}}
  \s\MYwhites   {\wPRIIIPuzzle{}\wPRIVPuzzle{}}
}

\NEW{Place}{\pTuring}{
  \s\MYwhere    {36-372}
  \s\MYname     {The Turing Laboratory}
  \s\MYsigns    {\sTuringLab{}\multi{3}{\sBunsen{}}}
  \s\MYitems    {\iPRI{}\iPRII{}\iSanI{}
    \iBombPwr{}\iFishNChips{}
    \multi{3}{\iBeaker{}}}
  \s\MYwhites   {\wPRIPuzzle{}\wPRIIPuzzle{}}
}

\NEW{Place}{\pDansey}{
  \s\MYwhere    {24-307}
  \s\MYname     {The Dansey Laboratory}
  \s\MYsigns    {\sDanseyLab{}\multi{3}{\sBunsen{}}}
  \s\MYitems    {\iPRV{}\iPRVI{}rgr\iBetaSuitII{}
    \multi{3}{\iBeaker{}}}
  \s\MYwhites   {\wPRVPuzzle{}\wPRVIPuzzle{}}
}

\NEW{Place}{\pWorld}{
  \s\MYname     {Misc locations}
  \s\MYsigns{\sClassroom{}\sLearningLab{}\sArchives{}\sFiringRange{}\sOffices{}
    \sConferenceRoom{}\sGMRoom{}\sPlayerRoom{}\sNiceOffices{}
    \sHWStorageRoom{}\sToolStorageRoom{}\sPSUStorageRoom{}\sHDDStorageRoom{}}
  \s\MYitems{\iLovecraftBust{}\iLovecraftBooks{}
    \iStrossPhoto{}\iOldDisk{}\iLISPMachine{}
    \multi{6}{\iSledgehammer{}}
    \multi{30}{\iEmptyNoHands{}}
    \multi{10}{\iEmptyOneHand{}}
  }
}

\NEW{Place}{\pHilltop}{
  \s\MYwhere    {35-3.5}
  \s\MYname     {Hilltop}
  \s\MYsigns    {\sHilltop{}}
}


\NEW{Place}{\pOcean}{
  \s\MYname     {The oceanfront}
  \s\MYwhere    {34-1}
  \s\MYsigns	{\multi{4}{\sOcean{}}}
  \s\MYitems	{}
}

\NEW{Place}{\pComputerI}{
  \s\MYname     {Computer Terminal I}
  \s\MYwhere    {24-1}
  \s\MYsigns    {\sComputerTerminal{}\sBlueprintI{}\sBlueprintIV{}}
  \s\MYwhites   {\wFirstPRBlueprint{}\wFourthPRBlueprint{}}
}

\NEW{Place}{\pComputerII}{
  \s\MYname     {Computer Terminal II}
  \s\MYwhere    {38-3}
  \s\MYsigns    {\sComputerTerminal{}\sBlueprintII{}}
  \s\MYwhites   {\wSecondPRBlueprint{}}
}

\NEW{Place}{\pComputerIII}{
  \s\MYname     {Computer Terminal III}
  \s\MYwhere    {34-3 Hallway}
  \s\MYsigns    {\sComputerTerminal{}\sBlueprintIII{}}
  \s\MYwhites   {\wThirdPRBlueprint{}}
}

\NEW{Place}{\pMainFrameI}{
  \s\MYname     {Mainframe I}
  \s\MYwhere     {34-3 lobby}
  \s\MYsigns    {\sMainFrameWorking{}\sMainFrameBroken{}
    \sRaidEnclosure{}
    % \sOS{}
    \sMainframeMeshWorking{}
    \sMainframeMeshBroken{}
    \sMainframePSUWorking{}
    \sMainframePSUBroken{}}
}

\NEW{Place}{\pMainFrameII}{
  \s\MYname     {Mainframe II}
  \s\MYwhere     {38-1}
  \s\MYsigns    {\sMainFrameWorking{}\sMainFrameBroken{}
    \sRaidEnclosure{}
    % \sOS{}
    \sMainframeMeshWorking{}
    \sMainframeMeshBroken{}
    \sMainframePSUWorking{}
    \sMainframePSUBroken{}}
}

\NEW{Place}{\pMainFrameIII}{
  \s\MYname     {Mainframe III}
  \s\MYwhere     {36-1 lobby}
  \s\MYsigns    {\sMainFrameWorking{}\sMainFrameBroken{}
    \sRaidEnclosure{}
    % \sOS{}
    \sMainframeMeshWorking{}
    \sMainframeMeshBroken{}
    \sMainframePSUWorking{}
    \sMainframePSUBroken{}}
}

\NEW{Place}{\pMainFrameIV}{
  \s\MYname     {Mainframe IV}
  \s\MYwhere     {24-3}
  \s\MYsigns    {\sMainFrameWorking{}\sMainFrameBroken{}
    \sRaidEnclosure{}
    % \sOS{}
    \sMainframeMeshWorking{}
    \sMainframeMeshBroken{}
    \sMainframePSUWorking{}
    \sMainframePSUBroken{}}
}

\NEW{Place}{\pMainFrameV}{
  \s\MYname     {Mainframe V}
  \s\MYwhere     {36-3}
  \s\MYsigns    {\sMainFrameWorking{}\sMainFrameBroken{}
    \sRaidEnclosure{}
    % \sOS{}
    \sMainframeMeshWorking{}
    \sMainframeMeshBroken{}
    \sMainframePSUWorking{}
    \sMainframePSUBroken{}}
}

\NEW{Place}{\pRitualI}{
  \s\MYname  {Ritual I}
  \s\MYwhere  {anywhere / 24-3 bench}
  \s\MYitems{Runes 1+2\iRuneI{}\iRuneII{}\iRobe{}}
  \s\MYgreens{\gPentagramII{}}
}

\NEW{Place}{\pRitualII}{
  \s\MYname  {Ritual II}
  \s\MYwhere  {hilltop / chair}
  \s\MYitems{Rune 3\iRuneIII{}\iWizardHat{}}
  \s\MYgreens{\gPentagramIII{}}
}

\NEW{Place}{\pRitualIII}{
  \s\MYname  {Ritual III}
  \s\MYwhere  {lab / Church Lab}
  \s\MYitems{Rune 4\iRuneIV{}\iDagger{}}
  \s\MYgreens{\gPentagramV{}\gPentagramIV{}}
  \s\MYabils{\multi{4}{\aPurityTest{}}}
}

\NEW{Place}{\pRitualIV}{
  \s\MYname  {Ritual IV}
  \s\MYwhere  {the ocean / bench}
  \s\MYitems{Rune 5\iRuneV{}}
}

\NEW{Place}{\pRitualV}{
  \s\MYname  {Ritual V}
  \s\MYwhere  {anywhere / 24-1 table}
  \s\MYgreens{\gCthulhtFinal{}\gLiaisonFinal{}}
}