Skip to content

Commit

Permalink
Update range values of meta set functions in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rvenson committed Sep 28, 2023
1 parent 8fa2ea7 commit ae06d46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/lua_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7265,8 +7265,12 @@ of the `${k}` syntax in formspecs is not deprecated.
* `set_string(key, value)`: Value of `""` will delete the key.
* `get_string(key)`: Returns `""` if key not present.
* `set_int(key, value)`
* The range for the value is the system-dependent (usually 32-bits)
and the value will be stored as a string after the conversion.
* `get_int(key)`: Returns `0` if key not present.
* `set_float(key, value)`
* The range for the value is the system-dependent (usually 32-bits)
and the value will be stored as a string after the conversion.
* `get_float(key)`: Returns `0` if key not present.
* `get_keys()`: returns a list of all keys in the metadata.
* `to_table()`:
Expand Down

0 comments on commit ae06d46

Please sign in to comment.