objects/obj_small_chair.lua

changeset 0
cc66ad6b0d75
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/objects/obj_small_chair.lua	Sat Mar 27 17:43:08 2010 +0000
@@ -0,0 +1,15 @@
+--[[
+A small, simple chair, though it wouldn't be too smart to sit on one of these for too long... :)
+
+by Manole Paul-Sebastian (brokenthorn)
+]]
+
+classes.obj_small_chair =
+{
+	_properties = { name = "chair", longname = "a simple round chair", desc = "You look at the little chair. It's not exactly confortable but if there's nothing else you can sit on..." };
+	_parent = objcat_chairs;	-- I think there's need for a general category for each general type of object (eg. you can sit on most chairs, usually) :Paul
+					-- I don't know how to do that and link the specific functions here... :Paul
+	move		=	function (self, e)
+					e.person:_say("/me pulls the small chair near");
+				end,
+}
\ No newline at end of file

mercurial