objects/obj_container.lua@cc66ad6b0d75
objects/obj_container.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)
classes.obj_container = {
_properties = {
name = "container",
longname = "a container",
desc = "You see an ordinary container"
},
};
function classes.obj_container:_create(e)
local obj = classes.default._create(self, e);
obj._contents = { ["in"] = createcontainertable() };
return obj;
end