objects/obj_drinks.lua

1
--[[
2
A general 'drinks' object
3
 
4
by Manole Paul-Sebastian (brokenthorn)
5
]]
6
 
7
classes.obj_window =
8
{
9
	_properties = { name = "drinks", longname = "various drinks", desc = "You see various drinks in various containers." };
10
	_parent = nil;	
11
 
12
	drink	=	function (self, e)
13
					e.person:_say("/me drinks"); -- too simple message?
14
				end,
15
 
16
	-- other functions that could be writen: 'taste','buy','sell','open'
17
}