Document glasslikeliquidlevel merge bits (#11479)

This commit is contained in:
random-geek 2021-07-25 03:34:53 -07:00 committed by GitHub
parent a049e8267f
commit 5d27cc5096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -247,7 +247,7 @@ Media files (textures, sounds, whatever) that will be transferred to the
client and will be available for use by the mod and translation files for
the clients (see [Translations]).
It is suggested to use the folders for the purpous they are thought for,
It is suggested to use the folders for the purpose they are thought for,
eg. put textures into `textures`, translation files into `locale`,
models for entities or meshnodes into `models` et cetera.
@ -1085,9 +1085,14 @@ The function of `param2` is determined by `paramtype2` in node definition.
palette. The palette should have 32 pixels.
* `paramtype2 = "glasslikeliquidlevel"`
* Only valid for "glasslike_framed" or "glasslike_framed_optional"
drawtypes.
* `param2` values 0-63 define 64 levels of internal liquid, 0 being empty
and 63 being full.
drawtypes. "glasslike_framed_optional" nodes are only affected if the
"Connected Glass" setting is enabled.
* Bits 0-5 define 64 levels of internal liquid, 0 being empty and 63 being
full.
* Bits 6 and 7 modify the appearance of the frame and node faces. One or
both of these values may be added to `param2`:
* 64 - Makes the node not connect with neighbors above or below it.
* 128 - Makes the node not connect with neighbors to its sides.
* Liquid texture is defined using `special_tiles = {"modname_tilename.png"}`
* `paramtype2 = "colordegrotate"`
* Same as `degrotate`, but with colors.
@ -3607,7 +3612,7 @@ A whole number, 1 or more.
Each additional octave adds finer detail to the noise but also increases the
noise calculation load.
3 is a typical minimum for a high quality, complex and natural-looking noise
variation. 1 octave has a slight 'gridlike' appearence.
variation. 1 octave has a slight 'gridlike' appearance.
Choose the number of octaves according to the `spread` and `lacunarity`, and the
size of the finest detail you require. For example: