diff options
| author | Alexander Gavrilov | 2012-09-09 17:04:58 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-09-09 17:04:58 +0400 |
| commit | 9679b7729c79888d8bdac99484dfad7a5e07d13e (patch) | |
| tree | b59fb3493a9bbb41d70a5c56059c1686ab99f90e /library/LuaApi.cpp | |
| parent | ec3d489bda19f8ab2a45fbb19d7259ea3f4ad75b (diff) | |
| download | dfhack-9679b7729c79888d8bdac99484dfad7a5e07d13e.tar.gz dfhack-9679b7729c79888d8bdac99484dfad7a5e07d13e.tar.bz2 dfhack-9679b7729c79888d8bdac99484dfad7a5e07d13e.tar.xz | |
Clean up the movement speed calculation function and move into the core.
Diffstat (limited to 'library/LuaApi.cpp')
| -rw-r--r-- | library/LuaApi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index 6caf4557..d39a945d 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -818,6 +818,7 @@ static const LuaWrapper::FunctionReg dfhack_units_module[] = { WRAPM(Units, isOpposedToLife), WRAPM(Units, hasExtravision), WRAPM(Units, isBloodsucker), + WRAPM(Units, isMischievous), WRAPM(Units, getMiscTrait), WRAPM(Units, isDead), WRAPM(Units, isAlive), @@ -826,6 +827,7 @@ static const LuaWrapper::FunctionReg dfhack_units_module[] = { WRAPM(Units, isCitizen), WRAPM(Units, getAge), WRAPM(Units, getEffectiveSkill), + WRAPM(Units, computeMovementSpeed), WRAPM(Units, getProfessionName), WRAPM(Units, getCasteProfessionName), WRAPM(Units, getProfessionColor), |
