diff options
| author | Alexander Gavrilov | 2012-09-29 15:18:04 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-09-29 15:18:04 +0400 |
| commit | 48da06ec371421a48f801f6da1add6e437ccfa06 (patch) | |
| tree | cb3763c4be0fe8ec96492381859bfe22dca91427 /library/LuaApi.cpp | |
| parent | 6fd002382f08ee1f39976865e143104d6249f0fd (diff) | |
| download | dfhack-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.cpp | 1 |
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), |
