diff --git a/mods/HELP/doc/doc_items/README.md b/mods/HELP/doc/doc_items/README.md index d18a62ea9..c163fea87 100644 --- a/mods/HELP/doc/doc_items/README.md +++ b/mods/HELP/doc/doc_items/README.md @@ -1,4 +1,4 @@ -# Item Help [`doc_items`] (Version 1.1.0) +# Item Help [`doc_items`] (Version 1.1.1) ## Description Automatically generated help texts of blocks, tools, weapons, crafting items and other items. diff --git a/mods/HELP/doc/doc_items/init.lua b/mods/HELP/doc/doc_items/init.lua index f0ba8126f..baa3ef4f5 100644 --- a/mods/HELP/doc/doc_items/init.lua +++ b/mods/HELP/doc/doc_items/init.lua @@ -592,10 +592,9 @@ doc.add_category("nodes", { formstring = entry_image(data) datastring = factoids_header(data, "nodes") + local liquid = data.def.liquidtype ~= "none" if not forbidden_core_factoids.basics then datastring = datastring .. S("Collidable: @1", yesno(data.def.walkable)) .. "\n" - local liquid - if data.def.liquidtype ~= "none" then liquid = true else liquid = false end if data.def.pointable == true then datastring = datastring .. S("Pointable: Yes") .. "\n" elseif liquid then