Heya, On my mud I coded in player owned shops a while ago. What happens is the player goes into the shop and buys a deed from the shopkeeper. When the player buys the deed, the shopkeeper gets a flag set saying that it's a player shopkeeper and the owner of the mob gets set to whoever payed for the deed. Once you own the shop you can give the shopkeeper items to sell, collect gold, set the profit on the items (a percentage of their original worth), and you can see how much gold you've earned. I made it add/delete resets whenever the mob buys/sells an item. If you have any questions about
Hope this gives ya some ideas, -Faramir Aberidion MUD _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com

