objects/obj_bar.lua

--[[
A bar. No, no free drinks!

by Manole Paul-Sebastian (brokenthorn)
]]

classes.obj_bar =
{
	_properties = { name = "bar", longname = "a large bar", desc = "You get closer to the bar and the bartender asks if you want a drink." };
	_parent = nil;
	sit		=	function (self, e)
					e.person:_say("/me pulls a chair");
					e.person:_say("/me sits quietly at the bar");
					-- bartender should ask if he/she wants a drink here...
				end,
}