On Sat, Dec 22, 2001 at 04:36:45AM -0500, Steven Radziul wrote: > I have been tossing a idea around recently and I wanna toss it out to the > List to see what Ya all think bout it. I want to see if there is perhaps a > better way to do this. This is with Player Owned Shops.. > > First off this is a idea, I haven't written any code up yet, but I am going > through this and thinking bout how I would implement it.
You want to have my idea of how it would work? Assume to have the following features: - rooms with autosave function every n minutes. - chest with owner-features (i.e. nobody can use it except the owners) - ability to interrupt the list, buy and sell commands before and after they are done. When a player does "list", the mob takes all the objects from the chest, does the list command and puts them back. When a player does "buy", the mob takes all the objects from the chest, sells one and puts them back (money included) When a player does "sell", the mob take the object and puts it in the chest. The interrupt should be done via a mob-program. This way you make sure that the shop-player doesn't loose its money/objects because they're autosaved every n minutes. And the shopkeeper-player just has to play with the stuff in the chest to increase/decrease the amount of objects in the shop. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org [EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/

