From 69e5730f77dde00c693d92ae5c114112e6a0a26e Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sat, 14 Jan 2023 01:07:18 -0800 Subject: [PATCH] document dfhack.job.removeJob() --- docs/dev/Lua API.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/dev/Lua API.rst b/docs/dev/Lua API.rst index 33b48c0a7..49e275578 100644 --- a/docs/dev/Lua API.rst +++ b/docs/dev/Lua API.rst @@ -1144,6 +1144,10 @@ Job module Prints info about the job item. +* ``dfhack.job.removeJob(job)`` + + Cancels a job, cleans up all references to it, and removes it from the world. + * ``dfhack.job.getGeneralRef(job, type)`` Searches for a general_ref with the given type.