Get infravision - through spell or race - and you will find out that you cannot see objects in the room with infravision unless there is another source of light. (n/t):

[ Follow Ups ] [ Post Followup ] [ Dioxide's CForum ]

Posted by Ahem on July 21, 2000 at 21:17:23:

In Reply to: hmm i do a little coding and there is a rather simple way to solve it.(txt) posted by laxman on July 20, 2000 at 05:38:27:

> > > I swear to God himself, that I cannot see my corpse with a race that doesn't automatically have infravision when I'm a ghost until the sun comes up. I can see where I'm walking just fine, and the creatures in the room, but not my corpse.

> >
> > Yeah, I know... it's pretty high up there
> > on my "Big list of shit to fix" (tm). I'll
> > move it to the top of the list, as soon as
> > the issues which have been causing us a lot
> > of trouble lately are resolved.

> okay 2 ways i see of fixing this really easily. first you can just add a part to raw kill that when they move the char to the altar after they remove the affects it then adds an infravision spell to the character.

> if you don't like the idea of gaining an affect upon death then do like with frost fingers and such and create a bit.
> add a line like this to raw_kill
> set_bit(BIT_INFRAVISION)

> while (ch->form != FORM_GHOST)
> remove bit(BIT_INFRAVISION)

>
> or as i come to think about it you could also add to the can_see function a line like

> if (ch->form == FORM_GHOST && (!AFF_BY(gsn_blind) && !AFF_BY(blah blah blah))
> {
> return true;
> }

> hope this helps a bit


Follow Ups:

Post a Followup

Name:
E-mail:
Subject:
Comments:


[ Follow Ups ] [ Post Followup ] [ Dioxide's CForum ]