From 36b09c950d35e9bc7d2e5e4b90c48aef1220e37e Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Mon, 24 Feb 2014 14:24:03 +0400 Subject: [PATCH] Actually export to lua a few functions that are documented as available. --- library/LuaApi.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index c64ad6634..435360964 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -1368,6 +1368,9 @@ static const LuaWrapper::FunctionReg dfhack_units_module[] = { WRAPM(Units, getVisibleName), WRAPM(Units, getIdentity), WRAPM(Units, getNemesis), + WRAPM(Units, isHidingCurse), + WRAPM(Units, getPhysicalAttrValue), + WRAPM(Units, getMentalAttrValue), WRAPM(Units, isCrazed), WRAPM(Units, isOpposedToLife), WRAPM(Units, hasExtravision),