mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Update range values of meta set functions in the documentation
This commit is contained in:
parent
c60d971bc4
commit
ac8a9f9502
@ -7277,8 +7277,12 @@ of the `${k}` syntax in formspecs is not deprecated.
|
|||||||
* `set_string(key, value)`: Value of `""` will delete the key.
|
* `set_string(key, value)`: Value of `""` will delete the key.
|
||||||
* `get_string(key)`: Returns `""` if key not present.
|
* `get_string(key)`: Returns `""` if key not present.
|
||||||
* `set_int(key, value)`
|
* `set_int(key, value)`
|
||||||
|
* The range for the value is system-dependent (usually 32 bits).
|
||||||
|
The value will be converted into a string when stored.
|
||||||
* `get_int(key)`: Returns `0` if key not present.
|
* `get_int(key)`: Returns `0` if key not present.
|
||||||
* `set_float(key, value)`
|
* `set_float(key, value)`
|
||||||
|
* The range for the value is system-dependent (usually 32 bits).
|
||||||
|
The value will be converted into a string when stored.
|
||||||
* `get_float(key)`: Returns `0` if key not present.
|
* `get_float(key)`: Returns `0` if key not present.
|
||||||
* `get_keys()`: returns a list of all keys in the metadata.
|
* `get_keys()`: returns a list of all keys in the metadata.
|
||||||
* `to_table()`:
|
* `to_table()`:
|
||||||
|
Loading…
Reference in New Issue
Block a user