objects/obj_drinks.lua

Sat, 27 Mar 2010 17:43:08 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 27 Mar 2010 17:43:08 +0000
changeset 0
cc66ad6b0d75
permissions
-rw-r--r--

Initial commit (importing from old SVN repo which got lost)


--[[
A general 'drinks' object

by Manole Paul-Sebastian (brokenthorn)
]]

classes.obj_window =
{
	_properties = { name = "drinks", longname = "various drinks", desc = "You see various drinks in various containers." };
	_parent = nil;	

	drink	=	function (self, e)
					e.person:_say("/me drinks"); -- too simple message?
				end,

	-- other functions that could be writen: 'taste','buy','sell','open'
}

mercurial