objects/obj_small_chair.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 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,
}

mercurial