forked from Mineclonia/Mineclonia
Update doc_items (fake items)
This commit is contained in:
parent
e09955f0fb
commit
001b0cc49f
|
@ -351,6 +351,13 @@ definitions are already automatically added to this factoid.
|
|||
* `dig_immediate`: This group is already covered by the default factoids of this
|
||||
mod
|
||||
|
||||
|
||||
## Groups interpretations
|
||||
Nodes which are technically a liquid will not be considered liquids by this mod
|
||||
if the group `fake_liquid=1` is used. Useful for stuff like cobwebs.
|
||||
|
||||
|
||||
|
||||
## Dependencies
|
||||
If you only add the custom fields to your items, you do *not* need to depend
|
||||
on this mod. If you use anything else from this mod (e.g. a function), you
|
||||
|
|
|
@ -592,7 +592,7 @@ doc.add_category("nodes", {
|
|||
formstring = entry_image(data)
|
||||
datastring = factoids_header(data, "nodes")
|
||||
|
||||
local liquid = data.def.liquidtype ~= "none"
|
||||
local liquid = data.def.liquidtype ~= "none" and minetest.get_item_group(data.itemstring, "fake_liquid") == 0
|
||||
if not forbidden_core_factoids.basics then
|
||||
datastring = datastring .. S("Collidable: @1", yesno(data.def.walkable)) .. "\n"
|
||||
if data.def.pointable == true then
|
||||
|
|
Loading…
Reference in New Issue