mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-30 06:43:45 +01:00
Update to doc_items 1.1.1
parent
53b5754359
commit
4f51af2ebc
@ -1,4 +1,4 @@
|
|||||||
# Item Help [`doc_items`] (Version 1.1.0)
|
# Item Help [`doc_items`] (Version 1.1.1)
|
||||||
## Description
|
## Description
|
||||||
Automatically generated help texts of blocks, tools, weapons, crafting
|
Automatically generated help texts of blocks, tools, weapons, crafting
|
||||||
items and other items.
|
items and other items.
|
||||||
|
@ -592,10 +592,9 @@ doc.add_category("nodes", {
|
|||||||
formstring = entry_image(data)
|
formstring = entry_image(data)
|
||||||
datastring = factoids_header(data, "nodes")
|
datastring = factoids_header(data, "nodes")
|
||||||
|
|
||||||
|
local liquid = data.def.liquidtype ~= "none"
|
||||||
if not forbidden_core_factoids.basics then
|
if not forbidden_core_factoids.basics then
|
||||||
datastring = datastring .. S("Collidable: @1", yesno(data.def.walkable)) .. "\n"
|
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
|
if data.def.pointable == true then
|
||||||
datastring = datastring .. S("Pointable: Yes") .. "\n"
|
datastring = datastring .. S("Pointable: Yes") .. "\n"
|
||||||
elseif liquid then
|
elseif liquid then
|
||||||
|
Loading…
Reference in New Issue
Block a user