mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Update doc_items (fake items)
This commit is contained in:
parent
e09955f0fb
commit
001b0cc49f
2 changed files with 8 additions and 1 deletions
|
@ -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
|
* `dig_immediate`: This group is already covered by the default factoids of this
|
||||||
mod
|
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
|
## Dependencies
|
||||||
If you only add the custom fields to your items, you do *not* need to depend
|
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
|
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)
|
formstring = entry_image(data)
|
||||||
datastring = factoids_header(data, "nodes")
|
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
|
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"
|
||||||
if data.def.pointable == true then
|
if data.def.pointable == true then
|
||||||
|
|
Loading…
Reference in a new issue