objects/obj_drinks.lua

changeset 0
cc66ad6b0d75
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/objects/obj_drinks.lua	Sat Mar 27 17:43:08 2010 +0000
@@ -0,0 +1,18 @@
+
+--[[
+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'
+}
\ No newline at end of file

mercurial