mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
Update docs to allow non-liquid nodes to use "liquid" drawtype
This commit is contained in:
parent
5a27c05b6a
commit
20bfaba0b7
@ -1411,8 +1411,7 @@ Look for examples in `games/devtest` or `games/minetest_game`.
|
|||||||
* `liquid`
|
* `liquid`
|
||||||
* The cubic source node for a liquid.
|
* The cubic source node for a liquid.
|
||||||
* Faces bordering to the same node are never rendered.
|
* Faces bordering to the same node are never rendered.
|
||||||
* Connects to node specified in `liquid_alternative_flowing`.
|
* Connects to node specified in `liquid_alternative_flowing` if specified.
|
||||||
* You *must* set `liquid_alternative_source` to the node's own name.
|
|
||||||
* Use `backface_culling = false` for the tiles you want to make
|
* Use `backface_culling = false` for the tiles you want to make
|
||||||
visible when inside the node.
|
visible when inside the node.
|
||||||
* `flowingliquid`
|
* `flowingliquid`
|
||||||
@ -9315,10 +9314,8 @@ Used by `minetest.register_node`.
|
|||||||
-- flowing version (`liquid_alternative_flowing`) and
|
-- flowing version (`liquid_alternative_flowing`) and
|
||||||
-- source version (`liquid_alternative_source`) of a liquid.
|
-- source version (`liquid_alternative_source`) of a liquid.
|
||||||
--
|
--
|
||||||
-- Specifically, these fields are required if any of these is true:
|
-- Specifically, these fields are required if `liquidtype ~= "none"` or
|
||||||
-- * `liquidtype ~= "none" or
|
-- `drawtype == "flowingliquid"`.
|
||||||
-- * `drawtype == "liquid" or
|
|
||||||
-- * `drawtype == "flowingliquid"
|
|
||||||
--
|
--
|
||||||
-- Liquids consist of up to two nodes: source and flowing.
|
-- Liquids consist of up to two nodes: source and flowing.
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user