From 627f689d9c0ba6d98e1d60e5adede796a5031dc9 Mon Sep 17 00:00:00 2001 From: shru Date: Sat, 15 Dec 2018 14:10:40 -0500 Subject: [PATCH] Added Life Pot. --- src/database/items.lua | 31 +++++++++++++++++++++++++++---- src/tsc_file.lua | 2 +- 2 files changed, 28 insertions(+), 5 deletions(-) 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 = ("