Actually export to lua a few functions that are documented as available.

develop
Alexander Gavrilov 2014-02-24 14:24:03 +04:00
parent 72eb366997
commit 36b09c950d
1 changed files with 3 additions and 0 deletions

@ -1368,6 +1368,9 @@ static const LuaWrapper::FunctionReg dfhack_units_module[] = {
WRAPM(Units, getVisibleName), WRAPM(Units, getVisibleName),
WRAPM(Units, getIdentity), WRAPM(Units, getIdentity),
WRAPM(Units, getNemesis), WRAPM(Units, getNemesis),
WRAPM(Units, isHidingCurse),
WRAPM(Units, getPhysicalAttrValue),
WRAPM(Units, getMentalAttrValue),
WRAPM(Units, isCrazed), WRAPM(Units, isCrazed),
WRAPM(Units, isOpposedToLife), WRAPM(Units, isOpposedToLife),
WRAPM(Units, hasExtravision), WRAPM(Units, hasExtravision),