forked from Mirrorlandia_minetest/minetest
Document glasslikeliquidlevel merge bits (#11479)
This commit is contained in:
parent
a049e8267f
commit
5d27cc5096
@ -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
|
client and will be available for use by the mod and translation files for
|
||||||
the clients (see [Translations]).
|
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`,
|
eg. put textures into `textures`, translation files into `locale`,
|
||||||
models for entities or meshnodes into `models` et cetera.
|
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.
|
palette. The palette should have 32 pixels.
|
||||||
* `paramtype2 = "glasslikeliquidlevel"`
|
* `paramtype2 = "glasslikeliquidlevel"`
|
||||||
* Only valid for "glasslike_framed" or "glasslike_framed_optional"
|
* Only valid for "glasslike_framed" or "glasslike_framed_optional"
|
||||||
drawtypes.
|
drawtypes. "glasslike_framed_optional" nodes are only affected if the
|
||||||
* `param2` values 0-63 define 64 levels of internal liquid, 0 being empty
|
"Connected Glass" setting is enabled.
|
||||||
and 63 being full.
|
* 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"}`
|
* Liquid texture is defined using `special_tiles = {"modname_tilename.png"}`
|
||||||
* `paramtype2 = "colordegrotate"`
|
* `paramtype2 = "colordegrotate"`
|
||||||
* Same as `degrotate`, but with colors.
|
* 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
|
Each additional octave adds finer detail to the noise but also increases the
|
||||||
noise calculation load.
|
noise calculation load.
|
||||||
3 is a typical minimum for a high quality, complex and natural-looking noise
|
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
|
Choose the number of octaves according to the `spread` and `lacunarity`, and the
|
||||||
size of the finest detail you require. For example:
|
size of the finest detail you require. For example:
|
||||||
@ -7204,7 +7209,7 @@ Used by `minetest.register_abm`.
|
|||||||
chance = 1,
|
chance = 1,
|
||||||
-- Chance of triggering `action` per-node per-interval is 1.0 / this
|
-- Chance of triggering `action` per-node per-interval is 1.0 / this
|
||||||
-- value
|
-- value
|
||||||
|
|
||||||
min_y = -32768,
|
min_y = -32768,
|
||||||
max_y = 32767,
|
max_y = 32767,
|
||||||
-- min and max height levels where ABM will be processed
|
-- min and max height levels where ABM will be processed
|
||||||
|
Loading…
Reference in New Issue
Block a user