Re: [worldbuilding][idea?]

From: Sammy (Samedi@cris.com)
Date: 12/08/96


On Sun, 8 Dec 1996, invincibill wrote:

- has anybody ever thought about writing some code to put a mob inside an
- object?  or has anybody done it yet?  it could provide some neat &
- interesting variations..you could actually carry little worlds around
- with you.  once the code to put mobs in objects was written i would
- imagine it would be the next step to put rooms in objects..course, it
- could get complicated.

This would be really simple and very flexible if you converted people
(including mobs), objects, and rooms into linked list format.  It's no
small chore, but it makes what you're thinking of doing much easier.  You
could simply add an in_object pointer to the char_data structure to put a
mob or person in an object.  You could also have a room->in_object,
room->in_room, or to be really weird, room->in_person.

Sam

+-----------------------------------------------------------+
| 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