Re: [Circle] [Code]

From: Rasmus 'Con' Ronlev (raro94ab@hp4.econ.cbs.dk)
Date: 11/22/96


On Fri, 22 Nov 1996, Ghost Shaidan wrote:

> Here is my problem, I dont care if they sac a corpse, but i would like
> to stop them from sacrificing a container of any type if it has something
> in it, and i cant seem to find a clear example of this anywhere.

if you have a:

atruct obj_data *obj;

then obj->contains is the 'inventory' of an item, and is a list-type
structure.

Hope that hepls,
Con

d.
--
     Rasmus Rønlev DOEK'94      WWW: http://www.econ.cbs.dk/people/raro94ab
     Student instructor         MUD: exiled.mud.circlemud.org 5000
                                         199.199.16.100 5000
       Student, B.Sc in Computer Science and Business Administration.

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST