<html><head><title>File key.c
</title></head><body bgcolor="#ffffff" TEXT="#000030" LINK="#4a529c" VLINK="#b57339">[ <a href="index.html">Package Index</a></code> | <a href="index_std.html">Mudlib Index</a></code> | <a href="index_eff.html">Effect Index</a></code> ]<br><h2>File /std/key.c</h2>
A key object.  This provides a nice easy way to create keys.
<p>Written by ceres
<hr><h2>Inherits</h2>
This class inherits the following classes <a href="std.object.c.html">/std/object.c</a><hr><h2>Includes</h2>
This class includes the following files <a href="include.shops.engrave.h.html">/include/shops/engrave.h</a><hr><h2>Method index</h2>
<dl><dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o ">
<a href="#set_key"><b>set_key</b></a>(string, string)<dd>
Setup the key.
</dl><hr><h2>Public Functions</h2>
These are functions that everyone can access.<p><dl>
.<dt><a name="set_key">
<img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>set_key</b></a><pre>
void set_key(string str,
             string prop)
</pre><dd>
Setup the key.  This method handles setting up the short, plural,
adjectives etc.
<p>
<dd><dl>
<dt><b>Parameters:</b>
<dd>str - The short of the key (minus the word 'key')
<dd>prop - The key property (should match the lock)
</dl>
</dl>
<hr>
<center><font size="-1"><a href="http://discworld.imaginary.com/login.html">Discworld MUD</a>'s distribution world wide web pages.<br>brought to you by<br><strong>Cut Me Own Throat Dibbler's <a href="http://discworld.imaginary.com/sausages.html">Sensational Sausages</a>; buy one while they are hot.</strong><br>File last modified: Sat, 06 Sep 2003 03:09:16 GMT<br>
<hr>Lost?  Try Discworld's <a href="http://discworld.imaginary.com/">home page</a>.</center></body></html>