From 93d9ac76be4d50654c0bc98a4869e8eef9a4d6eb Mon Sep 17 00:00:00 2001 From: myk002 Date: Thu, 12 Nov 2020 23:08:22 -0800 Subject: [PATCH] update docs --- docs/Lua API.rst | 2 +- docs/changelog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Lua API.rst b/docs/Lua API.rst index e017e0a8c..24887cd58 100644 --- a/docs/Lua API.rst +++ b/docs/Lua API.rst @@ -1132,7 +1132,7 @@ Job module Does basic sanity checks to verify if the suggested item type matches the flags in the job item. -* ``dfhack.job.isSuitableMaterial(job_item, mat_type, mat_index)`` +* ``dfhack.job.isSuitableMaterial(job_item, mat_type, mat_index, item_type)`` Likewise, if replacing material. diff --git a/docs/changelog.txt b/docs/changelog.txt index 79179ce5e..ac2e6b55f 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -50,6 +50,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: ## API - `buildingplan`: added Lua interface API +- `job-module`: add item type param to dfhack.job.isSuitableMaterial() so the non_economic flag can be properly handled (it was being matched for all item types instead of just boulders) # 0.47.04-r3