From bb2447c9a3fc89d075af6d81aec73721bd84a337 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Tue, 25 Mar 2025 20:28:48 +0200 Subject: #3801 Update "types" section in keywords_lua_default.xml --- .../newview/app_settings/keywords_lua_default.xml | 35 ++++++++++------------ 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index c173462642..97e5a1d355 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -104,47 +104,42 @@ boolean tooltip - Lua boolean: represents a true or false value. + Boolean: represents a true or false value. - float + number tooltip - 32 bit floating point value.\nThe range is 1.175494351E-38 to 3.402823466E+38. + Double‑precision floating point number. - integer - - tooltip - 32 bit integer value.\n−2,147,483,648 and +2,147,483,647 (that is 0x80000000 to 0x7FFFFFFF in hex). - - key + string tooltip - A 128 bit unique identifier (UUID).\nThe key is represented as hexidecimal characters (A-F and 0-9), grouped into sections (8,4,4,4,12 characters) and separated by hyphens (for a total of 36 characters). e.g. "A822FF2B-FF02-461D-B45D-DCD10A2DE0C2". + Text data (UTF‑8). - list + table tooltip - A collection of other data types.\nLists are signified by square brackets surrounding their elements; the elements inside are separated by commas. e.g. [0, 1, 2, 3, 4] or ["Yes", "No", "Perhaps"]. + Collection of key‑value pairs. - quaternion + thread tooltip - The quaternion type is a left over from way back when LSL was created. It was later renamed to <rotation> to make it more user friendly, but it appears someone forgot to remove it ;-) + Represents a coroutine. - rotation + userdata tooltip - The rotation type is one of several ways to represent an orientation in 3D.\nIt is a mathematical object called a quaternion. You can think of a quaternion as four numbers (x, y, z, w), three of which represent the direction an object is facing and a fourth that represents the object's banking left or right around that direction. + Opaque external data. - string + vector tooltip - Text data.\nThe editor accepts UTF-8 encoded text. + A vector is a data type that contains a set of three float values.\nVectors are used to represent colors (RGB), positions, and directions/velocities. - vector + uuid tooltip - A vector is a data type that contains a set of three float values.\nVectors are used to represent colors (RGB), positions, and directions/velocities. + A 128‑bit unique identifier formatted as 36 hexadecimal characters (8‑4‑4‑4‑12), e.g. "A822FF2B-FF02-461D-B45D-DCD10A2DE0C2". constants -- cgit v1.3