diff --git a/src/database/items.lua b/src/database/items.lua index e05470a..3510f73 100644 --- a/src/database/items.lua +++ b/src/database/items.lua @@ -29,6 +29,18 @@ function lifeCapsule(t) } end +function item(t) + assert(t.name and t.map and t.id and t.getText) + return { + name = t.name, + map = t.map, + getText = t.getText, + command = ("