]> git.lizzy.rs Git - minetest.git/commitdiff
lua_api.txt: Explain what a float range is
authorjordan4ibanez <jordan4ibanez@users.noreply.github.com>
Fri, 17 Feb 2023 23:03:50 +0000 (18:03 -0500)
committerGitHub <noreply@github.com>
Fri, 17 Feb 2023 23:03:50 +0000 (00:03 +0100)
doc/lua_api.txt

index 80d7580d84f4a86a893b264a027b89e2a872733c..c1e26c72eacc6ec0fbc99264f63c954354ec4c44 100644 (file)
@@ -9722,6 +9722,8 @@ section, along with the datatypes they accept.
 All of the properties in this list can be animated with `*_tween` tables
 unless otherwise specified. For example, `jitter` can be tweened by setting
 a `jitter_tween` table instead of (or in addition to) a `jitter` table/value.
+In this section, a float range is a table defined as so: { min = A, max = B }
+A and B are your supplemented values. For a vec3 range this means they are vectors.
 Types used are defined in the previous section.
 
 * vec3 range `pos`: the position at which particles can appear