Furniture

Posted by Metsuro on Mon 22 May 2006 10:52 PM — 7 posts, 28,107 views.

USA #0
Alright objects can be furniture... but theres no actual way to sit on them, or anything of that fashion is there? If not what might be the easiest way to allow players to sit on them? and have them displayed as players on them?
USA #1
Being able to sit, lie or rest on furniture has been a part of my MUD far before I took over the coding -- and the MUD was originally SMAUG 1.0. I'd be moderately surprised if this wasn't a standard feature of SMAUG by now.
USA #2
Looking at do_sit... doesn't make me think as much, but I could be wrong, and just not seeing how it works?
USA #3
I'll be darned; it doesn't appear to be a standard feature.

I googled for "SMAUG sit snippet" and found this:
http://www.rafermand.net/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=29&ttitle=Furniture

It'll probably do the trick for you, although I admit that I didn't actually download it.
USA #4
Then I'll vouch for it for you, as I do use that snippet and it does work well enough for my mud.
USA #5
alright, I took a quick look at it, to tired to try to put it in, but I didn't see if it could only handle one person per object to sit on and such? so I would need a way to try give an object an amount of how many can sit on it, and then a way to store how many are sitting on it. I could use a value for the first, but then how might I do the second part?
USA #6
Hey Saito!

Just a quick side-note on the furniture code...
Our mud has been using it for quite a while. We love it. We have noticed, however, that recalling while utilizing the funiture will result in you showing up to the recall point as if you were still on/in the object. You'll look as if you're still sitting on a chair, etc. to everyone walking by. The issue was fixed a long while back on our mud.. I'd suggest you consider updating yours to do the same, assuming you install the snippet. :)

Best,
Tzaro