[ Package Index | Mudlib Index | Effect Index ]

File /std/key.c

A key object. This provides a nice easy way to create keys.

Written by ceres


Inherits

This class inherits the following classes /std/object.c

Includes

This class includes the following files /include/shops/engrave.h

Method index

 o set_key(string, string)
Setup the key.

Public Functions

These are functions that everyone can access.

.
 * set_key
void set_key(string str,
             string prop)
Setup the key. This method handles setting up the short, plural, adjectives etc.

Parameters:
str - The short of the key (minus the word 'key')
prop - The key property (should match the lock)

Discworld MUD's distribution world wide web pages.
brought to you by
Cut Me Own Throat Dibbler's Sensational Sausages; buy one while they are hot.
File last modified: Sat, 06 Sep 2003 03:09:16 GMT

Lost? Try Discworld's home page.