Changing where people end up when they die

Posted by Myotis on Wed 06 Nov 2002 09:37 PM — 4 posts, 15,399 views.

#0
I can't seem to find the piece of code that determines where players repop after they get killed. Any help is appreciated.
USA #1
Should be somewhere in mud.h (or whatever the SMAUG equiv of merc.h is), look for _morgue for the location..... at least I believe SMAUG uses a morgue by default.....
#2
I know where to define the room vnums but I wanna make it so that if someone is over a certain level, they repop at a different place than those of a lower level and I can't find where in the code I can set this.
USA #3
That would require actually defining a second morgue. I took the cheap way out of solving this problem on Stormbringer by making the morgue an isolated room once a char is inside and changing the recall point for newbies to the center of our revised academy. As for where to change where ppls recall to after a certain level, take a look at the do_recall function, its probly in act_move somewhere.
Hope that helps a bit.