%%%%%
%%
%% This file creates the Item, ItemPacket, ItemFold, ItemEnvelope, and
%% ItemLabel datatypes, and creates macros for each.  These are for
%% various types of in-game items.
%%
%%%%%


%%%%%
%% Item macros are for normal item cards.
\DECLARESUBTYPE{Item}{TransElement}
\PRESETS{Item}{
  \FD\MYtext	{} %% longer text of item
  \FD\MYmark	{} %% possible contents of shaded ``mark'' on card
  \FD\MYbulky	{0} %% potential bulkiness
  \FD\MYcapacity{N/A} %% potential capacity
  \sd\MYlistmap	{\item\MYname\ifx\MYnumber\empty\else\ (\MYnumber)\fi}
  }


%%%%%
%% \prop
%% \unstash
%% \bulky{<number>}
%% \contain{<number>}
%%
%% \prop inside an Item macro labels the card as a prop.  \unstash
%% labels the card as unstashable.  \bulky{n} labels the card as
%% n-hands bulky.  \contain{n} labels the card with n-hands capacity.
\def\prop{%
  \append\MYmark{ ~PROP~ }}
\def\unstash{%
  \append\MYmark{ ~UNSTASHABLE~ }}
\def\bulky#1{%
  \s\MYbulky{#1}%
  \append\MYmark{\mbox{ ~\MYbulky-Hand~Bulky~ }}}
\def\contain#1{%
  \s\MYcapacity{#1}%
  \append\MYmark{\mbox{ ~\MYcapacity-Hand~Capacity~ }}}


%%%%%
%% ItemPacket macros are for item cards with an attached packet.
%% They are a subtype of Item.
\DECLARESUBTYPE{ItemPacket}{Item}
\PRESETS{ItemPacket}{
  \F\MYcontents
  }


%%%%%
%% ItemFold macros are for items represented by just a folded packet.
%% They are a subtype of ItemPacket, with the longer text and ``mark''
%% left blank, since they have no actual item card.
\DECLARESUBTYPE{ItemFold}{ItemPacket}
\PRESETS{ItemFold}{
  \s\MYmark{}
  }


%%%%%
%% ItemEnvelope macros are for items represented by just an envelope.
%% They are a subtype of ItemPacket, with the longer text and ``mark''
%% left blank, since they have no actual item card.
\DECLARESUBTYPE{ItemEnvelope}{ItemPacket}
\PRESETS{ItemEnvelope}{
  \s\MYmark{}
  }


%%%%%
%% ItemLabel macros are for small labels that would get used on
%% physreps, e.g. gun labels.  The ``mark'' is left blank, since
%% it isn't used for these.
\DECLARESUBTYPE{ItemLabel}{Item}
\PRESETS{ItemLabel}{
  \s\MYmark{}
  }


%%%%%
%% \icard[<extras>]{<name>}{<number>}{<text>}
%% \specialicard[<extras>]{<name>}{<number>}{<text>}{<mark>}
%% \itempacket[<extras>]{<name>}{<number>}{<text>}{<mark>}{<contents>}
%% \itemfold{<name>}{<number>}{<text>}{<contents>}
%% \itemenvelope{<name>}{<number>}{<text>}{<contents>}
%% \itemlabel{<name>}{<number>}{<text>}
%%
%% These are wrappers around \INSTANCE, useful for 1-shots.
%%
%% For \icard, \specialicard, and \itempacket, the optional <extras>
%% (in []'s) is for things like \unstash and \bulky{3}.  For example,
%% \icard[\prop\contain{2}]{..}{..}{..}{..} gives an item that has a
%% prop and 3-hands capacity.
%%
%% The last arg (#5) to \specialicard is for anything extra you may
%% want in the ``mark''
\newinstance{Item}{\icard[4][]}{
  \s\MYname{#2}\s\MYnumber{#3}\s\MYtext{#4}#1}
\newinstance{Item}{\specialicard[5][]}{
  \s\MYname{#2}\s\MYnumber{#3}\s\MYtext{#4}\s\MYmark{#5}#1}
\newinstance{ItemPacket}{\itempacket[6][]}{
  \s\MYname{#2}\s\MYnumber{#3}\s\MYtext{#4}\s\MYmark{#5}\s\MYcontents{#6}#1}
\newinstance{ItemFold}{\itemfold[4]}{
  \s\MYname{#1}\s\MYnumber{#2}\s\MYtext{#3}\s\MYcontents{#4}}
\newinstance{ItemEnvelope}{\itemenvelope[4]}{
  \s\MYname{#1}\s\MYnumber{#2}\s\MYtext{#3}\s\MYcontents{#4}}
\newinstance{ItemLabel}{\itemlabel[3]}{
  \s\MYname{#1}\s\MYnumber{#2}\s\MYtext{#3}}


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

% \NEW{Item}{\iTest}{
%   \s\MYname	{Test Item}
%   \s\MYnumber	{0000}
%   \s\MYtext	{A Test Item Card}
%   }
% 
% \NEW{ItemPacket}{\iTestPacket}{
%   \s\MYname	{Test Item}
%   \s\MYnumber	{0000}
%   \s\MYtext	{A Test Item with a big red button.  Open packet if
% 		you press the big red button.}
%   \s\MYcontents	{The item beeps at you.}
%   }
% 
% \NEW{ItemFold}{\iTestFold}{
%   \s\MYname	{Test Food}
%   \s\MYnumber	{0000}
%   \s\MYtext	{open if you eat}
%   \s\MYcontents	{It tastes yummy.}
%   }
% 
% \NEW{ItemEnvelope}{\iTestEnvelope}{
%   \s\MYname	{Test Food}
%   \s\MYnumber	{0000}
%   \s\MYtext	{open if you eat}
%   \s\MYcontents	{It tastes yummy.}
%   }
% 
% \NEW{ItemLabel}{\iTestLabel}{
%   \s\MYname	{Test Gun Label}
%   \s\MYnumber	{0000}
%   \s\MYtext	{Disc gun, loadable to 20 shots.}
%   }

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

\NEW{Item}{\iAtmospherium}{
  \s\MYname	{diridium}
  }
\newcommand{\iDiridium}[1]{\iAtmospherium{#1}}

\NEW{Item}{\iRobe}{
  \s\MYname     {Amulet}
  \s\MYtext     {A graven amulet bearing the likeness of an unspeakable
    god on one side and an eldritch ciruit on the other.}  
  }

\NEW{Item}{\iWizardHat}{
  \s\MYname     {Coral Circlet}
  \s\MYtext     {A bloodstained, sea-darkened crown of coral with dark
    runes inscribed upon it.}
  }

\NEW{Item}{\iBomb}{
  \s\MYname     {geometric wave-pulse detonator}
  \s\MYtext     {A big mechanical box full of wires}
  }

\NEW{Item}{\iReligiousArtifact}{
  \s\MYname{Pillar of the Depths}
  \s\MYtext{\TODO{describe religious artifact}}
  }

\NEW{Item}{\iRuneI}{
  \s\MYname{}
  \s\MYtext{
  \begin{center}
  \includegraphics{\postscript/rune1.eps}
  \end{center}}
  }

\NEW{Item}{\iRuneII}{
  \s\MYname{}
  \s\MYtext{
  \begin{center}
  \includegraphics{\postscript/rune2.eps}
  \end{center}}
  }

\NEW{Item}{\iRuneIII}{
  \s\MYname{}
  \s\MYtext{
  \begin{center}
  \includegraphics{\postscript/rune3.eps}
  \end{center}}
  }

\NEW{Item}{\iRuneIV}{
  \s\MYname{}
  \s\MYtext{
  \begin{center}
  \includegraphics{\postscript/rune4.eps}
  \end{center}}
  }

\NEW{Item}{\iRuneV}{
  \s\MYname{}
  \s\MYtext{
  \begin{center}
  \includegraphics[angle=270]{\postscript/rune5.eps}
  \end{center}}
  }

\NEW{Item}{\iAltRune}{
  \s\MYname{}
  \s\MYtext{
  \begin{center}
  \includegraphics{\postscript/altritual.eps}
  \end{center}}
  }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%  Random circuitry and computer frobs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\NEW{Item}{\iPDA}{
  \s\MYname{Occult PDA}
  \s\MYtext{A standard Treo with a very non-standard
              daughterboard. Useful for interacting with certain
              computers and for generating occult effects}
}

\NEW{Item}{\iSmallCap}{
  \s\MYname{60mF Capacitor}
  \s\MYtext{A very small capacitor. Useful for all kinds of circuits.
\begin{center}
\includegraphics{\postscript/Capacitor_symbol.eps}
\end{center}
  }
}
\NEW{Item}{\iMedCap}{
  \s\MYname{80mF Capacitor}
  \s\MYtext{A midsize capacitor. Useful for all kinds of circuits.
\begin{center}
\includegraphics{\postscript/Capacitor_symbol.eps}
\end{center}
  }
}
\NEW{Item}{\iBigCap}{
  \s\MYname{1F Capacitor}
  \s\MYtext{A large capacitor. Useful for all kinds of circuits.
\begin{center}
\includegraphics{\postscript/Capacitor_symbol.eps}
\end{center}
  }
  \bulky{1}
}

\NEW{Item}{\iSmallResist}{
  \s\MYname{100$\Omega$ Resistor}
  \s\MYtext{A small resistor. Useful for all kinds of circuits.
\begin{center}
\includegraphics{\postscript/resistor.eps}
\end{center}
 }
}

\NEW{Item}{\iMedResist}{
  \s\MYname{500$\Omega$ Resistor}
  \s\MYtext{A medium resistor. Useful for all kinds of circuits.
\begin{center}
\includegraphics{\postscript/resistor.eps}
\end{center}
 }
}

\NEW{Item}{\iBigResist}{
  \s\MYname{1k$\Omega$ Resistor}
  \s\MYtext{A big resistor. Useful for all kinds of circuits.
\begin{center}
\includegraphics{\postscript/resistor.eps}
\end{center}
 }
}

\NEW{Item}{\iInductor}{
  \s\MYname{Inductor}
  \s\MYtext{An inductor. Useful for all kinds of circuits.
 \begin{center}
\includegraphics{\postscript/inductor.eps}
\end{center}
 }
}

\NEW{Item}{\iPower}{
  \s\MYname{Occult Power Source}
  \s\MYtext{An occult power source.  Useful for\ldots some kinds of 
circuits, at least.
\begin{center}
\includegraphics{\postscript/battery.eps}
\end{center}
 }
}

\NEW{Item}{\iBeaker}{
  \s\MYname{Laboratory Beaker}
  \s\MYtext{A $500ml$ beaker. Useful for holding and measuring any
              kind of liquid.}
}

\NEW{Item}{\iWire}{
  \s\MYname{Spool of Wire}
  \s\MYtext{A large spool of heavy-gauge copper wire.}
  \bulky{1}
}

\NEW{Item}{\iScrewdriver}{
  \s\MYname{Screwdriver}
  \s\MYtext{A standard phillips-head screwdriver. Great for opening
              computer cases and the like.}
}

\NEW{Item}{\iMultitool}{
  \s\MYname{Multitool}
  \s\MYtext{A Leatherman multitool. No good geek should be without
             one. Can be used in place of a {\bf Screwdriver} or a pair of \textbf{Wire Cutters}}
}

\NEW{Item}{\iHardDrive}{
  \s\MYname{Hard Drive}
  \s\MYtext{A new 400GB hard drive. Mmm, data.}
  \bulky{1}
}

\NEW{Item}{\iPowerCord}{
  \s\MYname{Power Cord}
  \s\MYtext{A very heavy-duty power cable.}
  \bulky{1}
}

\NEW{Item}{\iGroundingCord}{
  \s\MYname{Grounding Cable}
  \s\MYtext{A wristband intended to ground the wearer to protect
              delicate electronics from static electricity.}
}

\NEW{Item}{\iWireCutters}{
  \s\MYname{Wire Cutters}
  \s\MYtext{A pair of heavy-duty wire cutters.}
  \bulky{1}
}

\NEW{Item}{\iSledgehammer}{
  \s\MYname{Sledgehammer}
  \s\MYtext{A very heavy sledgehammer. +1 to CR if wielded}
  \bulky{2}
}

\NEW{Item}{\iRaidController}{
  \s\MYname{RAID Controller}
  \s\MYtext{A large, customized hard drive controller suited to Dunwich's ancient mainframes.}
  \bulky{1}
}

\NEW{Item}{\iPowerSupply}{
  \s\MYname{Power Supply}
  \s\MYtext{A small portable power supply, suitable for a laptop or similar device.}
}

\NEW{Item}{\iMaglite}{
  \s\MYname{Maglite}
  \s\MYtext{A small, very bright aluminium flashlight.\\
  It can be used \textbf{once} in place of a \textbf{Power Supply}.  If you do so, destroy this item.}
}

\NEW{Item}{\iTAOCPIV}{
  \s\MYname{The Art Of Computer Programming, Volume IV}
  \s\MYtext{The one with the Turing-Lovecraft Theorem in it.  Phase-Conjugate Grammars for Extradimensional Summoning.  Better not leave it on the bus.}
}

\NEW{Item}{\iLovecraftBust}{
  \s\MYname{Bust of H. P. Lovecraft.}
  \s\MYtext{A dark, brooding bust.  The eyes seem to follow you...}
}

\NEW{Item}{\iDanseyBiography}{
  \s\MYname{Biography of Claude Dansey}
  \s\MYtext{A glossy biography of Claude Dansey, written by Dale Cooper.}
  \bulky{1}
}

\NEW{Item}{\iLovecraftBooks}{
  \s\MYname{The Collected Works of H. P. Lovecraft}
  \s\MYtext{A heavy set of oddly-stained books.}
  \bulky{1}
}
\NEW{Item}{\iStrossPhoto}{
  \s\MYname{Large Picture of Charles Stross}
  \s\MYtext{A large picture of a bearded Scottish person.  Who is he, anyway?}
}

\NEW{Item}{\iOldDisk}{
  \s\MYname{BeOS Installation Disks}
  \s\MYtext{A set of ancient installation disks for an obscure operating system that never got off the ground.  Shame, that.}
}

\NEW{Item}{\iLISPMachine}{
  \s\MYname{Ancient LISP Machine}
  \s\MYtext{A large, archaic beige box with a monochrome display and an external power supply.  Why the Laundry keeps it around, you couldn't begin to guess.}
  \bulky{3}
  }

\NEW{Item}{\iEmptyNoHands}{
  \s\MYname{\rule{2in}{0.5pt}}
  \s\MYtext{Write the name of this item on the line above}
}

\NEW{Item}{\iEmptyOneHand}{
  \s\MYname{\rule{2in}{0.5pt}}
  \s\MYtext{Write the name of this item on the line above}
  \bulky{1}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%  Soul machine
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\NEW{Item}{\iSoulMachine}{
  \s\MYname{Black Box}
  \s\MYnumber{7391}
  \s\MYtext{A black box. There's a glass window, but all you can see 
inside is an opaque, swirly silver liquid.}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%  Weapons
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\NEW{ItemLabel}{\iTrident}{
  \s\MYname{Trident}
  \s\MYtext{A wicked looking trident. Adds 1 to your CR when wielded,
    {\bf edged} weapon}
  \bulky{1}
}

\NEW{ItemLabel}{\iTazer}{
  \s\MYname{Tazer}
  \s\MYtext{A 3.6 mA tazer.}
}

\NEW{ItemLabel}{\iGun}{
  \s\MYname{Gun}
  \s\MYtext{A Walther PPK. Loadable to 20 shots.}
}

\NEW{Item}{\iDagger}{
  \s\MYname{Silver Dagger}
  \s\MYtext{A wicked-looking silver dagger with strange runes inscribed 
    on it. +1 to CR, {\bf edged} weapon.}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%  Research Packets
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{ItemPacket}{\iPRI}{
  \s\MYname     {Project \wFirstPRBlueprint{\MYproject}-1}
  \s\MYtext     {If you have the proper research abilities and 
project number, you may 
    open the attached whitesheet if you construct the following geometric figures: 
  Circles of radius $r$, $2r$, and $3r$ (for some $r$)}
  \s\MYcontents {There's a pointer to Laundry Internal Document
    \#\wSecondPRBlueprint{\MYcode}. Maybe it has more plans you need.}
  \notransfer
  }

\NEW{ItemPacket}{\iPRII}{
  \s\MYname     {Project \wFirstPRBlueprint{\MYproject}-2}
  \s\MYtext     {If you have the proper research abilities and project
    number, you may open the attached whitesheet if you construct the
    following geometric figures: A regular pentagon}
  \s\MYcontents {}
  \notransfer
  }

\NEW{ItemPacket}{\iPRIII}{
  \s\MYname     {Project \wSecondPRBlueprint{\MYproject}-1}
  \s\MYtext     {If you have the proper research abilities and project
    number, you may open the attached whitesheet if you construct the
    following geometric figures: A $37.5^\circ$ angle}
  \s\MYcontents {It seems Laundry Internal Document \#\wThirdPRBlueprint{\MYcode} contains more
    details about the device.}
  \notransfer
  }

\NEW{ItemPacket}{\iPRIV}{
  \s\MYname     {Project \wSecondPRBlueprint{\MYproject}-2}
  \s\MYtext     {If you have the proper research abilities and project
    number, you may open the attached whitesheet if you construct the
    following geometric figures: A 30-60-90 triangle}
  \s\MYcontents {}
  \notransfer
  }

\NEW{ItemPacket}{\iPRV}{
  \s\MYname     {Project \wThirdPRBlueprint{\MYproject}-1}
  \s\MYtext     {If you have the proper research abilities and project
    number, you may open the attached whitesheet if you construct the
    following geometric figures: A parallelogram with a $30^\circ$
    angle}
  \s\MYcontents {It looks like Document \#\wFourthPRBlueprint{\MYcode}
    should have enough information to finish this thing.}

  \notransfer
  }

\NEW{ItemPacket}{\iPRVI}{
  \s\MYname     {Project \wThirdPRBlueprint{\MYproject}-2}
  \s\MYtext     {If you have the proper research abilities and 
    project number, you may
    open the attached whitesheet if you construct the following 
    geometric figures: A regular tic-tac-toe board
    (no outside border required)}
  \s\MYcontents {}
  \notransfer
  }

\NEW{ItemPacket}{\iPRVII}{
  \s\MYname     {Project \wFourthPRBlueprint{\MYproject}-1}
  \s\MYtext     {If you have the proper research abilities and 
    project number, you may open the attached whitesheet if
    you construct the following geometric figures:
    A regular six-pointed star}
  \s\MYcontents {}
  \notransfer
  }

\NEW{ItemPacket}{\iPRVIII}{
  \s\MYname     {Project \wFourthPRBlueprint{\MYproject}-2}
  \s\MYtext     {If you have the proper research abilities and 
project number, you may open the attached whitesheet if you 
construct the following geometric figures:
    A circle inscribed in a square}
  \s\MYcontents {}
  \notransfer
  }

\NEW{ItemPacket}{\iBombPwr}{
  \s\MYname     {Project 7539}
  \s\MYtext     {If you have the proper research abilities and 
    project number, you may open the attached whitesheet if you 
construct the following geometric figures:
    A $37.5^\circ$ angle}
  \s\MYcontents {}
  \notransfer
  }

\NEW{ItemPacket}{\iBetaSuitI}{
  \s\MYname     {Project \iWetSuit{\MYnumber}}
  \s\MYtext     {If you have the proper research abilities and 
    project number, you may open this packet and remove if you 
    construct the following geometric figure: 
    A regular six-pointed star}
  \s\MYcontents {The Laundry is really bad at organization. The 
    notes here are inconclusive and mention that further research has 
    been done. It points to Project 4718.}
  \notransfer
  }

\NEW{ItemPacket}{\iBetaSuitII}{
  \s\MYname    {Project 4718}
  \s\MYtext    {If you have the proper research abilities and 
    project number, you may open this packet and remove its contents if 
    you construct the following geometric figure: 
   A regular square}
  \s\MYcontents {This is a blueprint for water retention technology 
    that allows the Deep Ones to stay on land without immersing 
    themselves in water every hour.}
  \notransfer
  }

\NEW{ItemPacket}{\iSanI}{
  \s\MYname     {Project 4027}
  \s\MYtext     {If you have the proper research abilities and 
    project number, you may
    open this packet if you construct the following geometric figure:
    Diamond where the width is the same length as an edge.
  }
  \s\MYcontents {One of the chemicals needed to synthesize the Dansean 
    neuromonadic realignment infusion. If you have both, you 
    can spend two minutes in the Church Lab to mix the two chemicals needed 
    together. Open the packet labelled Project 6291 if you do so.}
  \notransfer
  }

\NEW{ItemPacket}{\iSanII}{
  \s\MYname     {Project 4162}
  \s\MYtext     {If you have the proper research abilities and 
    project number, you may open this packet if you construct the 
    following geometric figures: a 5-12-13 triangle.}
  \s\MYcontents {One of the chemicals needed to synthesize the Dansean 
    neuromonadic realignment infusion. If you have both, you 
    can spend two minutes in the Church Lab to mix the two chemicals needed 
    together. Open the packet labelled Project 6291 if you do so.}
  \notransfer
  }

\NEW{ItemPacket}{\iSanIII}{
  \s\MYname     {Project 4571}
  \s\MYtext     {If you have the proper research abilities and 
    project number, you may open this packet if you construct the 
    following geometric figure:
    A regular hexagon}
  \s\MYcontents {Once you have the Dansean neuromonadic realignment 
    infusion, you must wash yourself three times in the cleansing waters of 
    the ocean while someone not of this dimension chants a 
    healing mantra over you. The mantra is ``Sabbe satta sukhi hontu.'' 
    Consume the Dansean neuromonadic realignment infusion when this is 
    complete, and consult a GM}
  \notransfer
  }

\NEW{ItemPacket}{\iSanDrug}{
  \s\MYname    {Project 6291}
  \s\MYtext    {You may only open this packet if instructed to.}
  \s\MYcontents {Destroy \iIngredientOne{} and \iIngredientTwo{} now.}
}

\NEW{Item}{\iIngredientOne}{
  \s\MYname     {Ingredient one}
  \s\MYtext     {A fine orange powder}
}
\NEW{Item}{\iIngredientTwo}{
  \s\MYname     {Ingredient two}
  \s\MYtext     {A bluish paste}
}

\NEW{Item}{\iDrug}{
  \s\MYname{Dansean Neuromonadic Realignment Infusion}
  \s\MYtext{The Dansean neuromonadic realignment infusion, an 
    experimental drug believed to help cure mental instability. 
    You need to use it properly, though.}
}

\NEW{Item}{\iBombPartOne}{
  \s\MYname{Potentiometric Spatial Grid Projector}
  \s\MYtext{A small black box with wires protruding from it.}
  \bulky{1}
}

\NEW{Item}{\iBombPartTwo}{
  \s\MYname{Aquatic Pulse Calibrator}
  \s\MYtext{A strange, helical device.  Several patches of bare metal are visible on one side.}
  \bulky{1}
}

\NEW{Item}{\iBombPartThree}{
  \s\MYname{Dho-Nha Curve Generator}
  \s\MYtext{A plate engraved with a strange, fractal design, with circuit elements soldered around the periphery.}
  \bulky{1}
}

\NEW{Item}{\iBombPartFour}{
  \s\MYname{Singularity Retention Cube}
  \s\MYtext{A solid block of pure crystal, several inches on a side.  It seems to drink in the light.}
  \bulky{1}
  }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Computer files
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\DECLARESUBTYPE{File}{Item}
\PRESETS{File}{
  \def\lefttop {Computer printout}
  }

\newcommand{\personnel}[3]{
  \NEW{File}{#1}{
        \s\MYname {Personnel record: #2{\full}}
        \s\MYtext {
             \def\me{#2}
             \begin{center}
                  Laundry internal personnel file on
                  \me{}. \\ #3
             \end{center}}
  }
}

\NEW{File}{\iPaperclips}{
  \s\MYname    {Paperclip audit}
  \s\MYtext    {A spreadsheet detailing paperclip allocation
               in the HR department}
}

\NEW{File}{\iMorrowind}{
  \s\MYname    {Morrowind Logs}
  \s\MYtext    {Logs detailing Bob Howard's Morrowind playing over
               the last week}
}

\NEW{File}{\iResearch}{
  \s\MYname    {Research Papers}
  \s\MYtext    {A paper entitled, ``Some Notes Toward a Proof of
               Polynomial Completeness in Hamiltonian Networks''}
}

\NEW{File}{\iOrgChart}{
  \s\MYname    {Organizational Chart}
  \s\MYtext    {An org chart showing the grid of matrix management
                that makes up the chain of command at \gameloc{}}
}

\NEW{File}{\iBudget}{
  \s\MYname     {Departmental budget}
  \s\MYtext {An itemized budget for Dunwich's Paranormal Research
    division. It's done in such painstaking detail you can't imagine
    how anyone could actually care that much}
}

\NEW{File}{\iCNG}{
  \s\MYname     {CASE NIGHTMARE GREEN}
  \s\MYtext     {Some documents classified CASE NIGHTMARE GREEN. You
    don't have the code to decrypt them}
}

\NEW{File}{\iGAR}{
  \s\MYname     {GAME ANDES REDSHIFT}
  \s\MYtext     {Some documents classified GAME ANDES REDSHIFT. You
    don't have the code to decrypt them}
}

\NEW{File}{\iEKY}{
  \s\MYname     {EPSILON KISMET YELLOW}
  \s\MYtext     {Some documents classified EPSILON KISMET YELLOW. 
    You don't have the code to decrypt them}
}

\personnel{\iPBlackChamberOp}{\cBlackChamberOp}{
        It says \me{\they}'s originally from the US
}

\personnel{\iPCDHead}{\cCDHead}{
  \me{\They} advanced quickly to the position of lead CD on base.
}

\personnel{\iPCDIntSec}{\cCDIntSec}{
  \me{\They} recently returned from a secret training mission
}

\personnel{\iPDemon}{\cDemon}{
        Every test \bLaundry{} researchers have done has confirmed,
        \me{\their} soul is, somehow fully human
}

%% Blackmail plot!
\personnel{\iPLaundryCaptain}{\cLaundryCaptain}{ 
  That's interesting. \me{\Their} resum\'e lists a proud
  tour of duty as a lieutenant with SAS, but these files show
  \me{\them} was dishonorably discharged. You bet people
  would like to know about this.  
}

\personnel{\iPNegotiator}{\cNegotiator}{
   \me{\They} used to be a field agent with the laundry, but got
   promoted to middle management
}

\personnel{\iPPRSoulless}{\cPRSoulless}{
   \me{\They} used to be a very promising agent, but recently their
   performance reviews have been increasingly poor
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Int Sec
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{Item}{\iWarrantCard}{
  \s\MYname {\gIntSec{} warrant card}
  \s\MYtext {This card proves that the bearer is an agent of
    \gIntSec{}. If you look closely, you see it shimmering oddly
    somehow}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Rift Closing Device
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{Item}{\iRiftCloser}{
  \s\MYname {Tillinghast geometry web collapser}

  \s\MYtext {A silvery, sleek-looking PDA. \\ {\em This is made of
      legos. It can be taken apart and put back together again. In
      order for it to work, it must be whole. Kludge: Even if broken,
      the pieces must stay in the same place} 
} 

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%% Fish 'N' Chips                    
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                                                                          

\NEW{ItemEnvelope}{\iFishNChips}{
  \s\MYname     {A plate of fish 'n' chips.}
  \s\MYtext     {It smells greasy and good. Open if you eat}
  \s\MYcontents {Mmm.  Good old British cooking.  That was deliciously filling.}
  }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Alpha Wetsuits
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\NEW{Item}{\iWetSuit}{
   \s\MYname    {\bAlpha{} water-retention suit}
   \s\MYnumber  {8269}
   
   \s\MYtext { 
     A full-body wetsuit designed for a member of \bAlpha{}. Made of
     some strange synthetic material.
     % This advanced water retention technology allows the Deep
     % Ones to stay on land without immersing themselves in water every
     % hour. It can be put on or taken off with a ten count.
   }

   \bulky{1}
   \unstash
  }

\NEW{Item}{\iFakeWetSuit}{
   \s\MYname    {\bBeta{} water-retention suit}
   \s\MYnumber  {8269}
   
   \s\MYtext { 
     A full-body wetsuit designed for a member of \bBeta{}. Made of
     some strange synthetic material. Not bulky if worn.
     % This advanced water retention technology allows the Deep
     % Ones to stay on land without immersing themselves in water every
     % hour. It can be put on or taken off with a ten count.
   }

   \bulky{1}
   \unstash
  }