summaryrefslogtreecommitdiff
path: root/library/LuaApi.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-29 15:18:04 +0400
committerAlexander Gavrilov2012-09-29 15:18:04 +0400
commit48da06ec371421a48f801f6da1add6e437ccfa06 (patch)
treecb3763c4be0fe8ec96492381859bfe22dca91427 /library/LuaApi.cpp
parent6fd002382f08ee1f39976865e143104d6249f0fd (diff)
downloaddfhack-48da06ec371421a48f801f6da1add6e437ccfa06.tar.gz
dfhack-48da06ec371421a48f801f6da1add6e437ccfa06.tar.bz2
dfhack-48da06ec371421a48f801f6da1add6e437ccfa06.tar.xz
Add an API function for reading the nominal skill level.
Diffstat (limited to 'library/LuaApi.cpp')
-rw-r--r--library/LuaApi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp
index b2d41dc1..dab99f48 100644
--- a/library/LuaApi.cpp
+++ b/library/LuaApi.cpp
@@ -828,6 +828,7 @@ static const LuaWrapper::FunctionReg dfhack_units_module[] = {
WRAPM(Units, isDwarf),
WRAPM(Units, isCitizen),
WRAPM(Units, getAge),
+ WRAPM(Units, getNominalSkill),
WRAPM(Units, getEffectiveSkill),
WRAPM(Units, computeMovementSpeed),
WRAPM(Units, getProfessionName),