User Comments For: Furniture
By: Aurin
So THAT'S what the furniture snippet everyone was talking about is. *LOL* Wish I knew about that almost a year ago, wouldn'ta had to work through it myself and do the fixes on my own.
Still, it doesn't allow for players that "bump" a wall while standing. That should also drop you off the furniture. Nor do I see it dropping you off the furniture if you leave the room, which means the pfile will still think the player is standing on that furniture when they go into another room, so will not be able to perform any actions other than move until they get off the furniture. Additions would need to be mead in each of the do_ functions to stop that bug.
Add the following in each of the do_ functions, before any other check:
You can add a send_to_char in there for information to the char if you desire. I didn't care. :P
Still, it doesn't allow for players that "bump" a wall while standing. That should also drop you off the furniture. Nor do I see it dropping you off the furniture if you leave the room, which means the pfile will still think the player is standing on that furniture when they go into another room, so will not be able to perform any actions other than move until they get off the furniture. Additions would need to be mead in each of the do_
Add the following in each of the do_
/* * Fix to get people off of objects if they're standing on one, while trying to move. - Aurin */ if(ch->on != NULL) do_stand(ch, (char *)"\0");
You can add a send_to_char in there for information to the char if you desire. I didn't care. :P