Re: [CODE] Physics

From: Christoffer Lundberg (avatar@ORION.BODEN.SE)
Date: 01/09/98


On Thu, 8 Jan 1998, Tony Robbins wrote:

> I was thinking about physics, and I've seen it done so I know it's possible.
>
> The sinking object patch is a great start, what I'm trying to do is make it
> so that if there is an underwater room below where the object is dropped,
> it sinks to that room rather than being extracted.
>
> Same situation with air.  If there's a room below, it drops.  If not it is
> extracted.  The falling update could be told to stop if the room it is in
> is !SECT_FLYING or whatever.
>
> Any ideas?
> -B.

Well, I have implemented almost the same thing, but for players.
If they are occupying a space in open air without FLY, they'll drop
to the room below and get smashed (SPLAT!). This also works if the
player is in a room that is SECT_NOSWIM(i.e. Deep Water) without
WATERWALK. This gives a rule to building rooms that are either
flight or noswim: You must add a room below it.

/Avatar


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



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