Skip to content

Commit 111626c

Browse files
committed
add namespace to timer api docs
1 parent a122efd commit 111626c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/dev/Lua API.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,30 +1811,30 @@ Timers will be capped to go no lower than 1.
18111811

18121812
API functions:
18131813

1814-
* ``subtractActionTimers(unit, amount, affectedActionType)``
1814+
* ``dfhack.units.subtractActionTimers(unit, amount, affectedActionType)``
18151815

18161816
Subtract ``amount`` (32-bit integer) from the timers of any actions the unit is performing of ``affectedActionType``
18171817
(usually one or zero actions in normal gameplay).
18181818

1819-
* ``subtractGroupActionTimers(unit, amount, affectedActionTypeGroup)``
1819+
* ``dfhack.units.subtractGroupActionTimers(unit, amount, affectedActionTypeGroup)``
18201820

18211821
Subtract ``amount`` (32-bit integer) from the timers of any actions the unit is performing that match the ``affectedActionTypeGroup`` category.
18221822

1823-
* ``multiplyActionTimers(unit, amount, affectedActionType)``
1823+
* ``dfhack.units.multiplyActionTimers(unit, amount, affectedActionType)``
18241824

18251825
Multiply the timers of any actions of ``affectedActionType`` the unit is performing by ``amount`` (float)
18261826
(usually one or zero actions in normal gameplay).
18271827

1828-
* ``multiplyGroupActionTimers(unit, amount, affectedActionTypeGroup)``
1828+
* ``dfhack.units.multiplyGroupActionTimers(unit, amount, affectedActionTypeGroup)``
18291829

18301830
Multiply the timers of any actions that match the ``affectedActionTypeGroup`` category the unit is performing by ``amount`` (float).
18311831

1832-
* ``setActionTimers(unit, amount, affectedActionType)``
1832+
* ``dfhack.units.setActionTimers(unit, amount, affectedActionType)``
18331833

18341834
Set the timers of any action the unit is performing of ``affectedActionType`` to ``amount`` (32-bit integer)
18351835
(usually one or zero actions in normal gameplay).
18361836

1837-
* ``setGroupActionTimers(unit, amount, affectedActionTypeGroup)``
1837+
* ``dfhack.units.setGroupActionTimers(unit, amount, affectedActionTypeGroup)``
18381838

18391839
Set the timers of any action the unit is performing that match the ``affectedActionTypeGroup`` category to ``amount`` (32-bit integer).
18401840

0 commit comments

Comments
 (0)