From dbfef7b7f07bcbc4d4eecbba97a5c9dcd24ba579 Mon Sep 17 00:00:00 2001 From: Allanis <allanis@saracraft.net> Date: Fri, 8 Feb 2013 20:29:34 +0000 Subject: [PATCH] [Add] Documentation for new Lua calls. --- scripts/ai/API | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/ai/API b/scripts/ai/API index 1f0f653..923e150 100644 --- a/scripts/ai/API +++ b/scripts/ai/API @@ -46,6 +46,18 @@ minbrakedist() -- Returns the minimum required braking distance assuming all goes well. -- return number distance needed to brake. +armor() + -- Returns the total amount of armor left. + +shield() + -- Returns the total amount of shield left. + +parmor() + -- Returns the percentage of armor remaining. + +pshield() + -- Returns the percentage of shield remaining. + // ================ // BOOLEAN! // ================