objects/obj_small_chair.lua

1
--[[
2
A small, simple chair, though it wouldn't be too smart to sit on one of these for too long... :)
3
 
4
by Manole Paul-Sebastian (brokenthorn)
5
]]
6
 
7
classes.obj_small_chair =
8
{
9
	_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..." };
10
	_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
11
					-- I don't know how to do that and link the specific functions here... :Paul
12
	move		=	function (self, e)
13
					e.person:_say("/me pulls the small chair near");
14
				end,
15
}