From 427a192f58671dbcbed4421f7ac293e6b05716dd Mon Sep 17 00:00:00 2001 From: tapple Date: Mon, 19 Jan 2026 16:20:24 -0800 Subject: [PATCH 01/51] sync from simulator: https://github.com/secondlife/lsl-definitions/pull/39/files --- .../app_settings/keywords_lsl_default.xml | 89 +++++++++++++++---- .../app_settings/keywords_lua_default.xml | 41 +++++---- 2 files changed, 98 insertions(+), 32 deletions(-) diff --git a/indra/newview/app_settings/keywords_lsl_default.xml b/indra/newview/app_settings/keywords_lsl_default.xml index 461d6f3eaff..182d727c2a0 100644 --- a/indra/newview/app_settings/keywords_lsl_default.xml +++ b/indra/newview/app_settings/keywords_lsl_default.xml @@ -4611,7 +4611,7 @@ type integer value - 0x20 + 0x00020 PERMISSION_CHANGE_JOINTS @@ -4620,7 +4620,7 @@ type integer value - 0x100 + 0x00100 PERMISSION_CHANGE_LINKS @@ -4629,7 +4629,7 @@ type integer value - 0x80 + 0x00080 PERMISSION_CHANGE_PERMISSIONS @@ -4638,7 +4638,7 @@ type integer value - 0x200 + 0x00200 PERMISSION_CONTROL_CAMERA @@ -4647,7 +4647,7 @@ type integer value - 0x800 + 0x00800 PERMISSION_DEBIT @@ -4656,7 +4656,7 @@ type integer value - 0x2 + 0x00002 PERMISSION_OVERRIDE_ANIMATIONS @@ -4665,7 +4665,16 @@ type integer value - 0x8000 + 0x08000 + + PERMISSION_PRIVILEGED_LAND_ACCESS + + tooltip + Grants the script privileged access to land parcel functions, such as parcel sale. + type + integer + value + 0x80000 PERMISSION_RELEASE_OWNERSHIP @@ -4674,7 +4683,7 @@ type integer value - 0x40 + 0x00040 PERMISSION_REMAP_CONTROLS @@ -4683,7 +4692,7 @@ type integer value - 0x8 + 0x00008 PERMISSION_RETURN_OBJECTS @@ -4692,7 +4701,7 @@ type integer value - 65536 + 0x10000 PERMISSION_SILENT_ESTATE_MANAGEMENT @@ -4701,16 +4710,16 @@ type integer value - 0x4000 + 0x04000 PERMISSION_TAKE_CONTROLS tooltip - If this permission enabled, the object can successfully call the llTakeControls libray call. + If this permission enabled, the object can successfully call the llTakeControls library call. type integer value - 0x4 + 0x00004 PERMISSION_TELEPORT @@ -4719,7 +4728,7 @@ type integer value - 0x1000 + 0x01000 PERMISSION_TRACK_CAMERA @@ -4728,7 +4737,7 @@ type integer value - 0x400 + 0x00400 PERMISSION_TRIGGER_ANIMATION @@ -4737,7 +4746,7 @@ type integer value - 0x10 + 0x00010 PERM_ALL @@ -10391,6 +10400,8 @@ If another state is defined before the default state, the compiler will report a Returns TRUE if the agent is in the Experience and the Experience can run in the current location. + bool_semantics + 1 llAllowInventoryDrop @@ -11480,6 +11491,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Derezzes an object previously rezzed by a script in this region. Returns TRUE on success or FALSE if the object could not be derezzed. + bool_semantics + 1 llDetachFromAvatar @@ -11562,6 +11575,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns TRUE if detected object or agent Number has the same user group active as this object.\nIt will return FALSE if the object or agent is in the group, but the group is not active. + bool_semantics + 1 llDetectedKey @@ -12043,6 +12058,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).\nReturns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator. + bool_semantics + 1 llEjectFromLand @@ -13043,6 +13060,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns a string with the requested data about the region. + bool_semantics + 1 llGetExperienceDetails @@ -13515,6 +13534,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face. + bool_semantics + 1 llGetLinkName @@ -13606,6 +13627,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\nPRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\n* Supplying a prim or object flag will return that flag's attributes.\n* Face flags require the user to also supply a face index parameter. + bool_semantics + 1 llGetLinkSitFlags @@ -14004,6 +14027,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\nParameters are specified by the OBJECT_* constants. + bool_semantics + 1 llGetObjectLinkKey @@ -14199,6 +14224,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.\nParameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.\nReturns a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position. + bool_semantics + 1 llGetParcelFlags @@ -14415,6 +14442,8 @@ If another state is defined before the default state, the compiler will report a 1 tooltip Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face. + bool_semantics + 1 llGetPrimitiveParams @@ -14438,6 +14467,8 @@ If another state is defined before the default state, the compiler will report a 0.2000000000000000111022302 tooltip Returns the primitive parameters specified in the parameters list.\nReturns primitive parameters specified in the Parameters list. + bool_semantics + 1 llGetRegionAgentCount @@ -14731,6 +14762,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns TRUE if the script named is running.\nReturns TRUE if ScriptName is running. + bool_semantics + 1 llGetSimStats @@ -14866,6 +14899,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to. + bool_semantics + 1 llGetSubString @@ -15773,6 +15808,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns TRUE if avatar ID is a friend of the script owner. + bool_semantics + 1 llIsLinkGLTFMaterial @@ -15805,6 +15842,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Checks the face for a PBR render material. + bool_semantics + 1 llJson2List @@ -18122,6 +18161,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform.\nReturns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.\nThe object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script. + bool_semantics + 1 llMapBeacon @@ -18589,6 +18630,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.\nReturns TRUE if key ID is over land owned by the object owner, FALSE otherwise. + bool_semantics + 1 llOwnerSay @@ -18658,6 +18701,8 @@ If another state is defined before the default state, the compiler will report a 2 tooltip Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\nThis function will only work if the script is contained within an object owned by the land-owner (or if the land is owned by a group, only if the object has been deeded to the group). + bool_semantics + 1 llParseString2List @@ -20526,6 +20571,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.\nReturns TRUE if the object or agent identified is in the same simulator and has the same active group as this object. Otherwise, returns FALSE. + bool_semantics + 1 llSay @@ -20581,6 +20628,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.\n\nResizing is subject to prim scale limits and linkability limits. This function can not resize the object if the linkset is physical, a pathfinding character, in a keyframed motion, or if resizing would cause the parcel to overflow.\nReturns a boolean (an integer) TRUE if it succeeds, FALSE if it fails. + bool_semantics + 1 llScaleTexture @@ -20645,6 +20694,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns TRUE if Position is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.\nReturns true if the position is over public land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts. + bool_semantics + 1 llScriptProfiler @@ -21992,6 +22043,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Requests Limit bytes to be reserved for this script.\nReturns TRUE or FALSE indicating whether the limit was set successfully.\nThis function has no effect if the script is running in the LSO VM. + bool_semantics + 1 llSetObjectDesc @@ -22346,6 +22399,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Attempts to move the object so that the root prim is within 0.1m of Position.\nReturns an integer boolean, TRUE if the object is successfully placed within 0.1 m of Position, FALSE otherwise.\nPosition may be any location within the region or up to 10m across a region border.\nIf the position is below ground, it will be set to the ground level at that x,y location. + bool_semantics + 1 llSetRemoteScriptAccessPin @@ -24359,6 +24414,8 @@ If another state is defined before the default state, the compiler will report a 0 tooltip Returns TRUE if PublicKey, Message, and Algorithm produce the same base64-formatted Signature. + bool_semantics + 1 llVolumeDetect diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index ae60c87edd0..d138a5cfb2b 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -4684,7 +4684,7 @@ type integer value - 0x20 + 0x00020 PERMISSION_CHANGE_JOINTS @@ -4693,7 +4693,7 @@ type integer value - 0x100 + 0x00100 PERMISSION_CHANGE_LINKS @@ -4702,7 +4702,7 @@ type integer value - 0x80 + 0x00080 PERMISSION_CHANGE_PERMISSIONS @@ -4711,7 +4711,7 @@ type integer value - 0x200 + 0x00200 PERMISSION_CONTROL_CAMERA @@ -4720,7 +4720,7 @@ type integer value - 0x800 + 0x00800 PERMISSION_DEBIT @@ -4729,7 +4729,7 @@ type integer value - 0x2 + 0x00002 PERMISSION_OVERRIDE_ANIMATIONS @@ -4738,7 +4738,16 @@ type integer value - 0x8000 + 0x08000 + + PERMISSION_PRIVILEGED_LAND_ACCESS + + tooltip + Grants the script privileged access to land parcel functions, such as parcel sale. + type + number + value + 0x80000 PERMISSION_RELEASE_OWNERSHIP @@ -4747,7 +4756,7 @@ type integer value - 0x40 + 0x00040 PERMISSION_REMAP_CONTROLS @@ -4756,7 +4765,7 @@ type integer value - 0x8 + 0x00008 PERMISSION_RETURN_OBJECTS @@ -4765,7 +4774,7 @@ type integer value - 65536 + 0x10000 PERMISSION_SILENT_ESTATE_MANAGEMENT @@ -4774,16 +4783,16 @@ type integer value - 0x4000 + 0x04000 PERMISSION_TAKE_CONTROLS tooltip - If this permission enabled, the object can successfully call the llTakeControls libray call. + If this permission enabled, the object can successfully call the llTakeControls library call. type integer value - 0x4 + 0x00004 PERMISSION_TELEPORT @@ -4792,7 +4801,7 @@ type integer value - 0x1000 + 0x01000 PERMISSION_TRACK_CAMERA @@ -4801,7 +4810,7 @@ type integer value - 0x400 + 0x00400 PERMISSION_TRIGGER_ANIMATION @@ -4810,7 +4819,7 @@ type integer value - 0x10 + 0x00010 PERM_ALL From 18d007e909dda9e8e454edc6cf736ce1390db70e Mon Sep 17 00:00:00 2001 From: tapple Date: Mon, 19 Jan 2026 16:48:54 -0800 Subject: [PATCH 02/51] convert all lsl types to slua types --- .../app_settings/keywords_lua_default.xml | 2006 ++++++++--------- 1 file changed, 1003 insertions(+), 1003 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index d138a5cfb2b..f3f6c5a2593 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -178,7 +178,7 @@ tooltip Objects in world that are running a script or currently physically moving. type - integer + number value 0x2 @@ -187,7 +187,7 @@ tooltip Objects in world that are agents. type - integer + number value 0x1 @@ -196,7 +196,7 @@ tooltip type - integer + number value 0x1000 @@ -205,7 +205,7 @@ tooltip The agent has attachments. type - integer + number value 0x2 @@ -214,7 +214,7 @@ tooltip The agent has been identified as a scripted agent type - integer + number value 0x4000 @@ -223,7 +223,7 @@ tooltip type - integer + number value 0x2000 @@ -232,7 +232,7 @@ tooltip type - integer + number value 0x40 @@ -241,7 +241,7 @@ tooltip type - integer + number value 0x800 @@ -250,7 +250,7 @@ tooltip type - integer + number value 0x1 @@ -259,7 +259,7 @@ tooltip type - integer + number value 0x10 @@ -268,7 +268,7 @@ tooltip type - integer + number value 0x400 @@ -277,7 +277,7 @@ tooltip The agent is floating via scripted attachment. type - integer + number value 0x8000 @@ -286,7 +286,7 @@ tooltip The agent is flying. type - integer + number value 0x1 @@ -295,7 +295,7 @@ tooltip type - integer + number value 0x100 @@ -304,7 +304,7 @@ tooltip Agents on the same parcel where the script is running. type - integer + number value 1 @@ -313,7 +313,7 @@ tooltip Agents on any parcel in the region where the parcel owner is the same as the owner of the parcel under the scripted object. type - integer + number value 2 @@ -322,7 +322,7 @@ tooltip All agents in the region. type - integer + number value 4 @@ -331,7 +331,7 @@ tooltip type - integer + number value 0x8 @@ -340,7 +340,7 @@ tooltip type - integer + number value 0x20 @@ -349,7 +349,7 @@ tooltip The agent has scripted attachments. type - integer + number value 0x4 @@ -358,7 +358,7 @@ tooltip type - integer + number value 0x10 @@ -367,7 +367,7 @@ tooltip type - integer + number value 0x200 @@ -376,7 +376,7 @@ tooltip type - integer + number value 0x80 @@ -385,7 +385,7 @@ tooltip type - integer + number value -1 @@ -394,7 +394,7 @@ tooltip Texture animation is on. type - integer + number value 0x1 @@ -403,7 +403,7 @@ tooltip Filtering for any HUD attachment. type - integer + number value -1 @@ -412,7 +412,7 @@ tooltip Attach to the avatar's geometric centre. type - integer + number value 40 @@ -421,7 +421,7 @@ tooltip Attach to the avatar's back. type - integer + number value 9 @@ -430,7 +430,7 @@ tooltip Attach to the avatar's belly. type - integer + number value 28 @@ -439,7 +439,7 @@ tooltip Attach to the avatar's chest. type - integer + number value 1 @@ -448,7 +448,7 @@ tooltip Attach to the avatar's chin. type - integer + number value 12 @@ -457,7 +457,7 @@ tooltip Attach to the avatar's jaw. type - integer + number value 47 @@ -466,7 +466,7 @@ tooltip Attach to the avatar's left ear (extended). type - integer + number value 48 @@ -475,7 +475,7 @@ tooltip Attach to the avatar's left eye (extended). type - integer + number value 50 @@ -484,7 +484,7 @@ tooltip Attach to the avatar's right ear (extended). type - integer + number value 49 @@ -493,7 +493,7 @@ tooltip Attach to the avatar's right eye (extended). type - integer + number value 51 @@ -502,7 +502,7 @@ tooltip Attach to the avatar's tongue. type - integer + number value 52 @@ -511,7 +511,7 @@ tooltip Attach to the avatar's groin. type - integer + number value 53 @@ -520,7 +520,7 @@ tooltip Attach to the avatar's head. type - integer + number value 2 @@ -529,7 +529,7 @@ tooltip Attach to the avatar's left hind foot. type - integer + number value 54 @@ -538,7 +538,7 @@ tooltip Attach to the avatar's right hind foot. type - integer + number value 55 @@ -547,7 +547,7 @@ tooltip type - integer + number value 37 @@ -556,7 +556,7 @@ tooltip type - integer + number value 36 @@ -565,7 +565,7 @@ tooltip type - integer + number value 38 @@ -574,7 +574,7 @@ tooltip type - integer + number value 35 @@ -583,7 +583,7 @@ tooltip type - integer + number value 31 @@ -592,7 +592,7 @@ tooltip type - integer + number value 33 @@ -601,7 +601,7 @@ tooltip type - integer + number value 34 @@ -610,7 +610,7 @@ tooltip type - integer + number value 32 @@ -619,7 +619,7 @@ tooltip Attach to the avatar's left ear. type - integer + number value 13 @@ -628,7 +628,7 @@ tooltip Attach to the avatar's left pectoral. type - integer + number value 29 @@ -637,7 +637,7 @@ tooltip Attach to the avatar's left eye. type - integer + number value 15 @@ -646,7 +646,7 @@ tooltip Attach to the avatar's left foot. type - integer + number value 7 @@ -655,7 +655,7 @@ tooltip Attach to the avatar's left hand. type - integer + number value 5 @@ -664,7 +664,7 @@ tooltip Attach to the avatar's left ring finger. type - integer + number value 41 @@ -673,7 +673,7 @@ tooltip Attach to the avatar's left hip. type - integer + number value 25 @@ -682,7 +682,7 @@ tooltip Attach to the avatar's left lower arm. type - integer + number value 21 @@ -691,7 +691,7 @@ tooltip Attach to the avatar's lower left leg. type - integer + number value 27 @@ -702,7 +702,7 @@ tooltip Attach to the avatar's right pectoral. (Deprecated, use ATTACH_RIGHT_PEC) type - integer + number value 30 @@ -711,7 +711,7 @@ tooltip Attach to the avatar's left shoulder. type - integer + number value 3 @@ -720,7 +720,7 @@ tooltip Attach to the avatar's left upper arm. type - integer + number value 20 @@ -729,7 +729,7 @@ tooltip Attach to the avatar's lower upper leg. type - integer + number value 26 @@ -738,7 +738,7 @@ tooltip Attach to the avatar's left wing. type - integer + number value 45 @@ -747,7 +747,7 @@ tooltip Attach to the avatar's mouth. type - integer + number value 11 @@ -756,7 +756,7 @@ tooltip Attach to the avatar's neck. type - integer + number value 39 @@ -765,7 +765,7 @@ tooltip Attach to the avatar's nose. type - integer + number value 17 @@ -774,7 +774,7 @@ tooltip Attach to the avatar's pelvis. type - integer + number value 10 @@ -783,7 +783,7 @@ tooltip Attach to the avatar's right ear. type - integer + number value 14 @@ -792,7 +792,7 @@ tooltip Attach to the avatar's right eye. type - integer + number value 16 @@ -801,7 +801,7 @@ tooltip Attach to the avatar's right foot. type - integer + number value 8 @@ -810,7 +810,7 @@ tooltip Attach to the avatar's right hand. type - integer + number value 6 @@ -819,7 +819,7 @@ tooltip Attach to the avatar's right ring finger. type - integer + number value 42 @@ -828,7 +828,7 @@ tooltip Attach to the avatar's right hip. type - integer + number value 22 @@ -837,7 +837,7 @@ tooltip Attach to the avatar's right pectoral. type - integer + number value 30 @@ -846,7 +846,7 @@ tooltip Attach to the avatar's right lower arm. type - integer + number value 19 @@ -855,7 +855,7 @@ tooltip Attach to the avatar's right lower leg. type - integer + number value 24 @@ -866,7 +866,7 @@ tooltip Attach to the avatar's left pectoral. (deprecated, use ATTACH_LEFT_PEC) type - integer + number value 29 @@ -875,7 +875,7 @@ tooltip Attach to the avatar's right shoulder. type - integer + number value 4 @@ -884,7 +884,7 @@ tooltip Attach to the avatar's right upper arm. type - integer + number value 18 @@ -893,7 +893,7 @@ tooltip Attach to the avatar's right upper leg. type - integer + number value 23 @@ -902,7 +902,7 @@ tooltip Attach to the avatar's right wing. type - integer + number value 46 @@ -911,7 +911,7 @@ tooltip Attach to the avatar's tail base. type - integer + number value 43 @@ -920,7 +920,7 @@ tooltip Attach to the avatar's tail tip. type - integer + number value 44 @@ -929,7 +929,7 @@ tooltip type - integer + number value 1 @@ -938,7 +938,7 @@ tooltip type - integer + number value 2 @@ -947,7 +947,7 @@ tooltip type - integer + number value 0 @@ -956,7 +956,7 @@ tooltip Cause llMapBeacon to optionally display and focus the world map on the avatar's viewer. type - integer + number value 1 @@ -965,7 +965,7 @@ tooltip type - integer + number value 12 @@ -974,7 +974,7 @@ tooltip type - integer + number value 8 @@ -983,7 +983,7 @@ tooltip type - integer + number value 9 @@ -992,7 +992,7 @@ tooltip type - integer + number value 7 @@ -1001,7 +1001,7 @@ tooltip type - integer + number value 17 @@ -1010,7 +1010,7 @@ tooltip type - integer + number value 6 @@ -1019,7 +1019,7 @@ tooltip type - integer + number value 22 @@ -1028,7 +1028,7 @@ tooltip type - integer + number value 1 @@ -1037,7 +1037,7 @@ tooltip type - integer + number value 11 @@ -1046,7 +1046,7 @@ tooltip type - integer + number value 0 @@ -1055,7 +1055,7 @@ tooltip type - integer + number value 13 @@ -1064,7 +1064,7 @@ tooltip type - integer + number value 5 @@ -1073,7 +1073,7 @@ tooltip type - integer + number value 21 @@ -1082,7 +1082,7 @@ tooltip type - integer + number value 10 @@ -1091,7 +1091,7 @@ tooltip The object inventory has changed because an item was added through the llAllowInventoryDrop interface. type - integer + number value 0x40 @@ -1100,7 +1100,7 @@ tooltip The object color has changed. type - integer + number value 0x2 @@ -1109,7 +1109,7 @@ tooltip The object inventory has changed. type - integer + number value 0x1 @@ -1118,7 +1118,7 @@ tooltip The object has linked or its links were broken. type - integer + number value 0x20 @@ -1127,7 +1127,7 @@ tooltip type - integer + number value 0x800 @@ -1136,7 +1136,7 @@ tooltip The object has changed ownership. type - integer + number value 0x80 @@ -1145,7 +1145,7 @@ tooltip The object has changed region. type - integer + number value 0x100 @@ -1154,7 +1154,7 @@ tooltip The region this object is in has just come online. type - integer + number value 0x400 @@ -1163,7 +1163,7 @@ tooltip The render material has changed. type - integer + number value 0x1000 @@ -1172,7 +1172,7 @@ tooltip The object scale (size) has changed. type - integer + number value 0x8 @@ -1181,7 +1181,7 @@ tooltip The object base shape has changed, e.g., a box to a cylinder. type - integer + number value 0x4 @@ -1190,7 +1190,7 @@ tooltip The avatar to whom this object is attached has teleported. type - integer + number value 0x200 @@ -1199,7 +1199,7 @@ tooltip The texture offset, scale rotation, or simply the object texture has changed. type - integer + number value 0x10 @@ -1208,7 +1208,7 @@ tooltip If set to false, character will not attempt to catch up on lost time when pathfinding performance is low, potentially providing more reliable movement (albeit while potentially appearing to be more stuttery). Default is true to match pre-existing behavior. type - integer + number value 14 @@ -1217,7 +1217,7 @@ tooltip Allows you to specify that a character should not try to avoid other characters, should not try to avoid dynamic obstacles (relatively fast moving objects and avatars), or both. type - integer + number value 5 @@ -1226,7 +1226,7 @@ tooltip Makes the character jump. Requires an additional parameter, the height to jump, between 0.1m and 2.0m. This must be provided as the first element of the llExecCharacterCmd option list. type - integer + number value 0x01 @@ -1235,7 +1235,7 @@ tooltip type - integer + number value 2 @@ -1244,7 +1244,7 @@ tooltip Stops any current pathfinding operation. type - integer + number value 0x00 @@ -1253,7 +1253,7 @@ tooltip Speed of pursuit in meters per second. type - integer + number value 1 @@ -1262,7 +1262,7 @@ tooltip The character's maximum speed while turning about the Z axis. - Note that this is only loosely enforced. type - integer + number value 12 @@ -1271,7 +1271,7 @@ tooltip Set collision capsule length - cannot be less than two times the radius. type - integer + number value 3 @@ -1280,7 +1280,7 @@ tooltip The character's maximum acceleration rate. type - integer + number value 8 @@ -1289,7 +1289,7 @@ tooltip The character's maximum deceleration rate. type - integer + number value 9 @@ -1298,7 +1298,7 @@ tooltip The character's maximum speed. type - integer + number value 13 @@ -1307,7 +1307,7 @@ tooltip The character's turn radius when travelling at CHARACTER_MAX_TURN_SPEED. type - integer + number value 10 @@ -1316,7 +1316,7 @@ tooltip Valid options are: VERTICAL, HORIZONTAL. type - integer + number value 4 @@ -1325,7 +1325,7 @@ tooltip Set collision capsule radius. type - integer + number value 2 @@ -1334,7 +1334,7 @@ tooltip Determines whether a character can leave its starting parcel.\nTakes a boolean parameter. If TRUE, the character cannot voluntarilly leave the parcel, but can return to it. type - integer + number value 15 @@ -1343,7 +1343,7 @@ tooltip Specifies which walk-ability coefficient will be used by this character. type - integer + number value 6 @@ -1352,7 +1352,7 @@ tooltip type - integer + number value 0 @@ -1361,7 +1361,7 @@ tooltip type - integer + number value 1 @@ -1370,7 +1370,7 @@ tooltip type - integer + number value 2 @@ -1379,7 +1379,7 @@ tooltip type - integer + number value 3 @@ -1388,7 +1388,7 @@ tooltip type - integer + number value 4 @@ -1397,7 +1397,7 @@ tooltip When the prim is clicked, the buy dialog is opened. type - integer + number value 2 @@ -1406,7 +1406,7 @@ tooltip No click action. No touches detected or passed. type - integer + number value 8 @@ -1415,7 +1415,7 @@ tooltip No click action. Object is invisible to the mouse. type - integer + number value 9 @@ -1424,7 +1424,7 @@ tooltip Performs the default action: when the prim is clicked, touch events are triggered. type - integer + number value 0 @@ -1433,7 +1433,7 @@ tooltip When the prim is clicked, the object inventory dialog is opened. type - integer + number value 4 @@ -1442,7 +1442,7 @@ tooltip When the prim is touched, the web media dialog is opened. type - integer + number value 6 @@ -1451,7 +1451,7 @@ tooltip When the prim is clicked, the pay dialog is opened. type - integer + number value 3 @@ -1460,7 +1460,7 @@ tooltip When the prim is clicked, html-on-a-prim is enabled? type - integer + number value 5 @@ -1469,7 +1469,7 @@ tooltip When the prim is clicked, the avatar sits upon it. type - integer + number value 1 @@ -1478,7 +1478,7 @@ tooltip When the prim is clicked, touch events are triggered. type - integer + number value 0 @@ -1487,7 +1487,7 @@ tooltip Zoom in on object when clicked. type - integer + number value 7 @@ -1496,7 +1496,7 @@ tooltip COMBAT_CHANNEL is an integer constant that, when passed to llRegionSay will add the message to the combat log. A script with a chat listen active on COMBAT_CHANNEL may also monitor the combat log. type - integer + number value 2147483646 @@ -1514,7 +1514,7 @@ tooltip "application/atom+xml" type - integer + number value 4 @@ -1523,7 +1523,7 @@ tooltip "application/x-www-form-urlencoded" type - integer + number value 7 @@ -1532,7 +1532,7 @@ tooltip "text/html", only valid for embedded browsers on content owned by the person viewing. Falls back to "text/plain" otherwise. type - integer + number value 1 @@ -1541,7 +1541,7 @@ tooltip "application/json" type - integer + number value 5 @@ -1550,7 +1550,7 @@ tooltip "application/llsd+xml" type - integer + number value 6 @@ -1559,7 +1559,7 @@ tooltip "application/rss+xml" type - integer + number value 8 @@ -1568,7 +1568,7 @@ tooltip "text/plain" type - integer + number value 0 @@ -1577,7 +1577,7 @@ tooltip "application/xhtml+xml" type - integer + number value 3 @@ -1586,7 +1586,7 @@ tooltip "application/xml" type - integer + number value 2 @@ -1595,7 +1595,7 @@ tooltip Test for the avatar move back control. type - integer + number value 0x2 @@ -1604,7 +1604,7 @@ tooltip Test for the avatar move down control. type - integer + number value 0x20 @@ -1613,7 +1613,7 @@ tooltip Test for the avatar move forward control. type - integer + number value 0x1 @@ -1622,7 +1622,7 @@ tooltip Test for the avatar left button control. type - integer + number value 0x10000000 @@ -1631,7 +1631,7 @@ tooltip Test for the avatar move left control. type - integer + number value 0x4 @@ -1640,7 +1640,7 @@ tooltip Test for the avatar left button control while in mouse look. type - integer + number value 0x40000000 @@ -1649,7 +1649,7 @@ tooltip Test for the avatar move right control. type - integer + number value 0x8 @@ -1658,7 +1658,7 @@ tooltip Test for the avatar rotate left control. type - integer + number value 0x100 @@ -1667,7 +1667,7 @@ tooltip Test for the avatar rotate right control. type - integer + number value 0x200 @@ -1676,7 +1676,7 @@ tooltip Test for the avatar move up control. type - integer + number value 0x10 @@ -1685,7 +1685,7 @@ tooltip Objects in world that are able to process damage. type - integer + number value 0x20 @@ -1694,7 +1694,7 @@ tooltip Damage caused by a caustic substance, such as acid type - integer + number value 1 @@ -1703,7 +1703,7 @@ tooltip Damage caused by a blunt object, such as a club. type - integer + number value 2 @@ -1712,7 +1712,7 @@ tooltip Damage inflicted by exposure to extreme cold type - integer + number value 3 @@ -1721,7 +1721,7 @@ tooltip Damage caused by electricity. type - integer + number value 4 @@ -1730,7 +1730,7 @@ tooltip type - integer + number value 14 @@ -1739,7 +1739,7 @@ tooltip Damage inflicted by exposure to heat or flames. type - integer + number value 5 @@ -1748,7 +1748,7 @@ tooltip Damage inflicted by a great force or impact. type - integer + number value 6 @@ -1757,7 +1757,7 @@ tooltip Generic or legacy damage. type - integer + number value 0 @@ -1766,7 +1766,7 @@ tooltip System damage generated by impact with land or a prim. type - integer + number value -1 @@ -1775,7 +1775,7 @@ tooltip Damage caused by a direct assault on life-force type - integer + number value 7 @@ -1784,7 +1784,7 @@ tooltip Damage caused by a piercing object such as a bullet, spear, or arrow. type - integer + number value 8 @@ -1793,7 +1793,7 @@ tooltip Damage caused by poison. type - integer + number value 9 @@ -1802,7 +1802,7 @@ tooltip Damage caused by a direct assault on the mind. type - integer + number value 10 @@ -1811,7 +1811,7 @@ tooltip Damage caused by radiation or extreme light. type - integer + number value 11 @@ -1820,7 +1820,7 @@ tooltip Damage caused by a slashing object such as a sword or axe. type - integer + number value 12 @@ -1829,7 +1829,7 @@ tooltip Damage caused by loud noises, like a Crash Worship concert. type - integer + number value 13 @@ -1838,7 +1838,7 @@ tooltip The date the agent was born, returned in ISO 8601 format of YYYY-MM-DD. type - integer + number value 3 @@ -1847,7 +1847,7 @@ tooltip The name of the agent. type - integer + number value 2 @@ -1856,7 +1856,7 @@ tooltip TRUE for online, FALSE for offline. type - integer + number value 1 @@ -1865,7 +1865,7 @@ tooltip type - integer + number value 8 @@ -1880,7 +1880,7 @@ 5) Positive rated building 6) Negative rated building type - integer + number value 4 @@ -1889,7 +1889,7 @@ tooltip type - integer + number value 5 @@ -1898,7 +1898,7 @@ tooltip type - integer + number value 7 @@ -1907,7 +1907,7 @@ tooltip type - integer + number value 6 @@ -1916,7 +1916,7 @@ tooltip DEBUG_CHANNEL is an integer constant that, when passed to llSay, llWhisper, or llShout as a channel parameter, will print text to the Script Warning/Error Window. type - integer + number value 2147483647 @@ -1926,7 +1926,7 @@ 0.017453293 - Number of radians per degree. You can use this to convert degrees to radians by multiplying the degrees by this number. type - float + number value 0.017453293 @@ -1935,7 +1935,7 @@ tooltip Used with llSetPhysicsMaterial to enable the density value. Must be between 1.0 and 22587.0 (in Kg/m^3 -- see if you can figure out what 22587 represents) type - integer + number value 1 @@ -1944,7 +1944,7 @@ tooltip Causes the object to immediately die. type - integer + number value 0 @@ -1953,7 +1953,7 @@ tooltip The object is made temporary and will be cleaned up at some later timer. type - integer + number value 1 @@ -1962,7 +1962,7 @@ tooltip The object is returned to the inventory of the rezzer. type - integer + number value 2 @@ -1971,7 +1971,7 @@ tooltip Day length, offset and progression. type - integer + number value 200 @@ -1980,7 +1980,7 @@ tooltip Could not find agent with the specified ID type - integer + number value -4 @@ -1989,7 +1989,7 @@ tooltip Attempted to change an unknown property. type - integer + number value -5 @@ -1998,7 +1998,7 @@ tooltip Attempt to change environments outside an experience. type - integer + number value -1 @@ -2007,7 +2007,7 @@ tooltip Could not find environmental settings in object inventory. type - integer + number value -3 @@ -2016,7 +2016,7 @@ tooltip The experience has not been enabled on this land. type - integer + number value -7 @@ -2025,7 +2025,7 @@ tooltip Agent has not granted permission to change environments. type - integer + number value -2 @@ -2034,7 +2034,7 @@ tooltip Script does not have permission to modify environment. type - integer + number value -9 @@ -2043,7 +2043,7 @@ tooltip Could not validate values for environment. type - integer + number value -8 @@ -2052,7 +2052,7 @@ tooltip Could not validate values for environment. type - integer + number value -6 @@ -2070,7 +2070,7 @@ tooltip type - integer + number value -1 @@ -2079,7 +2079,7 @@ tooltip type - integer + number value -3 @@ -2088,7 +2088,7 @@ tooltip type - integer + number value -2 @@ -2097,7 +2097,7 @@ tooltip type - integer + number value -4 @@ -2106,7 +2106,7 @@ tooltip type - integer + number value -5 @@ -2115,7 +2115,7 @@ tooltip Add the agent to this estate's Allowed Residents list. type - integer + number value 4 @@ -2124,7 +2124,7 @@ tooltip Remove the agent from this estate's Allowed Residents list. type - integer + number value 8 @@ -2133,7 +2133,7 @@ tooltip Add the group to this estate's Allowed groups list. type - integer + number value 16 @@ -2142,7 +2142,7 @@ tooltip Remove the group from this estate's Allowed groups list. type - integer + number value 32 @@ -2151,7 +2151,7 @@ tooltip Add the agent to this estate's Banned residents list. type - integer + number value 64 @@ -2160,7 +2160,7 @@ tooltip Remove the agent from this estate's Banned residents list. type - integer + number value 128 @@ -2169,7 +2169,7 @@ tooltip Flags to control returned attachments. type - integer + number value 2 @@ -2178,7 +2178,7 @@ tooltip Include HUDs with matching experience. type - integer + number value 0x0001 @@ -2187,7 +2187,7 @@ tooltip Include attachment point. type - integer + number value 1 @@ -2196,7 +2196,7 @@ tooltip Makes character navigate in a straight line toward position. May be set to TRUE or FALSE. type - integer + number value 1 @@ -2205,7 +2205,7 @@ tooltip Used with llSetPhysicsMaterial to enable the friction value. Must be between 0.0 and 255.0 type - integer + number value 2 @@ -2214,7 +2214,7 @@ tooltip type - integer + number value 0 @@ -2223,7 +2223,7 @@ tooltip type - integer + number value 1 @@ -2232,7 +2232,7 @@ tooltip type - integer + number value 2 @@ -2241,7 +2241,7 @@ tooltip type - integer + number value 3 @@ -2250,7 +2250,7 @@ tooltip type - integer + number value 4 @@ -2259,7 +2259,7 @@ tooltip type - integer + number value 5 @@ -2268,7 +2268,7 @@ tooltip type - integer + number value 0x1 @@ -2277,7 +2277,7 @@ tooltip type - integer + number value 0x2 @@ -2286,7 +2286,7 @@ tooltip type - integer + number value 0x10 @@ -2295,7 +2295,7 @@ tooltip type - integer + number value 0x1000 @@ -2304,7 +2304,7 @@ tooltip type - integer + number value 0x2000 @@ -2313,7 +2313,7 @@ tooltip type - integer + number value 0x4000 @@ -2322,7 +2322,7 @@ tooltip type - integer + number value 0x800 @@ -2331,7 +2331,7 @@ tooltip type - integer + number value 0x20 @@ -2340,7 +2340,7 @@ tooltip type - integer + number value 0x200 @@ -2349,7 +2349,7 @@ tooltip type - integer + number value 0x80 @@ -2358,7 +2358,7 @@ tooltip type - integer + number value 0x8000 @@ -2367,7 +2367,7 @@ tooltip type - integer + number value 0x10000 @@ -2376,7 +2376,7 @@ tooltip type - integer + number value 0x20000 @@ -2385,7 +2385,7 @@ tooltip type - integer + number value 0x40000 @@ -2394,7 +2394,7 @@ tooltip type - integer + number value 0x80000 @@ -2403,7 +2403,7 @@ tooltip type - integer + number value 0x400 @@ -2412,7 +2412,7 @@ tooltip type - integer + number value 0x100 @@ -2421,7 +2421,7 @@ tooltip type - integer + number value 0x40 @@ -2430,7 +2430,7 @@ tooltip type - integer + number value 0x100000 @@ -2439,7 +2439,7 @@ tooltip type - integer + number value 0x4 @@ -2448,7 +2448,7 @@ tooltip type - integer + number value 0x8 @@ -2457,7 +2457,7 @@ tooltip type - integer + number value 0 @@ -2466,7 +2466,7 @@ tooltip type - integer + number value 1 @@ -2475,7 +2475,7 @@ tooltip Used with llSetPhysicsMaterial to enable the gravity multiplier value. Must be between -1.0 and +28.0 type - integer + number value 8 @@ -2484,7 +2484,7 @@ tooltip type - integer + number value 1 @@ -2494,7 +2494,7 @@ Provide a string value to be included in the HTTP accepts header value. This replaces the default Second Life HTTP accepts header. type - integer + number value 8 @@ -2503,7 +2503,7 @@ tooltip type - integer + number value 2 @@ -2512,7 +2512,7 @@ tooltip type - integer + number value 0 @@ -2521,7 +2521,7 @@ tooltip Add an extra custom HTTP header to the request. The first string is the name of the parameter to change, e.g. "Pragma", and the second string is the value, e.g. "no-cache". Up to 8 custom headers may be configured per request. Note that certain headers, such as the default headers, are blocked for security reasons. type - integer + number value 5 @@ -2530,7 +2530,7 @@ tooltip Report extended error information through http_response event. type - integer + number value 9 @@ -2539,7 +2539,7 @@ tooltip type - integer + number value 0 @@ -2548,7 +2548,7 @@ tooltip type - integer + number value 1 @@ -2557,7 +2557,7 @@ tooltip Allows enabling/disabling of the "Pragma: no-cache" header.\nUsage: [HTTP_PRAGMA_NO_CACHE, integer SendHeader]. When SendHeader is TRUE, the "Pragma: no-cache" header is sent by the script. This matches the default behavior. When SendHeader is FALSE, no "Pragma" header is sent by the script. type - integer + number value 6 @@ -2567,7 +2567,7 @@ Provide a string value to be included in the HTTP User-Agent header value. This is appended to the default value. type - integer + number value 7 @@ -2576,7 +2576,7 @@ tooltip type - integer + number value 4 @@ -2585,7 +2585,7 @@ tooltip type - integer + number value 3 @@ -2693,7 +2693,7 @@ tooltip type - integer + number value -1 @@ -2702,7 +2702,7 @@ tooltip type - integer + number value 20 @@ -2711,7 +2711,7 @@ tooltip type - integer + number value 13 @@ -2720,7 +2720,7 @@ tooltip type - integer + number value 5 @@ -2729,7 +2729,7 @@ tooltip type - integer + number value 21 @@ -2738,7 +2738,7 @@ tooltip type - integer + number value 3 @@ -2747,7 +2747,7 @@ tooltip type - integer + number value 57 @@ -2756,7 +2756,7 @@ tooltip type - integer + number value -1 @@ -2765,7 +2765,7 @@ tooltip type - integer + number value 7 @@ -2774,7 +2774,7 @@ tooltip type - integer + number value 6 @@ -2783,7 +2783,7 @@ tooltip type - integer + number value 10 @@ -2792,7 +2792,7 @@ tooltip type - integer + number value 56 @@ -2801,7 +2801,7 @@ tooltip type - integer + number value 1 @@ -2810,7 +2810,7 @@ tooltip type - integer + number value 0 @@ -2819,7 +2819,7 @@ tooltip type - integer + number value -1 @@ -2909,7 +2909,7 @@ tooltip For use with KFM_COMMAND. type - integer + number value 2 @@ -2918,7 +2918,7 @@ tooltip For use with KFM_COMMAND. type - integer + number value 0 @@ -2927,7 +2927,7 @@ tooltip For use with KFM_COMMAND. type - integer + number value 1 @@ -2936,7 +2936,7 @@ tooltip type - integer + number value 0 @@ -2945,7 +2945,7 @@ tooltip type - integer + number value 2 @@ -2954,7 +2954,7 @@ tooltip For use with KFM_MODE. type - integer + number value 0 @@ -2963,7 +2963,7 @@ tooltip For use with KFM_MODE. type - integer + number value 1 @@ -2972,7 +2972,7 @@ tooltip type - integer + number value 1 @@ -2981,7 +2981,7 @@ tooltip For use with KFM_MODE. type - integer + number value 2 @@ -2990,7 +2990,7 @@ tooltip For use with KFM_MODE. type - integer + number value 3 @@ -2999,7 +2999,7 @@ tooltip For use with KFM_DATA. type - integer + number value 1 @@ -3008,7 +3008,7 @@ tooltip For use with KFM_DATA. type - integer + number value 2 @@ -3017,7 +3017,7 @@ tooltip Use a large brush size.\nNOTE: This value is incorrect, a large brush should be 2. type - integer + number value 3 @@ -3026,7 +3026,7 @@ tooltip Action to level the land. type - integer + number value 0 @@ -3035,7 +3035,7 @@ tooltip Action to lower the land. type - integer + number value 2 @@ -3044,7 +3044,7 @@ tooltip Use a medium brush size.\nNOTE: This value is incorrect, a medium brush should be 1. type - integer + number value 2 @@ -3053,7 +3053,7 @@ tooltip type - integer + number value 4 @@ -3062,7 +3062,7 @@ tooltip Action to raise the land. type - integer + number value 1 @@ -3071,7 +3071,7 @@ tooltip type - integer + number value 5 @@ -3080,7 +3080,7 @@ tooltip Use a small brush size.\nNOTE: This value is incorrect, a small brush should be 0. type - integer + number value 1 @@ -3089,7 +3089,7 @@ tooltip type - integer + number value 3 @@ -3098,7 +3098,7 @@ tooltip A name:value pair has been removed from the linkset datastore. type - integer + number value 2 @@ -3107,7 +3107,7 @@ tooltip A name:value pair was too large to write to the linkset datastore. type - integer + number value 1 @@ -3116,7 +3116,7 @@ tooltip The key supplied was empty. type - integer + number value 2 @@ -3125,7 +3125,7 @@ tooltip The name:value pair has been protected from overwrite in the linkset datastore. type - integer + number value 3 @@ -3134,7 +3134,7 @@ tooltip A CSV list of names removed from the linkset datastore. type - integer + number value 3 @@ -3143,7 +3143,7 @@ tooltip The named key was not found in the datastore. type - integer + number value 4 @@ -3152,7 +3152,7 @@ tooltip The value written to a name in the keystore is the same as the value already there. type - integer + number value 5 @@ -3161,7 +3161,7 @@ tooltip The name:value pair was written to the datastore. type - integer + number value 0 @@ -3170,7 +3170,7 @@ tooltip The linkset datastore has been reset. type - integer + number value 0 @@ -3179,7 +3179,7 @@ tooltip A name:value pair in the linkset datastore has been changed or created. type - integer + number value 1 @@ -3188,7 +3188,7 @@ tooltip This targets every object except the root in the linked set. type - integer + number value -3 @@ -3197,7 +3197,7 @@ tooltip This targets every object in the linked set except the object with the script. type - integer + number value -2 @@ -3206,7 +3206,7 @@ tooltip This targets the root of the linked set. type - integer + number value 1 @@ -3215,7 +3215,7 @@ tooltip This targets every object in the linked set. type - integer + number value -1 @@ -3224,7 +3224,7 @@ tooltip The link number of the prim containing the script. type - integer + number value -4 @@ -3233,7 +3233,7 @@ tooltip type - integer + number value 9 @@ -3242,7 +3242,7 @@ tooltip type - integer + number value 2 @@ -3251,7 +3251,7 @@ tooltip type - integer + number value 3 @@ -3260,7 +3260,7 @@ tooltip type - integer + number value 4 @@ -3269,7 +3269,7 @@ tooltip type - integer + number value 1 @@ -3278,7 +3278,7 @@ tooltip type - integer + number value 8 @@ -3287,7 +3287,7 @@ tooltip type - integer + number value 0 @@ -3296,7 +3296,7 @@ tooltip type - integer + number value 5 @@ -3305,7 +3305,7 @@ tooltip type - integer + number value 6 @@ -3314,7 +3314,7 @@ tooltip type - integer + number value 7 @@ -3323,7 +3323,7 @@ tooltip Loop the texture animation. type - integer + number value 0x2 @@ -3332,7 +3332,7 @@ tooltip type - integer + number value 0 @@ -3341,7 +3341,7 @@ tooltip Fold permissions for object inventory into results. type - integer + number value 0x10 @@ -3350,7 +3350,7 @@ tooltip type - integer + number value 3 @@ -3359,7 +3359,7 @@ tooltip type - integer + number value 2 @@ -3368,7 +3368,7 @@ tooltip type - integer + number value 4 @@ -3377,7 +3377,7 @@ tooltip type - integer + number value 1 @@ -3404,7 +3404,7 @@ tooltip Retrieves the account level of an avatar.\nReturns 0 when the avatar has a basic account,\n 1 when the avatar has a premium account,\n 10 when the avatar has a premium plus account,\n or -1 if the object is not an avatar. type - integer + number value 41 @@ -3413,7 +3413,7 @@ tooltip This is a flag used with llGetObjectDetails to get the number of associated animated objects type - integer + number value 39 @@ -3422,7 +3422,7 @@ tooltip This is a flag used with llGetObjectDetails to get the number of additional animated object attachments allowed. type - integer + number value 40 @@ -3431,7 +3431,7 @@ tooltip Gets the attachment point to which the object is attached.\nReturns 0 if the object is not an attachment (or is an avatar, etc). type - integer + number value 19 @@ -3440,7 +3440,7 @@ tooltip Returns the number of attachment slots available.\nReturns 0 if the object is not an avatar or none are available. type - integer + number value 35 @@ -3449,7 +3449,7 @@ tooltip This is a flag used with llGetObjectDetails to get the body type of the avatar, based on shape data.\nIf no data is available, -1.0 is returned.\nThis is normally between 0 and 1.0, with 0.5 and larger considered 'male' type - integer + number value 26 @@ -3458,7 +3458,7 @@ tooltip Units in seconds type - integer + number value 17 @@ -3467,7 +3467,7 @@ tooltip This is a flag used with llGetObjectDetails to get the click action.\nThe default is 0 type - integer + number value 28 @@ -3476,7 +3476,7 @@ tooltip This is a flag used with llGetObjectDetails to get the time this object was created type - integer + number value 36 @@ -3485,7 +3485,7 @@ tooltip Gets the object's creator key. If id is an avatar, a NULL_KEY is returned. type - integer + number value 8 @@ -3494,7 +3494,7 @@ tooltip Gets the damage value assigned to this object. type - integer + number value 51 @@ -3503,7 +3503,7 @@ tooltip Gets the damage type, if any, assigned to this object. type - integer + number value 52 @@ -3512,7 +3512,7 @@ tooltip Gets the object's description. If id is an avatar, an empty string is returned. type - integer + number value 2 @@ -3521,7 +3521,7 @@ tooltip Gets the prims's group key. If id is an avatar, a NULL_KEY is returned. type - integer + number value 7 @@ -3530,7 +3530,7 @@ tooltip Gets the agent's current group role tag. If id is an object, an empty is returned. type - integer + number value 33 @@ -3539,7 +3539,7 @@ tooltip Gets current health value for the object. type - integer + number value 50 @@ -3548,7 +3548,7 @@ tooltip This is a flag used with llGetObjectDetails to get hover height of the avatar\nIf no data is available, 0.0 is returned. type - integer + number value 25 @@ -3557,7 +3557,7 @@ tooltip Gets the object's last owner ID. type - integer + number value 27 @@ -3566,7 +3566,7 @@ tooltip Gets the object's link number or 0 if unlinked. type - integer + number value 46 @@ -3575,7 +3575,7 @@ tooltip Get the object's mass type - integer + number value 43 @@ -3584,7 +3584,7 @@ tooltip Get an object's material setting. type - integer + number value 42 @@ -3593,7 +3593,7 @@ tooltip Gets the object's name. type - integer + number value 1 @@ -3602,7 +3602,7 @@ tooltip Gets an object's angular velocity. type - integer + number value 29 @@ -3611,7 +3611,7 @@ tooltip Gets an object's owner's key. If id is group owned, a NULL_KEY is returned. type - integer + number value 6 @@ -3620,7 +3620,7 @@ tooltip Returns the pathfinding setting of any object in the region. It returns an integer matching one of the OPT_* constants. type - integer + number value 20 @@ -3629,7 +3629,7 @@ tooltip Gets the objects permissions type - integer + number value 53 @@ -3638,7 +3638,7 @@ tooltip Gets the object's permissions including any inventory. type - integer + number value 54 @@ -3647,7 +3647,7 @@ tooltip Returns boolean, detailing if phantom is enabled or disabled on the object.\nIf id is an avatar or attachment, 0 is returned. type - integer + number value 22 @@ -3656,7 +3656,7 @@ tooltip Returns boolean, detailing if physics is enabled or disabled on the object.\nIf id is an avatar or attachment, 0 is returned. type - integer + number value 21 @@ -3665,7 +3665,7 @@ tooltip type - integer + number value 16 @@ -3674,7 +3674,7 @@ tooltip Gets the object's position in region coordinates. type - integer + number value 3 @@ -3683,7 +3683,7 @@ tooltip Gets the prim count of the object. The script and target object must be owned by the same owner type - integer + number value 30 @@ -3692,7 +3692,7 @@ tooltip type - integer + number value 13 @@ -3701,7 +3701,7 @@ tooltip This is a flag used with llGetObjectDetails to get the Avatar_Rendering_Cost of an avatar, based on values reported by nearby viewers.\nIf no data is available, -1 is returned.\nThe maximum render weight stored by the simulator is 500000. When called against an object, 0 is returned. type - integer + number value 24 @@ -3710,7 +3710,7 @@ tooltip type - integer + number value 1 @@ -3719,7 +3719,7 @@ tooltip type - integer + number value 2 @@ -3728,7 +3728,7 @@ tooltip type - integer + number value 4 @@ -3737,7 +3737,7 @@ tooltip type - integer + number value 32 @@ -3746,7 +3746,7 @@ tooltip Get the time when an object was rezzed. type - integer + number value 45 @@ -3755,7 +3755,7 @@ tooltip Gets the id of the root prim of the object requested.\nIf id is an avatar, return the id of the root prim of the linkset the avatar is sitting on (or the avatar's own id if the avatar is not sitting on an object within the region). type - integer + number value 18 @@ -3764,7 +3764,7 @@ tooltip Gets the object's rotation. type - integer + number value 4 @@ -3773,7 +3773,7 @@ tooltip type - integer + number value 9 @@ -3782,7 +3782,7 @@ tooltip Gets the object's size. type - integer + number value 47 @@ -3791,7 +3791,7 @@ tooltip type - integer + number value 11 @@ -3800,7 +3800,7 @@ tooltip type - integer + number value 12 @@ -3809,7 +3809,7 @@ tooltip This is a flag used with llGetObjectDetails to get the number of avatars selecting any part of the object type - integer + number value 37 @@ -3818,7 +3818,7 @@ tooltip type - integer + number value 14 @@ -3827,7 +3827,7 @@ tooltip This is a flag used with llGetObjectDetails to get the number of avatars sitting on the object type - integer + number value 38 @@ -3836,7 +3836,7 @@ tooltip type - integer + number value 15 @@ -3845,7 +3845,7 @@ tooltip Returns boolean, indicating if object is a temp attachment. type - integer + number value 34 @@ -3854,7 +3854,7 @@ tooltip Returns boolean, detailing if temporary is enabled or disabled on the object. type - integer + number value 23 @@ -3863,7 +3863,7 @@ tooltip Gets an objects hover text. type - integer + number value 44 @@ -3872,7 +3872,7 @@ tooltip Gets the alpha of an objects hover text. type - integer + number value 49 @@ -3881,7 +3881,7 @@ tooltip Gets the color of an objects hover text. type - integer + number value 48 @@ -3890,7 +3890,7 @@ tooltip Gets the total inventory count of the object. The script and target object must be owned by the same owner type - integer + number value 31 @@ -3899,7 +3899,7 @@ tooltip type - integer + number value 10 @@ -3908,7 +3908,7 @@ tooltip type - integer + number value -1 @@ -3917,7 +3917,7 @@ tooltip Gets the object's velocity. type - integer + number value 5 @@ -3926,7 +3926,7 @@ tooltip Returned for avatars. type - integer + number value 1 @@ -3935,7 +3935,7 @@ tooltip Returned for pathfinding characters. type - integer + number value 2 @@ -3944,7 +3944,7 @@ tooltip Returned for exclusion volumes. type - integer + number value 6 @@ -3953,7 +3953,7 @@ tooltip Returned for movable obstacles, movable phantoms, physical, and volumedetect objects. type - integer + number value 0 @@ -3962,7 +3962,7 @@ tooltip Returned for material volumes. type - integer + number value 5 @@ -3971,7 +3971,7 @@ tooltip Returned for attachments, Linden trees, and grass. type - integer + number value -1 @@ -3980,7 +3980,7 @@ tooltip Returned for static obstacles. type - integer + number value 4 @@ -3989,7 +3989,7 @@ tooltip Returned for walkable objects. type - integer + number value 3 @@ -3998,7 +3998,7 @@ tooltip type - integer + number value 2 @@ -4007,7 +4007,7 @@ tooltip type - integer + number value 4 @@ -4016,7 +4016,7 @@ tooltip type - integer + number value 3 @@ -4025,7 +4025,7 @@ tooltip type - integer + number value 1 @@ -4034,7 +4034,7 @@ tooltip type - integer + number value 5 @@ -4043,7 +4043,7 @@ tooltip type - integer + number value 8 @@ -4052,7 +4052,7 @@ tooltip type - integer + number value 6 @@ -4061,7 +4061,7 @@ tooltip type - integer + number value 7 @@ -4070,7 +4070,7 @@ tooltip type - integer + number value 2 @@ -4079,7 +4079,7 @@ tooltip type - integer + number value 3 @@ -4088,7 +4088,7 @@ tooltip type - integer + number value 1 @@ -4097,7 +4097,7 @@ tooltip type - integer + number value 4 @@ -4106,7 +4106,7 @@ tooltip type - integer + number value 5 @@ -4115,7 +4115,7 @@ tooltip type - integer + number value 0 @@ -4124,7 +4124,7 @@ tooltip The parcel's area, in square meters. (5 chars.). type - integer + number value 4 @@ -4133,7 +4133,7 @@ tooltip The description of the parcel. (127 chars). type - integer + number value 1 @@ -4142,7 +4142,7 @@ tooltip Flags set on the parcel type - integer + number value 12 @@ -4151,7 +4151,7 @@ tooltip The parcel group's key. (36 chars.). type - integer + number value 3 @@ -4160,7 +4160,7 @@ tooltip The parcel's key. (36 chars.). type - integer + number value 5 @@ -4169,7 +4169,7 @@ tooltip Lookat vector set for teleport routing. type - integer + number value 10 @@ -4178,7 +4178,7 @@ tooltip The parcel's landing point, if any. type - integer + number value 9 @@ -4187,7 +4187,7 @@ tooltip The name of the parcel. (63 chars.). type - integer + number value 0 @@ -4196,7 +4196,7 @@ tooltip The parcel owner's key. (36 chars.). type - integer + number value 2 @@ -4205,7 +4205,7 @@ tooltip The parcel's prim capacity. type - integer + number value 7 @@ -4214,7 +4214,7 @@ tooltip The number of prims used on this parcel. type - integer + number value 8 @@ -4223,7 +4223,7 @@ tooltip There are restrictions on this parcel that may impact script execution. type - integer + number value 13 @@ -4232,7 +4232,7 @@ tooltip The parcel's avatar visibility setting. (1 char.). type - integer + number value 6 @@ -4241,7 +4241,7 @@ tooltip Parcel's teleport routing setting. type - integer + number value 11 @@ -4250,7 +4250,7 @@ tooltip type - integer + number value 0x08000000 @@ -4259,7 +4259,7 @@ tooltip type - integer + number value 0x4000000 @@ -4268,7 +4268,7 @@ tooltip type - integer + number value 0x40 @@ -4277,7 +4277,7 @@ tooltip type - integer + number value 0x20 @@ -4286,7 +4286,7 @@ tooltip type - integer + number value 0x1 @@ -4295,7 +4295,7 @@ tooltip type - integer + number value 0x10000000 @@ -4304,7 +4304,7 @@ tooltip type - integer + number value 0x2000000 @@ -4313,7 +4313,7 @@ tooltip type - integer + number value 0x8 @@ -4322,7 +4322,7 @@ tooltip type - integer + number value 0x2 @@ -4331,7 +4331,7 @@ tooltip type - integer + number value 0x10 @@ -4340,7 +4340,7 @@ tooltip type - integer + number value 0x8000 @@ -4349,7 +4349,7 @@ tooltip type - integer + number value 0x200000 @@ -4358,7 +4358,7 @@ tooltip type - integer + number value 0x100 @@ -4367,7 +4367,7 @@ tooltip type - integer + number value 0x200 @@ -4376,7 +4376,7 @@ tooltip type - integer + number value 0x400 @@ -4385,7 +4385,7 @@ tooltip type - integer + number value 0x800 @@ -4394,7 +4394,7 @@ tooltip type - integer + number value 7 @@ -4403,7 +4403,7 @@ tooltip type - integer + number value 9 @@ -4412,7 +4412,7 @@ tooltip Use this to get or set the parcel media description. type - integer + number value 12 @@ -4421,7 +4421,7 @@ tooltip type - integer + number value 3 @@ -4430,7 +4430,7 @@ tooltip Used to get or set the parcel's media looping variable. type - integer + number value 13 @@ -4439,7 +4439,7 @@ tooltip type - integer + number value 1 @@ -4448,7 +4448,7 @@ tooltip type - integer + number value 2 @@ -4457,7 +4457,7 @@ tooltip Use this to get or set the parcel media pixel resolution. type - integer + number value 11 @@ -4466,7 +4466,7 @@ tooltip type - integer + number value 0 @@ -4475,7 +4475,7 @@ tooltip type - integer + number value 4 @@ -4484,7 +4484,7 @@ tooltip type - integer + number value 6 @@ -4493,7 +4493,7 @@ tooltip Use this to get or set the parcel media MIME type (e.g. "text/html"). type - integer + number value 10 @@ -4502,7 +4502,7 @@ tooltip type - integer + number value 8 @@ -4511,7 +4511,7 @@ tooltip type - integer + number value 5 @@ -4520,7 +4520,7 @@ tooltip The agent authorized to purchase the parcel. type - integer + number value 2 @@ -4529,7 +4529,7 @@ tooltip The parameters provided to set the sale information are invalid. type - integer + number value 5 @@ -4538,7 +4538,7 @@ tooltip The price set for the parcel is invalid (e.g., less than or equal to 0). type - integer + number value 4 @@ -4547,7 +4547,7 @@ tooltip The parcel is currently in escrow and cannot be set for sale. type - integer + number value 3 @@ -4556,7 +4556,7 @@ tooltip The parcel could not be found. type - integer + number value 1 @@ -4565,7 +4565,7 @@ tooltip The script does not have the required permissions to set the sale information. type - integer + number value 2 @@ -4574,7 +4574,7 @@ tooltip Are the objects on the parcel included in the sale? type - integer + number value 3 @@ -4583,7 +4583,7 @@ tooltip The sale information was successfully set. type - integer + number value 0 @@ -4592,7 +4592,7 @@ tooltip The price of the parcel. If no authorized agent is set, must be greater than 0. type - integer + number value 1 @@ -4601,7 +4601,7 @@ tooltip Static in-world objects. type - integer + number value 0x4 @@ -4610,7 +4610,7 @@ tooltip Always pass the event. type - integer + number value 1 @@ -4619,7 +4619,7 @@ tooltip Pass the event if there is no script handling the event in the prim. type - integer + number value 0 @@ -4628,7 +4628,7 @@ tooltip Always pass the event. type - integer + number value 2 @@ -4637,7 +4637,7 @@ tooltip type - integer + number value 0 @@ -4646,7 +4646,7 @@ tooltip type - integer + number value 1 @@ -4655,7 +4655,7 @@ tooltip type - integer + number value 2 @@ -4664,7 +4664,7 @@ tooltip type - integer + number value -2 @@ -4673,7 +4673,7 @@ tooltip type - integer + number value -1 @@ -4682,7 +4682,7 @@ tooltip If this permission is enabled, the object can successfully call llAttachToAvatar to attach to the given avatar. type - integer + number value 0x00020 @@ -4691,7 +4691,7 @@ tooltip (not yet implemented) type - integer + number value 0x00100 @@ -4700,7 +4700,7 @@ tooltip If this permission is enabled, the object can successfully call llCreateLink, llBreakLink, and llBreakAllLinks to change links to other objects. type - integer + number value 0x00080 @@ -4709,7 +4709,7 @@ tooltip (not yet implemented) type - integer + number value 0x00200 @@ -4718,7 +4718,7 @@ tooltip type - integer + number value 0x00800 @@ -4727,7 +4727,7 @@ tooltip If this permission is enabled, the object can successfully call llGiveMoney or llTransferLindenDollars to debit the owners account. type - integer + number value 0x00002 @@ -4736,7 +4736,7 @@ tooltip Permission to override default animations. type - integer + number value 0x08000 @@ -4754,7 +4754,7 @@ tooltip (not yet implemented) type - integer + number value 0x00040 @@ -4763,7 +4763,7 @@ tooltip (not yet implemented) type - integer + number value 0x00008 @@ -4772,7 +4772,7 @@ tooltip type - integer + number value 0x10000 @@ -4781,7 +4781,7 @@ tooltip A script with this permission does not notify the object owner when it modifies estate access rules via llManageEstateAccess. type - integer + number value 0x04000 @@ -4790,7 +4790,7 @@ tooltip If this permission enabled, the object can successfully call the llTakeControls library call. type - integer + number value 0x00004 @@ -4799,7 +4799,7 @@ tooltip type - integer + number value 0x01000 @@ -4808,7 +4808,7 @@ tooltip type - integer + number value 0x00400 @@ -4817,7 +4817,7 @@ tooltip If this permission is enabled, the object can successfully call llStartAnimation for the avatar that owns this. type - integer + number value 0x00010 @@ -4826,7 +4826,7 @@ tooltip type - integer + number value 0x7FFFFFFF @@ -4835,7 +4835,7 @@ tooltip type - integer + number value 0x8000 @@ -4844,7 +4844,7 @@ tooltip type - integer + number value 0x4000 @@ -4853,7 +4853,7 @@ tooltip type - integer + number value 0x80000 @@ -4862,7 +4862,7 @@ tooltip type - integer + number value 0x2000 @@ -4871,7 +4871,7 @@ tooltip 3.14159265 - The number of radians in a semi-circle. type - float + number value 3.14159265 @@ -4880,7 +4880,7 @@ tooltip Play animation going forwards, then backwards. type - integer + number value 0x8 @@ -4889,7 +4889,7 @@ tooltip 1.57079633 - The number of radians in a quarter circle. type - float + number value 1.57079633 @@ -4898,7 +4898,7 @@ tooltip Prim parameter for restricting manual standing for seated avatars in an experience.\nIgnored if the avatar was not seated via a call to llSitOnLink. type - integer + number value 39 @@ -4907,7 +4907,7 @@ tooltip Prim parameter for materials using integer face, integer alpha_mode, integer alpha_cutoff.\nDefines how the alpha channel of the diffuse texture should be rendered.\nValid options for alpha_mode are PRIM_ALPHA_MODE_BLEND, _NONE, _MASK, and _EMISSIVE.\nalpha_cutoff is used only for PRIM_ALPHA_MODE_MASK. type - integer + number value 38 @@ -4916,7 +4916,7 @@ tooltip Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be rendered as alpha-blended. type - integer + number value 1 @@ -4925,7 +4925,7 @@ tooltip Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be rendered as an emissivity mask. type - integer + number value 3 @@ -4934,7 +4934,7 @@ tooltip Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be rendered as fully opaque for alpha values above alpha_cutoff and fully transparent otherwise. type - integer + number value 2 @@ -4943,7 +4943,7 @@ tooltip Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be ignored. type - integer + number value 0 @@ -4952,7 +4952,7 @@ tooltip type - integer + number value 4 @@ -4961,7 +4961,7 @@ tooltip type - integer + number value 12 @@ -4970,7 +4970,7 @@ tooltip type - integer + number value 5 @@ -4979,7 +4979,7 @@ tooltip type - integer + number value 1 @@ -4988,7 +4988,7 @@ tooltip type - integer + number value 6 @@ -4997,7 +4997,7 @@ tooltip type - integer + number value 7 @@ -5006,7 +5006,7 @@ tooltip type - integer + number value 2 @@ -5015,7 +5015,7 @@ tooltip type - integer + number value 10 @@ -5024,7 +5024,7 @@ tooltip type - integer + number value 11 @@ -5033,7 +5033,7 @@ tooltip type - integer + number value 14 @@ -5042,7 +5042,7 @@ tooltip type - integer + number value 0 @@ -5051,7 +5051,7 @@ tooltip type - integer + number value 19 @@ -5060,7 +5060,7 @@ tooltip type - integer + number value 13 @@ -5069,7 +5069,7 @@ tooltip type - integer + number value 9 @@ -5078,7 +5078,7 @@ tooltip type - integer + number value 15 @@ -5087,7 +5087,7 @@ tooltip type - integer + number value 16 @@ -5096,7 +5096,7 @@ tooltip type - integer + number value 8 @@ -5105,7 +5105,7 @@ tooltip type - integer + number value 17 @@ -5114,7 +5114,7 @@ tooltip type - integer + number value 3 @@ -5125,7 +5125,7 @@ tooltip type - integer + number value 24 @@ -5134,7 +5134,7 @@ tooltip [PRIM_CLICK_ACTION, integer CLICK_ACTION_*] type - integer + number value 43 @@ -5143,7 +5143,7 @@ tooltip Collision sound uuid and volume for this prim type - integer + number value 53 @@ -5157,7 +5157,7 @@ vector color – color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, &l float alpha – from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0) type - integer + number value 18 @@ -5166,7 +5166,7 @@ float alpha – from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0) tooltip Damage and damage type assigned to this prim. type - integer + number value 51 @@ -5175,7 +5175,7 @@ float alpha – from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0) tooltip [PRIM_DESC, string description] type - integer + number value 28 @@ -5193,7 +5193,7 @@ float tension – ranges from 0.0 to 10.0 vector force type - integer + number value 21 @@ -5202,7 +5202,7 @@ vector force tooltip [ PRIM_FULLBRIGHT, integer face, integer boolean ] type - integer + number value 20 @@ -5211,7 +5211,7 @@ vector force tooltip PRIM_GLOW is used to get or set the glow status of the face.\n[ PRIM_GLOW, integer face, float intensity ] type - integer + number value 25 @@ -5220,7 +5220,7 @@ vector force tooltip Prim parameter setting for PRIM_GLTF_BASE_COLOR alpha mode "BLEND". type - integer + number value 1 @@ -5229,7 +5229,7 @@ vector force tooltip Prim parameter setting for PRIM_GLTF_BASE_COLOR alpha mode "MASK". type - integer + number value 2 @@ -5238,7 +5238,7 @@ vector force tooltip Prim parameter setting for PRIM_GLTF_BASE_COLOR alpha mode "OPAQUE". type - integer + number value 0 @@ -5247,7 +5247,7 @@ vector force tooltip Prim parameter for materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, vector color, integer alpha_mode, float alpha_cutoff, boolean double_sided.\nValid options for alpha_mode are PRIM_ALPHA_MODE_BLEND, _NONE, and _MASK.\nalpha_cutoff is used only for PRIM_ALPHA_MODE_MASK. type - integer + number value 48 @@ -5256,7 +5256,7 @@ vector force tooltip Prim parameter for GLTF materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, vector color type - integer + number value 46 @@ -5265,7 +5265,7 @@ vector force tooltip Prim parameter for GLTF materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, float metallic_factor, float roughness_factor type - integer + number value 47 @@ -5274,7 +5274,7 @@ vector force tooltip Prim parameter for GLTF materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians type - integer + number value 45 @@ -5283,7 +5283,7 @@ vector force tooltip Health value for this prim type - integer + number value 52 @@ -5292,7 +5292,7 @@ vector force tooltip type - integer + number value 0x10 @@ -5301,7 +5301,7 @@ vector force tooltip type - integer + number value 0x00 @@ -5310,7 +5310,7 @@ vector force tooltip type - integer + number value 0x20 @@ -5319,7 +5319,7 @@ vector force tooltip type - integer + number value 0x30 @@ -5331,7 +5331,7 @@ vector force Used to get or set multiple links with a single PrimParameters call. type - integer + number value 34 @@ -5340,7 +5340,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip [ PRIM_MATERIAL, integer PRIM_MATERIAL_* ] type - integer + number value 2 @@ -5349,7 +5349,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 4 @@ -5358,7 +5358,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 2 @@ -5367,7 +5367,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 7 @@ -5376,7 +5376,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 1 @@ -5385,7 +5385,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 5 @@ -5394,7 +5394,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 6 @@ -5403,7 +5403,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 0 @@ -5412,7 +5412,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 3 @@ -5421,7 +5421,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Boolean. Gets/Sets the default image state (the image that the user sees before a piece of media is active) for the chosen face. The default image is specified by Second Life's server for that media type. type - integer + number value 0 @@ -5430,7 +5430,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Boolean. Gets/Sets whether auto-looping is enabled. type - integer + number value 4 @@ -5439,7 +5439,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Boolean. Gets/Sets whether the media auto-plays when a Resident can view it. type - integer + number value 5 @@ -5448,7 +5448,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Boolean. Gets/Sets whether auto-scaling is enabled. Auto-scaling forces the media to the full size of the texture. type - integer + number value 6 @@ -5457,7 +5457,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Boolean. Gets/Sets whether clicking the media triggers auto-zoom and auto-focus on the media. type - integer + number value 7 @@ -5466,7 +5466,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Integer. Gets/Sets the style of controls. Can be either PRIM_MEDIA_CONTROLS_STANDARD or PRIM_MEDIA_CONTROLS_MINI. type - integer + number value 1 @@ -5475,7 +5475,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Mini web navigation controls; does not include an address bar. type - integer + number value 1 @@ -5484,7 +5484,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Standard web navigation controls. type - integer + number value 0 @@ -5493,7 +5493,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip String. Gets/Sets the current url displayed on the chosen face. Changing this URL causes navigation. 1024 characters Maximum. type - integer + number value 2 @@ -5502,7 +5502,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Boolean. Gets/Sets whether the first click interaction is enabled. type - integer + number value 8 @@ -5511,7 +5511,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Integer. Gets/Sets the height of the media in pixels. type - integer + number value 10 @@ -5520,7 +5520,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip String. Gets/Sets the home URL for the chosen face. 1024 characters maximum. type - integer + number value 3 @@ -5529,7 +5529,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 2048 @@ -5538,7 +5538,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 1024 @@ -5547,7 +5547,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 64 @@ -5556,7 +5556,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 1024 @@ -5565,7 +5565,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 2048 @@ -5574,7 +5574,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 14 @@ -5583,7 +5583,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Integer. Gets/Sets the permissions mask that control who can see the media control bar above the object:: PRIM_MEDIA_PERM_ANYONE, PRIM_MEDIA_PERM_GROUP, PRIM_MEDIA_PERM_NONE, PRIM_MEDIA_PERM_OWNER type - integer + number value 14 @@ -5592,7 +5592,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Integer. Gets/Sets the permissions mask that control who can interact with the object: PRIM_MEDIA_PERM_ANYONE, PRIM_MEDIA_PERM_GROUP, PRIM_MEDIA_PERM_NONE, PRIM_MEDIA_PERM_OWNER type - integer + number value 13 @@ -5601,7 +5601,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 4 @@ -5610,7 +5610,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 2 @@ -5619,7 +5619,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 0 @@ -5628,7 +5628,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip type - integer + number value 1 @@ -5637,7 +5637,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip String. Gets/Sets the white-list as a string of escaped, comma-separated URLs. This string can hold up to 64 URLs or 1024 characters, whichever comes first. type - integer + number value 12 @@ -5646,7 +5646,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Boolean. Gets/Sets whether navigation is restricted to URLs in PRIM_MEDIA_WHITELIST. type - integer + number value 11 @@ -5655,7 +5655,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Integer. Gets/Sets the width of the media in pixels. type - integer + number value 9 @@ -5664,7 +5664,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip [ PRIM_NAME, string name ] type - integer + number value 27 @@ -5673,7 +5673,7 @@ Used to get or set multiple links with a single PrimParameters call. tooltip Prim parameter for materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians type - integer + number value 37 @@ -5687,7 +5687,7 @@ float spinrate – rate of rotation in radians per second float gain – also modulates the final spinrate and disables the rotation behavior if zero type - integer + number value 32 @@ -5696,7 +5696,7 @@ float gain – also modulates the final spinrate and disables the rotation behav tooltip [ PRIM_PHANTOM, integer boolean ] type - integer + number value 5 @@ -5705,7 +5705,7 @@ float gain – also modulates the final spinrate and disables the rotation behav tooltip [ PRIM_PHYSICS, integer boolean ] type - integer + number value 3 @@ -5714,7 +5714,7 @@ float gain – also modulates the final spinrate and disables the rotation behav tooltip Use the convex hull of the prim shape for physics (this is the default for mesh objects). type - integer + number value 2 @@ -5723,7 +5723,7 @@ float gain – also modulates the final spinrate and disables the rotation behav tooltip Ignore this prim in the physics shape. NB: This cannot be applied to the root prim. type - integer + number value 1 @@ -5732,7 +5732,7 @@ float gain – also modulates the final spinrate and disables the rotation behav tooltip Use the normal prim shape for physics (this is the default for all non-mesh objects). type - integer + number value 0 @@ -5742,7 +5742,7 @@ float gain – also modulates the final spinrate and disables the rotation behav Allows you to set the physics shape type of a prim via lsl. Permitted values are: PRIM_PHYSICS_SHAPE_NONE, PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_CONVEX type - integer + number value 30 @@ -5758,7 +5758,7 @@ float radius – ranges from 0.1 to 20.0 float falloff – ranges from 0.01 to 2.0 type - integer + number value 23 @@ -5770,7 +5770,7 @@ float falloff – ranges from 0.01 to 2.0 vector position – position in region or local coordinates depending upon the situation type - integer + number value 6 @@ -5782,7 +5782,7 @@ vector position – position in region or local coordinates depending upon the s vector position - position in local coordinates type - integer + number value 33 @@ -5791,7 +5791,7 @@ vector position - position in local coordinates tooltip [ PRIM_PROJECTOR, string texture, float fov, float focus, float ambiance ] type - integer + number value 42 @@ -5800,7 +5800,7 @@ vector position - position in local coordinates tooltip Allows you to configure the object as a custom-placed reflection probe, for image-based lighting (IBL). Only objects in the influence volume of the reflection probe object are affected. type - integer + number value 44 @@ -5809,7 +5809,7 @@ vector position - position in local coordinates tooltip This is a flag option used with llGetPrimitiveParams and related functions when the parameter is PRIM_REFLECTION_PROBE. When set, the reflection probe is a box. When unset, the reflection probe is a sphere. type - integer + number value 1 @@ -5818,7 +5818,7 @@ vector position - position in local coordinates tooltip This is a flag option used with llGetPrimitiveParams and related functions when the parameter is PRIM_REFLECTION_PROBE. When set, the reflection probe includes avatars in IBL effects. When unset, the reflection probe excludes avatars. type - integer + number value 2 @@ -5827,7 +5827,7 @@ vector position - position in local coordinates tooltip This is a flag option used with llGetPrimitiveParams and related functions when the parameter is PRIM_REFLECTION_PROBE. When set, the reflection probe acts as a mirror. type - integer + number value 4 @@ -5836,7 +5836,7 @@ vector position - position in local coordinates tooltip [ PRIM_RENDER_MATERIAL, integer face, string material ] type - integer + number value 49 @@ -5845,7 +5845,7 @@ vector position - position in local coordinates tooltip [ PRIM_ROT_LOCAL, rotation global_rot ] type - integer + number value 8 @@ -5854,7 +5854,7 @@ vector position - position in local coordinates tooltip [ PRIM_ROT_LOCAL, rotation local_rot ] type - integer + number value 29 @@ -5863,7 +5863,7 @@ vector position - position in local coordinates tooltip Prim parameter for restricting manual sitting on this prim.\nSitting must be initiated via call to llSitOnLink. type - integer + number value 40 @@ -5872,7 +5872,7 @@ vector position - position in local coordinates tooltip Mesh is animated. type - integer + number value 32 @@ -5881,7 +5881,7 @@ vector position - position in local coordinates tooltip Render inside out (inverts the normals). type - integer + number value 64 @@ -5890,7 +5890,7 @@ vector position - position in local coordinates tooltip Render an X axis mirror of the sculpty. type - integer + number value 128 @@ -5899,7 +5899,7 @@ vector position - position in local coordinates tooltip type - integer + number value 4 @@ -5908,7 +5908,7 @@ vector position - position in local coordinates tooltip type - integer + number value 7 @@ -5917,7 +5917,7 @@ vector position - position in local coordinates tooltip type - integer + number value 5 @@ -5926,7 +5926,7 @@ vector position - position in local coordinates tooltip type - integer + number value 3 @@ -5935,7 +5935,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -5944,7 +5944,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -5953,7 +5953,7 @@ vector position - position in local coordinates tooltip type - integer + number value 3 @@ -5962,7 +5962,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -5971,7 +5971,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -5980,7 +5980,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -5989,7 +5989,7 @@ vector position - position in local coordinates tooltip type - integer + number value 50 @@ -5998,7 +5998,7 @@ vector position - position in local coordinates tooltip [ PRIM_SIT_TARGET, integer boolean, vector offset, rotation rot ] type - integer + number value 41 @@ -6007,7 +6007,7 @@ vector position - position in local coordinates tooltip [ PRIM_SIZE, vector size ] type - integer + number value 7 @@ -6016,7 +6016,7 @@ vector position - position in local coordinates tooltip [ PRIM_SLICE, vector slice ] type - integer + number value 35 @@ -6025,7 +6025,7 @@ vector position - position in local coordinates tooltip Prim parameter for materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, vector color, integer glossy, integer environment type - integer + number value 36 @@ -6034,7 +6034,7 @@ vector position - position in local coordinates tooltip type - integer + number value 4 @@ -6043,7 +6043,7 @@ vector position - position in local coordinates tooltip [ PRIM_TEXGEN, integer face, PRIM_TEXGEN_* ] type - integer + number value 22 @@ -6052,7 +6052,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -6061,7 +6061,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -6070,7 +6070,7 @@ vector position - position in local coordinates tooltip [ PRIM_TEXT, string text, vector color, float alpha ] type - integer + number value 26 @@ -6079,7 +6079,7 @@ vector position - position in local coordinates tooltip [ PRIM_TEXTURE, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians ] type - integer + number value 17 @@ -6088,7 +6088,7 @@ vector position - position in local coordinates tooltip type - integer + number value 9 @@ -6097,7 +6097,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -6106,7 +6106,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -6115,7 +6115,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -6124,7 +6124,7 @@ vector position - position in local coordinates tooltip type - integer + number value 6 @@ -6133,7 +6133,7 @@ vector position - position in local coordinates tooltip type - integer + number value 7 @@ -6142,7 +6142,7 @@ vector position - position in local coordinates tooltip type - integer + number value 3 @@ -6151,7 +6151,7 @@ vector position - position in local coordinates tooltip type - integer + number value 4 @@ -6160,7 +6160,7 @@ vector position - position in local coordinates tooltip type - integer + number value 5 @@ -6169,7 +6169,7 @@ vector position - position in local coordinates tooltip Disables profiling type - integer + number value 0 @@ -6178,7 +6178,7 @@ vector position - position in local coordinates tooltip Enables memory profiling type - integer + number value 1 @@ -6187,7 +6187,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -6196,7 +6196,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -6205,7 +6205,7 @@ vector position - position in local coordinates tooltip type - integer + number value 4 @@ -6214,7 +6214,7 @@ vector position - position in local coordinates tooltip type - integer + number value 9 @@ -6223,7 +6223,7 @@ vector position - position in local coordinates tooltip type - integer + number value 5 @@ -6232,7 +6232,7 @@ vector position - position in local coordinates tooltip type - integer + number value 7 @@ -6241,7 +6241,7 @@ vector position - position in local coordinates tooltip type - integer + number value 3 @@ -6250,7 +6250,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -6259,7 +6259,7 @@ vector position - position in local coordinates tooltip type - integer + number value 25 @@ -6268,7 +6268,7 @@ vector position - position in local coordinates tooltip type - integer + number value 24 @@ -6277,7 +6277,7 @@ vector position - position in local coordinates tooltip Particles bounce off of a plane at the objects Z height. type - integer + number value 0x4 @@ -6286,7 +6286,7 @@ vector position - position in local coordinates tooltip The particle glows. type - integer + number value 0x100 @@ -6295,7 +6295,7 @@ vector position - position in local coordinates tooltip A float which determines the ending alpha of the object. type - integer + number value 4 @@ -6304,7 +6304,7 @@ vector position - position in local coordinates tooltip A vector <r, g, b> which determines the ending color of the object. type - integer + number value 3 @@ -6313,7 +6313,7 @@ vector position - position in local coordinates tooltip type - integer + number value 27 @@ -6322,7 +6322,7 @@ vector position - position in local coordinates tooltip A vector <sx, sy, z>, which is the ending size of the particle billboard in meters (z is ignored). type - integer + number value 6 @@ -6331,7 +6331,7 @@ vector position - position in local coordinates tooltip Each particle that is emitted by the particle system is simulated based on the following flags. To use multiple flags, bitwise or (|) them together. type - integer + number value 0 @@ -6340,7 +6340,7 @@ vector position - position in local coordinates tooltip The particle position is relative to the source objects position. type - integer + number value 0x10 @@ -6349,7 +6349,7 @@ vector position - position in local coordinates tooltip The particle orientation is rotated so the vertical axis faces towards the particle velocity. type - integer + number value 0x20 @@ -6358,7 +6358,7 @@ vector position - position in local coordinates tooltip Interpolate both the color and alpha from the start value to the end value. type - integer + number value 0x1 @@ -6367,7 +6367,7 @@ vector position - position in local coordinates tooltip Interpolate the particle scale from the start value to the end value. type - integer + number value 0x2 @@ -6376,7 +6376,7 @@ vector position - position in local coordinates tooltip Age in seconds of a particle at which it dies. type - integer + number value 7 @@ -6385,7 +6385,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x400 @@ -6394,7 +6394,7 @@ vector position - position in local coordinates tooltip A float which determines the starting alpha of the object. type - integer + number value 2 @@ -6403,7 +6403,7 @@ vector position - position in local coordinates tooltip A vector <r, g, b> which determines the starting color of the object. type - integer + number value 1 @@ -6412,7 +6412,7 @@ vector position - position in local coordinates tooltip type - integer + number value 26 @@ -6421,7 +6421,7 @@ vector position - position in local coordinates tooltip A vector <sx, sy, z>, which is the starting size of the particle billboard in meters (z is ignored). type - integer + number value 5 @@ -6430,7 +6430,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x80 @@ -6439,7 +6439,7 @@ vector position - position in local coordinates tooltip The particle heads towards the location of the target object as defined by PSYS_SRC_TARGET_KEY. type - integer + number value 0x40 @@ -6448,7 +6448,7 @@ vector position - position in local coordinates tooltip Particles have their velocity damped towards the wind velocity. type - integer + number value 0x8 @@ -6457,7 +6457,7 @@ vector position - position in local coordinates tooltip A vector <x, y, z> which is the acceleration to apply on particles. type - integer + number value 8 @@ -6466,7 +6466,7 @@ vector position - position in local coordinates tooltip Area in radians specifying where particles will NOT be created (for ANGLE patterns) type - integer + number value 22 @@ -6475,7 +6475,7 @@ vector position - position in local coordinates tooltip Area in radians filled with particles (for ANGLE patterns) (if lower than PSYS_SRC_ANGLE_BEGIN, acts as PSYS_SRC_ANGLE_BEGIN itself, and PSYS_SRC_ANGLE_BEGIN acts as PSYS_SRC_ANGLE_END). type - integer + number value 23 @@ -6484,7 +6484,7 @@ vector position - position in local coordinates tooltip How many particles to release in a burst. type - integer + number value 15 @@ -6493,7 +6493,7 @@ vector position - position in local coordinates tooltip What distance from the center of the object to create the particles. type - integer + number value 16 @@ -6502,7 +6502,7 @@ vector position - position in local coordinates tooltip How often to release a particle burst (float seconds). type - integer + number value 13 @@ -6511,7 +6511,7 @@ vector position - position in local coordinates tooltip Maximum speed that a particle should be moving. type - integer + number value 18 @@ -6520,7 +6520,7 @@ vector position - position in local coordinates tooltip Minimum speed that a particle should be moving. type - integer + number value 17 @@ -6530,7 +6530,7 @@ vector position - position in local coordinates Specifies the inner angle of the arc created by the PSYS_SRC_PATTERN_ANGLE or PSYS_SRC_PATTERN_ANGLE_CONE source pattern. The area specified will NOT have particles in it. type - integer + number value 10 @@ -6539,7 +6539,7 @@ vector position - position in local coordinates tooltip How long this particle system should last, 0.0 means forever. type - integer + number value 19 @@ -6548,7 +6548,7 @@ vector position - position in local coordinates tooltip Sets the angular velocity to rotate the axis that SRC_PATTERN_ANGLE and SRC_PATTERN_ANGLE_CONE use. type - integer + number value 21 @@ -6558,7 +6558,7 @@ vector position - position in local coordinates Specifies the outer angle of the arc created by the PSYS_SRC_PATTERN_ANGLE or PSYS_SRC_PATTERN_ANGLE_CONE source pattern. The area between the outer and inner angle will be filled with particles. type - integer + number value 11 @@ -6568,7 +6568,7 @@ vector position - position in local coordinates The pattern which is used to generate particles. Use one of the following values: PSYS_SRC_PATTERN Values. type - integer + number value 9 @@ -6577,7 +6577,7 @@ vector position - position in local coordinates tooltip Shoot particles across a 2 dimensional area defined by the arc created from PSYS_SRC_OUTERANGLE. There will be an open area defined by PSYS_SRC_INNERANGLE within the larger arc. type - integer + number value 0x04 @@ -6586,7 +6586,7 @@ vector position - position in local coordinates tooltip Shoot particles out in a 3 dimensional cone with an outer arc of PSYS_SRC_OUTERANGLE and an inner open area defined by PSYS_SRC_INNERANGLE. type - integer + number value 0x08 @@ -6595,7 +6595,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x10 @@ -6604,7 +6604,7 @@ vector position - position in local coordinates tooltip Drop particles at the source position. type - integer + number value 0x01 @@ -6613,7 +6613,7 @@ vector position - position in local coordinates tooltip Shoot particles out in all directions, using the burst parameters. type - integer + number value 0x02 @@ -6622,7 +6622,7 @@ vector position - position in local coordinates tooltip The key of a target object to move towards if PSYS_PART_TARGET_POS_MASK is enabled. type - integer + number value 20 @@ -6631,7 +6631,7 @@ vector position - position in local coordinates tooltip An asset name for the texture to use for the particles. type - integer + number value 12 @@ -6640,7 +6640,7 @@ vector position - position in local coordinates tooltip PUBLIC_CHANNEL is an integer constant that, when passed to llSay, llWhisper, or llShout as a channel parameter, will print text to the publicly heard chat channel. type - integer + number value 0 @@ -6649,7 +6649,7 @@ vector position - position in local coordinates tooltip Selects a random destination near the offset. type - integer + number value 3 @@ -6658,7 +6658,7 @@ vector position - position in local coordinates tooltip type - integer + number value 5 @@ -6667,7 +6667,7 @@ vector position - position in local coordinates tooltip Define whether the character attempts to predict the target's location. type - integer + number value 4 @@ -6676,7 +6676,7 @@ vector position - position in local coordinates tooltip Go to a position offset from the target. type - integer + number value 1 @@ -6685,7 +6685,7 @@ vector position - position in local coordinates tooltip Triggered when an llEvade character thinks it has hidden from its pursuer. type - integer + number value 0x07 @@ -6694,7 +6694,7 @@ vector position - position in local coordinates tooltip Triggered when an llEvade character switches from hiding to running type - integer + number value 0x08 @@ -6703,7 +6703,7 @@ vector position - position in local coordinates tooltip type - integer + number value 10 @@ -6712,7 +6712,7 @@ vector position - position in local coordinates tooltip Goal is not on the navigation-mesh and cannot be reached. type - integer + number value 0x03 @@ -6721,7 +6721,7 @@ vector position - position in local coordinates tooltip Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it. type - integer + number value 0x02 @@ -6730,7 +6730,7 @@ vector position - position in local coordinates tooltip This is a fatal error reported to a character when there is no navmesh for the region. This usually indicates a server failure and users should file a bug report and include the time and region in which they received this message. type - integer + number value 0x09 @@ -6739,7 +6739,7 @@ vector position - position in local coordinates tooltip There is no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable. type - integer + number value 0x06 @@ -6748,7 +6748,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1000000 @@ -6757,7 +6757,7 @@ vector position - position in local coordinates tooltip type - integer + number value 11 @@ -6766,7 +6766,7 @@ vector position - position in local coordinates tooltip Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region. type - integer + number value 0x05 @@ -6775,7 +6775,7 @@ vector position - position in local coordinates tooltip Goal is no longer reachable for some reason - e.g., an obstacle blocks the path. type - integer + number value 0x04 @@ -6784,7 +6784,7 @@ vector position - position in local coordinates tooltip Character has reached the goal and will stop or choose a new goal (if wandering). type - integer + number value 0x01 @@ -6793,7 +6793,7 @@ vector position - position in local coordinates tooltip Character is near current goal. type - integer + number value 0x00 @@ -6802,7 +6802,7 @@ vector position - position in local coordinates tooltip 57.2957795 - Number of degrees per radian. You can use this number to convert radians to degrees by multiplying the radians by this number. type - float + number value 57.2957795 @@ -6811,7 +6811,7 @@ vector position - position in local coordinates tooltip type - integer + number value -3 @@ -6820,7 +6820,7 @@ vector position - position in local coordinates tooltip type - integer + number value -2 @@ -6829,7 +6829,7 @@ vector position - position in local coordinates tooltip type - integer + number value -1 @@ -6838,7 +6838,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -6847,7 +6847,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -6856,7 +6856,7 @@ vector position - position in local coordinates tooltip type - integer + number value 4 @@ -6865,7 +6865,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -6874,7 +6874,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -6883,7 +6883,7 @@ vector position - position in local coordinates tooltip type - integer + number value 3 @@ -6892,7 +6892,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -6901,7 +6901,7 @@ vector position - position in local coordinates tooltip type - integer + number value 8 @@ -6910,7 +6910,7 @@ vector position - position in local coordinates tooltip type - integer + number value 4 @@ -6919,7 +6919,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -6928,7 +6928,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -6937,7 +6937,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x1 @@ -6946,7 +6946,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x100000 @@ -6955,7 +6955,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x80000 @@ -6964,7 +6964,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x8000000 @@ -6973,7 +6973,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x40 @@ -6982,7 +6982,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x1000 @@ -6991,7 +6991,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x4000 @@ -7000,7 +7000,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x10 @@ -7009,7 +7009,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x400000 @@ -7018,7 +7018,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x100 @@ -7029,7 +7029,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -7040,7 +7040,7 @@ vector position - position in local coordinates tooltip type - integer + number value 3 @@ -7051,7 +7051,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -7060,7 +7060,7 @@ vector position - position in local coordinates tooltip Define whether the character needs a line-of-sight to give chase. type - integer + number value 2 @@ -7069,7 +7069,7 @@ vector position - position in local coordinates tooltip Used with llSetPhysicsMaterial to enable the density value. Must be between 0.0 and 1.0 type - integer + number value 4 @@ -7078,7 +7078,7 @@ vector position - position in local coordinates tooltip Play animation in reverse direction. type - integer + number value 0x4 @@ -7087,7 +7087,7 @@ vector position - position in local coordinates tooltip Acceleration forced applied to the rezzed object. [vector force, integer rel] type - integer + number value 5 @@ -7096,7 +7096,7 @@ vector position - position in local coordinates tooltip Damage applied by the object when it collides with an agent. [float damage] type - integer + number value 8 @@ -7105,7 +7105,7 @@ vector position - position in local coordinates tooltip Set the damage type applied when this object collides. [integer damage_type] type - integer + number value 12 @@ -7114,7 +7114,7 @@ vector position - position in local coordinates tooltip Rez flags to set on the newly rezzed object. [integer flags] type - integer + number value 1 @@ -7123,7 +7123,7 @@ vector position - position in local coordinates tooltip Prevent grabbing the object. type - integer + number value 0x0080 @@ -7132,7 +7132,7 @@ vector position - position in local coordinates tooltip Object will die after its first collision. type - integer + number value 0x0008 @@ -7141,7 +7141,7 @@ vector position - position in local coordinates tooltip Object will die if it attempts to enter a parcel that it can not. type - integer + number value 0x0010 @@ -7150,7 +7150,7 @@ vector position - position in local coordinates tooltip Object will not trigger collision events with other objects created by the same rezzer. type - integer + number value 0x0040 @@ -7159,7 +7159,7 @@ vector position - position in local coordinates tooltip Object will not trigger collision events with its owner. type - integer + number value 0x0020 @@ -7168,7 +7168,7 @@ vector position - position in local coordinates tooltip Make the object phantom on rez. type - integer + number value 0x0004 @@ -7177,7 +7177,7 @@ vector position - position in local coordinates tooltip Make the object physical on rez. type - integer + number value 0x0002 @@ -7186,7 +7186,7 @@ vector position - position in local coordinates tooltip Flag the object as temp on rez. type - integer + number value 0x0001 @@ -7195,7 +7195,7 @@ vector position - position in local coordinates tooltip Prevent the object from rotating around some axes. [vector locks] type - integer + number value 11 @@ -7204,7 +7204,7 @@ vector position - position in local coordinates tooltip Omega applied to the rezzed object. [vector axis, integer rel, float spin, float gain] type - integer + number value 7 @@ -7213,7 +7213,7 @@ vector position - position in local coordinates tooltip Integer value to pass to the object as its rez parameter. [integer param] type - integer + number value 0 @@ -7222,7 +7222,7 @@ vector position - position in local coordinates tooltip A string value to pass to the object as its rez parameter. [string param] type - integer + number value 13 @@ -7231,7 +7231,7 @@ vector position - position in local coordinates tooltip Position at which to rez the new object. [vector position, integer rel, integer atroot] type - integer + number value 2 @@ -7240,7 +7240,7 @@ vector position - position in local coordinates tooltip Rotation applied to newly rezzed object. [rotation rot, integer rel] type - integer + number value 3 @@ -7249,7 +7249,7 @@ vector position - position in local coordinates tooltip Sound attached to the rezzed object. [string name, float volume, integer loop] type - integer + number value 9 @@ -7258,7 +7258,7 @@ vector position - position in local coordinates tooltip Sound played by the object on a collision. [string name, float volume] type - integer + number value 10 @@ -7267,7 +7267,7 @@ vector position - position in local coordinates tooltip Initial velocity of rezzed object. [vector vel, integer rel, integer inherit] type - integer + number value 4 @@ -7276,7 +7276,7 @@ vector position - position in local coordinates tooltip Animate texture rotation. type - integer + number value 0x20 @@ -7285,7 +7285,7 @@ vector position - position in local coordinates tooltip Animate the texture scale. type - integer + number value 0x40 @@ -7294,7 +7294,7 @@ vector position - position in local coordinates tooltip Scripted in-world objects. type - integer + number value 0x8 @@ -7303,7 +7303,7 @@ vector position - position in local coordinates tooltip Number of active scripts. type - integer + number value 12 @@ -7312,7 +7312,7 @@ vector position - position in local coordinates tooltip Number of agents in region. type - integer + number value 10 @@ -7321,7 +7321,7 @@ vector position - position in local coordinates tooltip Time spent in 'agent' segment of simulation frame. type - integer + number value 7 @@ -7330,7 +7330,7 @@ vector position - position in local coordinates tooltip Agent updates per second. type - integer + number value 2 @@ -7339,7 +7339,7 @@ vector position - position in local coordinates tooltip Time spent on AI step. type - integer + number value 26 @@ -7348,7 +7348,7 @@ vector position - position in local coordinates tooltip Pending asset download count. type - integer + number value 15 @@ -7357,7 +7357,7 @@ vector position - position in local coordinates tooltip Pending asset upload count. type - integer + number value 16 @@ -7366,7 +7366,7 @@ vector position - position in local coordinates tooltip Number of child agents in region. type - integer + number value 11 @@ -7375,7 +7375,7 @@ vector position - position in local coordinates tooltip Total frame time. type - integer + number value 3 @@ -7384,7 +7384,7 @@ vector position - position in local coordinates tooltip Time spent in 'image' segment of simulation frame. type - integer + number value 8 @@ -7393,7 +7393,7 @@ vector position - position in local coordinates tooltip Pump IO time. type - integer + number value 24 @@ -7402,7 +7402,7 @@ vector position - position in local coordinates tooltip Time spent in 'network' segment of simulation frame. type - integer + number value 4 @@ -7411,7 +7411,7 @@ vector position - position in local coordinates tooltip Time spent in 'other' segment of simulation frame. type - integer + number value 5 @@ -7420,7 +7420,7 @@ vector position - position in local coordinates tooltip Packets in per second. type - integer + number value 13 @@ -7429,7 +7429,7 @@ vector position - position in local coordinates tooltip Packets out per second. type - integer + number value 14 @@ -7438,7 +7438,7 @@ vector position - position in local coordinates tooltip Returns the % of pathfinding characters skipped each frame, averaged over the last minute.\nThe returned value corresponds to the "Characters Updated" stat in the viewer's Statistics Bar. type - integer + number value 0 @@ -7447,7 +7447,7 @@ vector position - position in local coordinates tooltip Physics simulation FPS. type - integer + number value 1 @@ -7456,7 +7456,7 @@ vector position - position in local coordinates tooltip Time spent in 'physics' segment of simulation frame. type - integer + number value 6 @@ -7465,7 +7465,7 @@ vector position - position in local coordinates tooltip Physics other time. type - integer + number value 20 @@ -7474,7 +7474,7 @@ vector position - position in local coordinates tooltip Physics shape update time. type - integer + number value 19 @@ -7483,7 +7483,7 @@ vector position - position in local coordinates tooltip Physics step time. type - integer + number value 18 @@ -7492,7 +7492,7 @@ vector position - position in local coordinates tooltip Script events per second. type - integer + number value 21 @@ -7501,7 +7501,7 @@ vector position - position in local coordinates tooltip Time spent in 'script' segment of simulation frame. type - integer + number value 9 @@ -7510,7 +7510,7 @@ vector position - position in local coordinates tooltip Percent of scripts run during frame. type - integer + number value 25 @@ -7519,7 +7519,7 @@ vector position - position in local coordinates tooltip Time spent sleeping. type - integer + number value 23 @@ -7528,7 +7528,7 @@ vector position - position in local coordinates tooltip Spare time left after frame. type - integer + number value 22 @@ -7537,7 +7537,7 @@ vector position - position in local coordinates tooltip Total unacknowledged bytes. type - integer + number value 17 @@ -7546,7 +7546,7 @@ vector position - position in local coordinates tooltip The prim allows a seated avatar to stand up. type - integer + number value 0x0002 @@ -7555,7 +7555,7 @@ vector position - position in local coordinates tooltip The seated avatar's hit box is disabled when seated on this prim. type - integer + number value 0x0010 @@ -7564,7 +7564,7 @@ vector position - position in local coordinates tooltip Damage will not be forwarded to an avatar seated on this prim. type - integer + number value 0x0020 @@ -7573,7 +7573,7 @@ vector position - position in local coordinates tooltip An avatar may not manually sit on this prim. type - integer + number value 0x0004 @@ -7582,7 +7582,7 @@ vector position - position in local coordinates tooltip The prim has an explicitly set sit target. type - integer + number value 0x0001 @@ -7591,7 +7591,7 @@ vector position - position in local coordinates tooltip Avatar ID did not specify a valid avatar. type - integer + number value -4 @@ -7600,7 +7600,7 @@ vector position - position in local coordinates tooltip Link ID did not specify a valid prim in the linkset or resolved to multiple prims. type - integer + number value -5 @@ -7609,7 +7609,7 @@ vector position - position in local coordinates tooltip Attempt to force an avatar to sit on an attachment or other invalid target. type - integer + number value -7 @@ -7618,7 +7618,7 @@ vector position - position in local coordinates tooltip Attempt to force an avatar to sit outside an experience. type - integer + number value -1 @@ -7627,7 +7627,7 @@ vector position - position in local coordinates tooltip Avatar does not have access to the parcel containing the target linkset of the forced sit. type - integer + number value -6 @@ -7636,7 +7636,7 @@ vector position - position in local coordinates tooltip Avatar has not granted permission to force sits. type - integer + number value -2 @@ -7645,7 +7645,7 @@ vector position - position in local coordinates tooltip No available sit target in linkset for forced sit. type - integer + number value -3 @@ -7654,7 +7654,7 @@ vector position - position in local coordinates tooltip The ambient color of the environment type - integer + number value 0 @@ -7663,7 +7663,7 @@ vector position - position in local coordinates tooltip Blue settings for environment type - integer + number value 22 @@ -7672,7 +7672,7 @@ vector position - position in local coordinates tooltip Settings controlling cloud density and configuration type - integer + number value 2 @@ -7681,7 +7681,7 @@ vector position - position in local coordinates tooltip Texture ID used by clouds type - integer + number value 19 @@ -7690,7 +7690,7 @@ vector position - position in local coordinates tooltip Sky dome information. type - integer + number value 4 @@ -7699,7 +7699,7 @@ vector position - position in local coordinates tooltip The gamma value applied to the scene. type - integer + number value 5 @@ -7708,7 +7708,7 @@ vector position - position in local coordinates tooltip Glow color applied to the sun and moon. type - integer + number value 6 @@ -7717,7 +7717,7 @@ vector position - position in local coordinates tooltip Haze settings for environment type - integer + number value 23 @@ -7726,7 +7726,7 @@ vector position - position in local coordinates tooltip Miscellaneous lighting values. type - integer + number value 8 @@ -7735,7 +7735,7 @@ vector position - position in local coordinates tooltip Environmental moon details. type - integer + number value 9 @@ -7744,7 +7744,7 @@ vector position - position in local coordinates tooltip Environmental moon texture. type - integer + number value 20 @@ -7753,7 +7753,7 @@ vector position - position in local coordinates tooltip Planet information used in rendering the sky. type - integer + number value 10 @@ -7762,7 +7762,7 @@ vector position - position in local coordinates tooltip Settings the ambience of the reflection probe. type - integer + number value 24 @@ -7771,7 +7771,7 @@ vector position - position in local coordinates tooltip Sky refraction parameters for rainbows and optical effects. type - integer + number value 11 @@ -7780,7 +7780,7 @@ vector position - position in local coordinates tooltip Brightness value for the stars. type - integer + number value 13 @@ -7789,7 +7789,7 @@ vector position - position in local coordinates tooltip Detailed sun information type - integer + number value 14 @@ -7798,7 +7798,7 @@ vector position - position in local coordinates tooltip Environmental sun texture type - integer + number value 21 @@ -7807,7 +7807,7 @@ vector position - position in local coordinates tooltip Is the environment using the default textures. type - integer + number value 1 @@ -7816,7 +7816,7 @@ vector position - position in local coordinates tooltip Track elevations for this region. type - integer + number value 15 @@ -7825,7 +7825,7 @@ vector position - position in local coordinates tooltip Slide in the X direction, instead of playing separate frames. type - integer + number value 0x10 @@ -7834,7 +7834,7 @@ vector position - position in local coordinates tooltip Sound will loop until stopped. type - integer + number value 0x01 @@ -7843,7 +7843,7 @@ vector position - position in local coordinates tooltip Sound will play normally. type - integer + number value 0x00 @@ -7852,7 +7852,7 @@ vector position - position in local coordinates tooltip Sound will be synchronized with the nearest master. type - integer + number value 0x04 @@ -7861,7 +7861,7 @@ vector position - position in local coordinates tooltip Sound will be triggered at the prim's location and not attached. type - integer + number value 0x02 @@ -7870,7 +7870,7 @@ vector position - position in local coordinates tooltip 1.41421356 - The square root of 2. type - float + number value 1.41421356 @@ -7879,7 +7879,7 @@ vector position - position in local coordinates tooltip Controls whether the object can be grabbed.\nA grab is the default action when in third person, and is available as the hand tool in build mode. This is useful for physical objects that you don't want other people to be able to trivially disturb. The default is FALSE type - integer + number value 0x40 @@ -7888,7 +7888,7 @@ vector position - position in local coordinates tooltip Prevent click-and-drag movement on all prims in the object. type - integer + number value 0x400 @@ -7897,7 +7897,7 @@ vector position - position in local coordinates tooltip Argument(s) passed to function had a bounds error. type - integer + number value 1002 @@ -7906,7 +7906,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x200 @@ -7915,7 +7915,7 @@ vector position - position in local coordinates tooltip Controls whether the object is returned to the owner's inventory if it wanders off the edge of the world.\nIt is useful to set this status TRUE for things like bullets or rockets. The default is TRUE type - integer + number value 0x80 @@ -7924,7 +7924,7 @@ vector position - position in local coordinates tooltip Controls whether the object dies if it attempts to enter a parcel that does not allow object entry or does not have enough capacity.\nIt is useful to set this status TRUE for things like bullets or rockets. The default is FALSE type - integer + number value 0x800 @@ -7933,7 +7933,7 @@ vector position - position in local coordinates tooltip An internal error occurred. type - integer + number value 1999 @@ -7942,7 +7942,7 @@ vector position - position in local coordinates tooltip Function was called with malformed parameters. type - integer + number value 1000 @@ -7951,7 +7951,7 @@ vector position - position in local coordinates tooltip Object or other item was not found. type - integer + number value 1003 @@ -7960,7 +7960,7 @@ vector position - position in local coordinates tooltip Feature not supported. type - integer + number value 1004 @@ -7969,7 +7969,7 @@ vector position - position in local coordinates tooltip Result of function call was a success. type - integer + number value 0 @@ -7978,7 +7978,7 @@ vector position - position in local coordinates tooltip Controls/indicates whether the object collides or not.\nSetting the value to TRUE makes the object non-colliding with all objects. It is a good idea to use this for most objects that move or rotate, but are non-physical. It is also useful for simulating volumetric lighting. The default is FALSE. type - integer + number value 0x10 @@ -7987,7 +7987,7 @@ vector position - position in local coordinates tooltip Controls/indicates whether the object moves physically.\nThis controls the same flag that the UI check-box for Physical controls. The default is FALSE. type - integer + number value 0x1 @@ -7996,7 +7996,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x100 @@ -8005,7 +8005,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x2 @@ -8014,7 +8014,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x4 @@ -8030,7 +8030,7 @@ vector position - position in local coordinates the effect is a sit-and-spin device. They spin around the Z axis (up) but not around the X or Y axis. type - integer + number value 0x8 @@ -8041,7 +8041,7 @@ vector position - position in local coordinates and move more than 20 meters from its creation point. The default if FALSE. type - integer + number value 0x20 @@ -8050,7 +8050,7 @@ vector position - position in local coordinates tooltip Argument(s) passed to function had a type mismatch. type - integer + number value 1001 @@ -8059,7 +8059,7 @@ vector position - position in local coordinates tooltip Whitelist Failed. type - integer + number value 2001 @@ -8068,7 +8068,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x03 @@ -8077,7 +8077,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x01 @@ -8086,7 +8086,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x02 @@ -8095,7 +8095,7 @@ vector position - position in local coordinates tooltip Send email to the owner of the object type - integer + number value 0x02 @@ -8104,7 +8104,7 @@ vector position - position in local coordinates tooltip Send email to the creator of the root object type - integer + number value 0x01 @@ -8113,7 +8113,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -8122,7 +8122,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -8131,7 +8131,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -8140,7 +8140,7 @@ vector position - position in local coordinates tooltip type - integer + number value 3 @@ -8149,7 +8149,7 @@ vector position - position in local coordinates tooltip type - integer + number value 7 @@ -8158,7 +8158,7 @@ vector position - position in local coordinates tooltip type - integer + number value 6 @@ -8167,7 +8167,7 @@ vector position - position in local coordinates tooltip type - integer + number value 5 @@ -8176,7 +8176,7 @@ vector position - position in local coordinates tooltip type - integer + number value 4 @@ -8185,7 +8185,7 @@ vector position - position in local coordinates tooltip type - integer + number value 16 @@ -8194,7 +8194,7 @@ vector position - position in local coordinates tooltip type - integer + number value 17 @@ -8203,7 +8203,7 @@ vector position - position in local coordinates tooltip type - integer + number value 18 @@ -8212,7 +8212,7 @@ vector position - position in local coordinates tooltip type - integer + number value 19 @@ -8221,7 +8221,7 @@ vector position - position in local coordinates tooltip type - integer + number value 12 @@ -8230,7 +8230,7 @@ vector position - position in local coordinates tooltip type - integer + number value 13 @@ -8239,7 +8239,7 @@ vector position - position in local coordinates tooltip type - integer + number value 14 @@ -8248,7 +8248,7 @@ vector position - position in local coordinates tooltip type - integer + number value 15 @@ -8257,7 +8257,7 @@ vector position - position in local coordinates tooltip type - integer + number value 8 @@ -8266,7 +8266,7 @@ vector position - position in local coordinates tooltip type - integer + number value 9 @@ -8275,7 +8275,7 @@ vector position - position in local coordinates tooltip type - integer + number value 10 @@ -8284,7 +8284,7 @@ vector position - position in local coordinates tooltip type - integer + number value 11 @@ -8338,7 +8338,7 @@ vector position - position in local coordinates tooltip type - integer + number value -1 @@ -8365,7 +8365,7 @@ vector position - position in local coordinates tooltip Direct teleporting is blocked on this parcel. type - integer + number value 0 @@ -8374,7 +8374,7 @@ vector position - position in local coordinates tooltip Teleports are unrestricted on this parcel. type - integer + number value 2 @@ -8383,7 +8383,7 @@ vector position - position in local coordinates tooltip Teleports are routed to a landing point if set on this parcel. type - integer + number value 1 @@ -8392,7 +8392,7 @@ vector position - position in local coordinates tooltip Invalid inventory options. type - integer + number value -1 @@ -8401,7 +8401,7 @@ vector position - position in local coordinates tooltip The root path specified in TRANSFER_DEST contained an invalid directory or was reduced to nothing. type - integer + number value -5 @@ -8410,7 +8410,7 @@ vector position - position in local coordinates tooltip The root folder to transfer inventory into. type - integer + number value 0 @@ -8419,7 +8419,7 @@ vector position - position in local coordinates tooltip Flags to control the behavior of inventory transfer. type - integer + number value 1 @@ -8428,7 +8428,7 @@ vector position - position in local coordinates tooltip Gives a copy of the object being transfered. Implies TRANSFER_FLAG_TAKE. type - integer + number value 0x0004 @@ -8437,7 +8437,7 @@ vector position - position in local coordinates tooltip Reserved for future expansion. type - integer + number value 0x0001 @@ -8446,7 +8446,7 @@ vector position - position in local coordinates tooltip On a successful transfer, automatically takes the object into inventory. type - integer + number value 0x0002 @@ -8455,7 +8455,7 @@ vector position - position in local coordinates tooltip Can not transfer ownership of an attached object. type - integer + number value -7 @@ -8464,7 +8464,7 @@ vector position - position in local coordinates tooltip No items in the inventory list are eligible for transfer. type - integer + number value -4 @@ -8473,7 +8473,7 @@ vector position - position in local coordinates tooltip The object does not have transfer permissions. type - integer + number value -6 @@ -8482,7 +8482,7 @@ vector position - position in local coordinates tooltip Could not find the receiver in the current region. type - integer + number value -2 @@ -8491,7 +8491,7 @@ vector position - position in local coordinates tooltip Inventory transfer offer was successfully made. type - integer + number value 0 @@ -8500,7 +8500,7 @@ vector position - position in local coordinates tooltip Inventory throttle hit. type - integer + number value -3 @@ -8509,7 +8509,7 @@ vector position - position in local coordinates tooltip One of TRAVERSAL_TYPE_FAST, TRAVERSAL_TYPE_SLOW, and TRAVERSAL_TYPE_NONE. type - integer + number value 7 @@ -8518,7 +8518,7 @@ vector position - position in local coordinates tooltip type - integer + number value 1 @@ -8527,7 +8527,7 @@ vector position - position in local coordinates tooltip type - integer + number value 2 @@ -8536,7 +8536,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -8545,7 +8545,7 @@ vector position - position in local coordinates tooltip 6.28318530 - The radians of a circle. type - float + number value 6.28318530 @@ -8554,7 +8554,7 @@ vector position - position in local coordinates tooltip The list entry is a float. type - integer + number value 2 @@ -8563,7 +8563,7 @@ vector position - position in local coordinates tooltip The list entry is an integer. type - integer + number value 1 @@ -8572,7 +8572,7 @@ vector position - position in local coordinates tooltip The list entry is invalid. type - integer + number value 0 @@ -8581,7 +8581,7 @@ vector position - position in local coordinates tooltip The list entry is a key. type - integer + number value 4 @@ -8590,7 +8590,7 @@ vector position - position in local coordinates tooltip The list entry is a rotation. type - integer + number value 6 @@ -8599,7 +8599,7 @@ vector position - position in local coordinates tooltip The list entry is a string. type - integer + number value 3 @@ -8608,7 +8608,7 @@ vector position - position in local coordinates tooltip The list entry is a vector. type - integer + number value 5 @@ -8635,7 +8635,7 @@ vector position - position in local coordinates tooltip A slider between minimum (0.0) and maximum (1.0) deflection of angular orientation. That is, its a simple scalar for modulating the strength of angular deflection such that the vehicles preferred axis of motion points toward its real velocity. type - integer + number value 32 @@ -8644,7 +8644,7 @@ vector position - position in local coordinates tooltip The time-scale for exponential success of linear deflection deflection. Its another way to specify the strength of the vehicles tendency to reorient itself so that its preferred axis of motion agrees with its true velocity. type - integer + number value 33 @@ -8654,7 +8654,7 @@ vector position - position in local coordinates A vector of timescales for exponential decay of the vehicle's angular velocity about its preferred axes of motion (at, left, up). Range = [0.07, inf) seconds for each element of the vector. type - integer + number value 17 @@ -8663,7 +8663,7 @@ vector position - position in local coordinates tooltip The timescale for exponential decay of the angular motors magnitude. type - integer + number value 35 @@ -8672,7 +8672,7 @@ vector position - position in local coordinates tooltip The direction and magnitude (in preferred frame) of the vehicle's angular motor. The vehicle will accelerate (or decelerate if necessary) to match its velocity to its motor. type - integer + number value 19 @@ -8681,7 +8681,7 @@ vector position - position in local coordinates tooltip The timescale for exponential approach to full angular motor velocity. type - integer + number value 34 @@ -8690,7 +8690,7 @@ vector position - position in local coordinates tooltip A slider between anti (-1.0), none (0.0), and maxmum (1.0) banking strength. type - integer + number value 38 @@ -8699,7 +8699,7 @@ vector position - position in local coordinates tooltip A slider between static (0.0) and dynamic (1.0) banking. "Static" means the banking scales only with the angle of roll, whereas "dynamic" is a term that also scales with the vehicles linear speed. type - integer + number value 39 @@ -8708,7 +8708,7 @@ vector position - position in local coordinates tooltip The timescale for banking to exponentially approach its maximum effect. This is another way to scale the strength of the banking effect, however it affects the term that is proportional to the difference between what the banking behavior is trying to do, and what the vehicle is actually doing. type - integer + number value 40 @@ -8717,7 +8717,7 @@ vector position - position in local coordinates tooltip A slider between minimum (0.0) and maximum anti-gravity (1.0). type - integer + number value 27 @@ -8726,7 +8726,7 @@ vector position - position in local coordinates tooltip Prevent other scripts from pushing vehicle. type - integer + number value 0x400 @@ -8735,7 +8735,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x200 @@ -8744,7 +8744,7 @@ vector position - position in local coordinates tooltip Hover at global height. type - integer + number value 0x10 @@ -8753,7 +8753,7 @@ vector position - position in local coordinates tooltip Ignore water height when hovering. type - integer + number value 0x8 @@ -8762,7 +8762,7 @@ vector position - position in local coordinates tooltip Hover does not push down. Use this flag for hovering vehicles that should be able to jump above their hover height. type - integer + number value 0x20 @@ -8771,7 +8771,7 @@ vector position - position in local coordinates tooltip Ignore terrain height when hovering. type - integer + number value 0x4 @@ -8780,7 +8780,7 @@ vector position - position in local coordinates tooltip Prevents ground vehicles from motoring into the sky. type - integer + number value 0x40 @@ -8789,7 +8789,7 @@ vector position - position in local coordinates tooltip For vehicles with vertical attractor that want to be able to climb/dive, for instance, aeroplanes that want to use the banking feature. type - integer + number value 0x2 @@ -8798,7 +8798,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x100 @@ -8807,7 +8807,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0x80 @@ -8816,7 +8816,7 @@ vector position - position in local coordinates tooltip This flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicles with large linear deflection, like bumper cars, from climbing their linear deflection into the sky. type - integer + number value 0x1 @@ -8827,7 +8827,7 @@ vector position - position in local coordinates tooltip Old, changed to VEHICLE_FLAG_NO_DEFLECTION_UP type - integer + number value 0x1 @@ -8836,7 +8836,7 @@ vector position - position in local coordinates tooltip A slider between minimum (0.0 = bouncy) and maximum (1.0 = fast as possible) damped motion of the hover behavior. type - integer + number value 25 @@ -8845,7 +8845,7 @@ vector position - position in local coordinates tooltip The height (above the terrain or water, or global) at which the vehicle will try to hover. type - integer + number value 24 @@ -8854,7 +8854,7 @@ vector position - position in local coordinates tooltip Period of time (in seconds) for the vehicle to achieve its hover height. type - integer + number value 26 @@ -8863,7 +8863,7 @@ vector position - position in local coordinates tooltip A slider between minimum (0.0) and maximum (1.0) deflection of linear velocity. That is, its a simple scalar for modulating the strength of linear deflection. type - integer + number value 28 @@ -8872,7 +8872,7 @@ vector position - position in local coordinates tooltip The timescale for exponential success of linear deflection deflection. It is another way to specify how much time it takes for the vehicle's linear velocity to be redirected to its preferred axis of motion. type - integer + number value 29 @@ -8882,7 +8882,7 @@ vector position - position in local coordinates A vector of timescales for exponential decay of the vehicle's linear velocity along its preferred axes of motion (at, left, up). Range = [0.07, inf) seconds for each element of the vector. type - integer + number value 16 @@ -8891,7 +8891,7 @@ vector position - position in local coordinates tooltip The timescale for exponential decay of the linear motors magnitude. type - integer + number value 31 @@ -8901,7 +8901,7 @@ vector position - position in local coordinates The direction and magnitude (in preferred frame) of the vehicle's linear motor. The vehicle will accelerate (or decelerate if necessary) to match its velocity to its motor. Range of magnitude = [0, 30] meters/second. type - integer + number value 18 @@ -8910,7 +8910,7 @@ vector position - position in local coordinates tooltip type - integer + number value 20 @@ -8919,7 +8919,7 @@ vector position - position in local coordinates tooltip The timescale for exponential approach to full linear motor velocity. type - integer + number value 30 @@ -8928,7 +8928,7 @@ vector position - position in local coordinates tooltip A rotation of the vehicle's preferred axes of motion and orientation (at, left, up) with respect to the vehicle's local frame (x, y, z). type - integer + number value 44 @@ -8937,7 +8937,7 @@ vector position - position in local coordinates tooltip Uses linear deflection for lift, no hover, and banking to turn.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_AIRPLANE type - integer + number value 4 @@ -8946,7 +8946,7 @@ vector position - position in local coordinates tooltip Hover, and friction, but no deflection.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_BALLOON type - integer + number value 5 @@ -8955,7 +8955,7 @@ vector position - position in local coordinates tooltip Hovers over water with lots of friction and some anglar deflection.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_BOAT type - integer + number value 3 @@ -8964,7 +8964,7 @@ vector position - position in local coordinates tooltip Another vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_CAR type - integer + number value 2 @@ -8973,7 +8973,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -8982,7 +8982,7 @@ vector position - position in local coordinates tooltip Simple vehicle that bumps along the ground, and likes to move along its local x-axis.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_SLED type - integer + number value 1 @@ -8991,7 +8991,7 @@ vector position - position in local coordinates tooltip A slider between minimum (0.0 = wobbly) and maximum (1.0 = firm as possible) stability of the vehicle to keep itself upright. type - integer + number value 36 @@ -9000,7 +9000,7 @@ vector position - position in local coordinates tooltip The period of wobble, or timescale for exponential approach, of the vehicle to rotate such that its preferred "up" axis is oriented along the world's "up" axis. type - integer + number value 37 @@ -9009,7 +9009,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -9018,7 +9018,7 @@ vector position - position in local coordinates tooltip type - integer + number value 0 @@ -9027,7 +9027,7 @@ vector position - position in local coordinates tooltip Blur factor. type - integer + number value 100 @@ -9036,7 +9036,7 @@ vector position - position in local coordinates tooltip Fog properties when underwater. type - integer + number value 101 @@ -9045,7 +9045,7 @@ vector position - position in local coordinates tooltip Fresnel scattering applied to the surface of the water. type - integer + number value 102 @@ -9054,7 +9054,7 @@ vector position - position in local coordinates tooltip Scaling applied to the water normal map. type - integer + number value 104 @@ -9063,7 +9063,7 @@ vector position - position in local coordinates tooltip Normal map used for environmental waves. type - integer + number value 107 @@ -9072,7 +9072,7 @@ vector position - position in local coordinates tooltip Refraction factors when looking through the surface of the water. type - integer + number value 105 @@ -9081,7 +9081,7 @@ vector position - position in local coordinates tooltip Is the environment using the default wave map. type - integer + number value 103 @@ -9090,7 +9090,7 @@ vector position - position in local coordinates tooltip Vectors for the directions of the waves. type - integer + number value 106 @@ -9099,7 +9099,7 @@ vector position - position in local coordinates tooltip The region currently has experiences disabled. type - integer + number value 2 @@ -9108,7 +9108,7 @@ vector position - position in local coordinates tooltip The experience owner has temporarily disabled the experience. type - integer + number value 8 @@ -9117,7 +9117,7 @@ vector position - position in local coordinates tooltip The experience has been suspended by Linden Customer Support. type - integer + number value 9 @@ -9126,7 +9126,7 @@ vector position - position in local coordinates tooltip The script is associated with an experience that no longer exists. type - integer + number value 7 @@ -9135,7 +9135,7 @@ vector position - position in local coordinates tooltip One of the string arguments was too big to fit in the key-value store. type - integer + number value 3 @@ -9144,7 +9144,7 @@ vector position - position in local coordinates tooltip The requested key does not exist. type - integer + number value 14 @@ -9153,7 +9153,7 @@ vector position - position in local coordinates tooltip The content rating of the experience exceeds that of the region. type - integer + number value 16 @@ -9162,7 +9162,7 @@ vector position - position in local coordinates tooltip No error was detected. type - integer + number value 0 @@ -9171,7 +9171,7 @@ vector position - position in local coordinates tooltip The sim was unable to verify the validity of the experience. Retrying after a short wait is advised. type - integer + number value 6 @@ -9180,7 +9180,7 @@ vector position - position in local coordinates tooltip This experience is not allowed to run by the requested agent. type - integer + number value 4 @@ -9189,7 +9189,7 @@ vector position - position in local coordinates tooltip This experience is not allowed to run on the current region. type - integer + number value 17 @@ -9198,7 +9198,7 @@ vector position - position in local coordinates tooltip This script is not associated with an experience. type - integer + number value 5 @@ -9207,7 +9207,7 @@ vector position - position in local coordinates tooltip An attempted write data to the key-value store failed due to the data quota being met. type - integer + number value 11 @@ -9216,7 +9216,7 @@ vector position - position in local coordinates tooltip Request timed out; permissions not modified. type - integer + number value 18 @@ -9225,7 +9225,7 @@ vector position - position in local coordinates tooltip A checked update failed due to an out of date request. type - integer + number value 15 @@ -9234,7 +9234,7 @@ vector position - position in local coordinates tooltip Unable to communicate with the key-value store. type - integer + number value 13 @@ -9243,7 +9243,7 @@ vector position - position in local coordinates tooltip The key-value store is currently disabled on this region. type - integer + number value 12 @@ -9252,7 +9252,7 @@ vector position - position in local coordinates tooltip The call failed due to too many recent calls. type - integer + number value 1 @@ -9261,7 +9261,7 @@ vector position - position in local coordinates tooltip Other unknown error. type - integer + number value 10 @@ -9270,7 +9270,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion value <0.0, 0.0, 0.0, 1.0> @@ -9305,7 +9305,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -9314,7 +9314,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -15380,7 +15380,7 @@ vector position - position in local coordinates tooltip First rotation. type - rotation + quaternion @@ -15389,7 +15389,7 @@ vector position - position in local coordinates tooltip Second rotation. type - rotation + quaternion @@ -15638,7 +15638,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -15670,7 +15670,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -16677,7 +16677,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -17108,7 +17108,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -17786,7 +17786,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -18664,7 +18664,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -18755,7 +18755,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -19496,7 +19496,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -19535,7 +19535,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -19610,7 +19610,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -19623,7 +19623,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -19887,7 +19887,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -21194,7 +21194,7 @@ vector position - position in local coordinates tooltip Rotation (relative to the prim's rotation) for the avatar. type - rotation + quaternion @@ -21919,7 +21919,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -25015,7 +25015,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25074,7 +25074,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25138,7 +25138,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25161,7 +25161,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25184,7 +25184,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25207,7 +25207,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25230,7 +25230,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25253,7 +25253,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25292,7 +25292,7 @@ vector position - position in local coordinates energy 10 return - rotation + quaternion sleep 0 tooltip @@ -25308,7 +25308,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25349,7 +25349,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -25903,7 +25903,7 @@ vector position - position in local coordinates tooltip Rotation to turn the avatar to face. type - rotation + quaternion @@ -26948,7 +26948,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -27403,7 +27403,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -27874,7 +27874,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion @@ -28121,7 +28121,7 @@ vector position - position in local coordinates tooltip type - rotation + quaternion From df70303567c8cf6469a198900126d44bcba9dc24 Mon Sep 17 00:00:00 2001 From: tapple Date: Mon, 19 Jan 2026 16:50:33 -0800 Subject: [PATCH 03/51] ll.SetParcelForSale should not have bool-semantics https://github.com/secondlife/lsl-definitions/pull/40 --- indra/newview/app_settings/keywords_lua_default.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index f3f6c5a2593..6fd20eb9c5d 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -27090,7 +27090,7 @@ vector position - position in local coordinates energy 10 return - boolean + number sleep 0 tooltip From 24b0c180566977cb79cca73e214d887df52a22e3 Mon Sep 17 00:00:00 2001 From: tapple Date: Mon, 19 Jan 2026 16:55:12 -0800 Subject: [PATCH 04/51] added missing builtin types --- .../app_settings/keywords_lua_default.xml | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 6fd20eb9c5d..432cc6866f9 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -101,11 +101,27 @@ types + + any + + tooltip + The unspecified type. Disables type-checking. Use unknown instead to use type-checking. + boolean tooltip Boolean: represents a true or false value. + buffer + + tooltip + Read-write binary data. + + never + + tooltip + The empty type that contains no values. + number tooltip @@ -114,7 +130,7 @@ string tooltip - Text data (UTF‑8). + Read-only binary data. Usually UTF-8-encoded text. table @@ -134,14 +150,19 @@ vector 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 set of three float values. Used to represent colors (RGB), positions, directions, and velocities. + + unknown + + tooltip + The union of every type. Similar to any without disabling type-checking. uuid tooltip A 128‑bit unique identifier formatted as 36 hexadecimal characters (8‑4‑4‑4‑12), e.g. "A822FF2B-FF02-461D-B45D-DCD10A2DE0C2". - + constants From 4020b566550b7483804f63661afec6f3f40e66fd Mon Sep 17 00:00:00 2001 From: tapple Date: Mon, 19 Jan 2026 16:56:29 -0800 Subject: [PATCH 05/51] Added Type Aliases --- .../app_settings/keywords_lua_default.xml | 73 ++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 432cc6866f9..ca5d672203a 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -162,7 +162,78 @@ tooltip A 128‑bit unique identifier formatted as 36 hexadecimal characters (8‑4‑4‑4‑12), e.g. "A822FF2B-FF02-461D-B45D-DCD10A2DE0C2". - + + LLDetectedEventName + + tooltip + type LLDetectedEventName = {} + + LLEventHandler + + tooltip + type LLEventHandler = (...any) -> () + + LLEventName + + tooltip + type LLEventName = LLDetectedEventName | LLNonDetectedEventName + + LLNonDetectedEventName + + tooltip + type LLNonDetectedEventName = {} + + LLTimerCallback + + tooltip + Union of timer callback types +type LLTimerCallback = LLTimerEveryCallback | LLTimerOnceCallback + + LLTimerEveryCallback + + tooltip + Callback type for LLTimers.every() - receives scheduled time and interval +type LLTimerEveryCallback = (scheduled: number, interval: number) -> () + + LLTimerOnceCallback + + tooltip + Callback type for LLTimers.once() - receives scheduled time +type LLTimerOnceCallback = (scheduled: number) -> () + + OsDateTime + + tooltip + Date/time table structure used by os.date and os.time +type OsDateTime = { + year: number, + month: number, + day: number, + hour: number?, + min: number?, + sec: number?, + wday: number?, + yday: number?, + isdst: boolean?, +} + + list + + tooltip + type list = {string | number | vector | uuid | quaternion | boolean} + + numeric + + tooltip + type numeric = boolean | number + + rotation + + tooltip + 'rotation' is an alias for 'quaternion' +type rotation = quaternion + + constants From 855421f71f0c4eb84adc71150eb77e1183851d3b Mon Sep 17 00:00:00 2001 From: tapple Date: Mon, 19 Jan 2026 16:59:06 -0800 Subject: [PATCH 06/51] Fixed typings of Luau builtin functions --- .../app_settings/keywords_lua_default.xml | 159 ++++++++++++++---- 1 file changed, 127 insertions(+), 32 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index ca5d672203a..39df22730ee 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -10364,6 +10364,10 @@ vector position - position in local coordinates assert + type-arguments + + T + arguments @@ -10372,7 +10376,7 @@ vector position - position in local coordinates tooltip The value to check for truthiness. type - any + T? @@ -10388,7 +10392,7 @@ vector position - position in local coordinates energy 10 return - any + T sleep 0 tooltip @@ -10420,7 +10424,7 @@ vector position - position in local coordinates energy 10 return - void + never sleep 0 tooltip @@ -10456,7 +10460,7 @@ vector position - position in local coordinates energy 10 return - table? + {any}? sleep 0 tooltip @@ -10464,6 +10468,11 @@ vector position - position in local coordinates next + type-arguments + + K + V + arguments @@ -10472,7 +10481,7 @@ vector position - position in local coordinates tooltip The table to traverse. type - table + {[K]: V} @@ -10481,14 +10490,14 @@ vector position - position in local coordinates tooltip Optional key to start traversal after. type - any? + K? energy 10 return - (any, any)? + (K, V)? sleep 0 tooltip @@ -10574,6 +10583,11 @@ vector position - position in local coordinates rawget + type-arguments + + K + V + arguments @@ -10582,7 +10596,7 @@ vector position - position in local coordinates tooltip The table to perform the lookup on. type - table + {[K]: V} @@ -10591,14 +10605,14 @@ vector position - position in local coordinates tooltip The key to look up in the table. type - any + K energy 10 return - any? + V? sleep 0 tooltip @@ -10606,6 +10620,11 @@ vector position - position in local coordinates rawset + type-arguments + + K + V + arguments @@ -10614,7 +10633,7 @@ vector position - position in local coordinates tooltip The table to assign the value to. type - table + {[K]: V} @@ -10623,7 +10642,7 @@ vector position - position in local coordinates tooltip The key to assign the value to. type - any + K @@ -10632,19 +10651,47 @@ vector position - position in local coordinates tooltip The value to assign. type - any + V energy 10 return - void + {[K]: V} sleep 0 tooltip Assigns a value to a table field bypassing metatables. + rawlen + + type-arguments + + K + V + + arguments + + + t + + tooltip + The table to assign the value to. + type + {[any]: any} | string + + + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the length of a table or string bypassing metatables. + select arguments @@ -10659,7 +10706,7 @@ vector position - position in local coordinates - args + ... tooltip The arguments to select from. @@ -10812,6 +10859,10 @@ vector position - position in local coordinates ipairs + type-arguments + + V + arguments @@ -10820,14 +10871,14 @@ vector position - position in local coordinates tooltip The table to iterate over. type - table + {V} energy 10 return - iterator + (({V}, number) -> (number?, V), {V}, number) sleep 0 tooltip @@ -10835,6 +10886,11 @@ vector position - position in local coordinates pairs + type-arguments + + K + V + arguments @@ -10843,14 +10899,14 @@ vector position - position in local coordinates tooltip The table to iterate over. type - table + {[K]: V} energy 10 return - iterator + (({[K], V}, K) -> (K?, V), {[K], V}, K) sleep 0 tooltip @@ -10858,6 +10914,11 @@ vector position - position in local coordinates pcall + type-arguments + + A... + R... + arguments @@ -10866,23 +10927,23 @@ vector position - position in local coordinates tooltip A function to be called. type - function + (A...) -> R... - args + ... tooltip Arguments to pass to the function. type - variadic + A... energy 10 return - boolean, variadic + (boolean, R...) sleep 0 tooltip @@ -10890,6 +10951,13 @@ vector position - position in local coordinates xpcall + type-arguments + + E + A... + R1... + R2... + arguments @@ -10898,7 +10966,7 @@ vector position - position in local coordinates tooltip A function to be called. type - function + (A...) -> R1... @@ -10907,30 +10975,57 @@ vector position - position in local coordinates tooltip Error handler function. type - function + (E) -> R2... - args + ... tooltip Arguments to pass to the function. type - variadic + A... energy 10 return - boolean, variadic + (boolean, R1...) sleep 0 tooltip Calls function f with parameters args, handling errors with e if they occur. + require + + arguments + + + target + + tooltip + The name of the external module. + type + string + + + + energy + 10 + return + any + sleep + 0 + tooltip + Execute the named external module. + unpack + type-arguments + + V + arguments @@ -10939,7 +11034,7 @@ vector position - position in local coordinates tooltip Array from which to extract values. type - array + {V} @@ -10948,7 +11043,7 @@ vector position - position in local coordinates tooltip Starting index (optional, defaults to 1). type - number + number? @@ -10957,14 +11052,14 @@ vector position - position in local coordinates tooltip Ending index (optional, defaults to #a). type - number + number? energy 10 return - variadic + ...V sleep 0 tooltip From 0cb0f0f0b835ca9cf97170613919d47ecedfaffa Mon Sep 17 00:00:00 2001 From: tapple Date: Mon, 19 Jan 2026 18:05:37 -0800 Subject: [PATCH 07/51] added slua classes --- .../app_settings/keywords_lua_default.xml | 37 ++++++++++++++++--- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 39df22730ee..6a6204946b7 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -147,22 +147,38 @@ tooltip Opaque external data. - vector + unknown tooltip - A set of three float values. Used to represent colors (RGB), positions, directions, and velocities. + The union of every type. Similar to any without disabling type-checking. - unknown + + LLDetectedEvent tooltip - The union of every type. Similar to any without disabling type-checking. + Event detection class providing access to detected object/avatar information + + quaternion + + tooltip + A set of four float values. Used to represent rotations and orientations. uuid tooltip A 128‑bit unique identifier formatted as 36 hexadecimal characters (8‑4‑4‑4‑12), e.g. "A822FF2B-FF02-461D-B45D-DCD10A2DE0C2". - + vector + + tooltip + A set of three float values. Used to represent colors (RGB), positions, directions, and velocities. + + + LLDetectedEventHandler + + tooltip + type LLDetectedEventHandler = (detected: {LLDetectedEvent}) -> () + LLDetectedEventName tooltip @@ -232,6 +248,17 @@ type OsDateTime = { tooltip 'rotation' is an alias for 'quaternion' type rotation = quaternion + + + LLEvents + + tooltip + Event registration and management class for Second Life events + + LLTimers + + tooltip + Timer management class for scheduling periodic and one-time callbacks constants From 1b1dd3e7be6ab034575c0a68db8c290cc4a96851 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 09:19:27 -0800 Subject: [PATCH 08/51] re-order the slua libraries alphabetically --- .../app_settings/keywords_lua_default.xml | 2764 ++++++++--------- 1 file changed, 1382 insertions(+), 1382 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 6a6204946b7..084b42a736d 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11208,23 +11208,23 @@ vector position - position in local coordinates tooltip Converts a value to a vector, returns nil if invalid - - math + + buffer energy -1.0 tooltip - math namespace. + buffer namespace. - math.abs + buffer.create arguments - n + size tooltip - A number. + Size of the buffer to create. type number @@ -11233,78 +11233,69 @@ vector position - position in local coordinates energy 10 return - number + buffer sleep 0 tooltip - Returns the absolute value of n. + Creates a buffer of the requested size with all bytes initialized to 0. - math.acos + buffer.fromstring arguments - n + str tooltip - A number in the range [-1, 1]. + String to initialize the buffer with. type - number + string energy 10 return - number + buffer sleep 0 tooltip - Returns the arc cosine of n in radians. + Creates a buffer initialized to the contents of the string. - math.asin + buffer.tostring arguments - n + b tooltip - A number in the range [-1, 1]. + Buffer to convert to a string. type - number + buffer energy 10 return - number + string sleep 0 tooltip - Returns the arc sine of n in radians. + Returns the buffer data as a string. - math.atan2 + buffer.len arguments - y - - tooltip - The y-coordinate. - type - number - - - - x + b tooltip - The x-coordinate. + Buffer to get the size of. type - number + buffer @@ -11315,40 +11306,26 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the arc tangent of y/x in radians. + Returns the size of the buffer in bytes. - math.atan + buffer.readi8 arguments - n + b tooltip - A number. + Buffer to read from. type - number + buffer - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the arc tangent of n in radians. - - math.ceil - - arguments - - n + offset tooltip - A number. + Byte offset to read from. type number @@ -11361,63 +11338,35 @@ vector position - position in local coordinates sleep 0 tooltip - Rounds n upwards to the next integer boundary. + Reads a signed 8-bit integer from the buffer at the given offset. - math.cosh + buffer.writei8 arguments - n + b tooltip - A number to compute the hyperbolic cosine of. + Buffer to write to. type - number + buffer - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the hyperbolic cosine of n. - - math.cos - - arguments - - n + offset tooltip - An angle in radians. + Byte offset to write at. type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the cosine of n. - - math.deg - - arguments - - n + value tooltip - A value in radians. + Value to write. type number @@ -11426,44 +11375,39 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Converts n from radians to degrees. + Writes a signed 8-bit integer to the buffer at the given offset. - math.exp + buffer.readstring arguments - n + b tooltip - A number to compute e^n. + Buffer to read from. + type + buffer + + + + offset + + tooltip + Byte offset to start reading. type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the base-e exponent of n. - - math.floor - - arguments - - n + count tooltip - A number to round down. + Number of bytes to read. type number @@ -11472,85 +11416,57 @@ vector position - position in local coordinates energy 10 return - number + string sleep 0 tooltip - Rounds n down to the previous integer. + Reads a string of the given length from the buffer at the specified offset. - math.fmod + buffer.copy arguments - x + target tooltip - The dividend. + Target buffer to copy into. type - number + buffer - y + targetOffset tooltip - The divisor. + Offset in target buffer. type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the remainder of x modulo y, rounded towards zero. - - math.frexp - - arguments - - n + source tooltip - A number to split into significand and exponent. + Source buffer to copy from. type - number + buffer - - energy - 10 - return - array - sleep - 0 - tooltip - Splits n into a significand and exponent. - - math.ldexp - - arguments - - s + sourceOffset tooltip - The significand. + Offset in source buffer (optional). type number - e + count tooltip - The exponent. + Number of bytes to copy (optional). type number @@ -11559,39 +11475,48 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Returns s * 2^e. + Copies bytes from the source buffer into the target buffer. - math.lerp + buffer.fill arguments - a + b tooltip - Start value. + Buffer to fill. + type + buffer + + + + offset + + tooltip + Byte offset to start filling. type number - b + value tooltip - End value. + Value to fill with. type number - t + count tooltip - Interpolation factor. + Number of bytes to fill (optional). type number @@ -11600,21 +11525,30 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Linearly interpolates between a and b using factor t. + Fills the buffer with the specified value starting at the given offset. - math.log10 + buffer.readu8 arguments - n + b tooltip - A number to compute base-10 logarithm. + Buffer to read from. + type + buffer + + + + offset + + tooltip + Byte offset to read from. type number @@ -11627,26 +11561,35 @@ vector position - position in local coordinates sleep 0 tooltip - Returns base-10 logarithm of n. + Reads an unsigned 8-bit integer from the buffer at the given offset. - math.log + buffer.writeu8 arguments - n + b tooltip - A number to compute logarithm. + Buffer to write to. + type + buffer + + + + offset + + tooltip + Byte offset to write at. type number - base + value tooltip - Base of the logarithm (default is e). + Value to write. type number @@ -11655,46 +11598,32 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Returns logarithm of n in the given base. + Writes an unsigned 8-bit integer to the buffer at the given offset. - math.max + buffer.readi16 arguments - list + b tooltip - A list of numbers to find the maximum from. + Buffer to read from. type - array + buffer - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the maximum value in the given list. - - math.min - - arguments - - list + offset tooltip - A list of numbers to find the minimum from. + Byte offset to read from. type - array + number @@ -11705,49 +11634,35 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the minimum value in the given list. + Reads a signed 16-bit integer from the buffer at the given offset. - math.modf + buffer.writei16 arguments - n + b tooltip - A number to split into integer and fractional parts. + Buffer to write to. type - number + buffer - - energy - 10 - return - array - sleep - 0 - tooltip - Returns the integer and fractional parts of n. - - math.pow - - arguments - - x + offset tooltip - Base value. + Byte offset to write at. type number - y + value tooltip - Exponent value. + Value to write. type number @@ -11756,21 +11671,30 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Returns x raised to the power of y. + Writes a signed 16-bit integer to the buffer at the given offset. - math.rad + buffer.readf32 arguments - n + b tooltip - A value in degrees. + Buffer to read from. + type + buffer + + + + offset + + tooltip + Byte offset to read from. type number @@ -11783,49 +11707,35 @@ vector position - position in local coordinates sleep 0 tooltip - Converts n from degrees to radians. + Reads a 32-bit floating-point number from the buffer at the given offset. - math.random + buffer.writef32 arguments - min + b tooltip - Minimum value of the range (optional). + Buffer to write to. type - number + buffer - max + offset tooltip - Maximum value of the range (optional). + Byte offset to write at. type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns a random number within the given range. - - math.randomseed - - arguments - - seed + value tooltip - Seed for the random number generator. + Value to write. type number @@ -11838,40 +11748,26 @@ vector position - position in local coordinates sleep 0 tooltip - Sets the seed for the random number generator. + Writes a 32-bit floating-point number to the buffer at the given offset. - math.sinh + buffer.readf64 arguments - n + b tooltip - A number to compute the hyperbolic sine of. + Buffer to read from. type - number + buffer - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the hyperbolic sine of n. - - math.sin - - arguments - - n + offset tooltip - An angle in radians. + Byte offset to read from. type number @@ -11884,40 +11780,35 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the sine of n. + Reads a 64-bit floating-point number from the buffer at the given offset. - math.sqrt + buffer.writef64 arguments - n + b tooltip - A number to compute the square root of. + Buffer to write to. + type + buffer + + + + offset + + tooltip + Byte offset to write at. type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the square root of n. - - math.tanh - - arguments - - n + value tooltip - A number to compute the hyperbolic tangent of. + Value to write. type number @@ -11926,21 +11817,30 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Returns the hyperbolic tangent of n. + Writes a 64-bit floating-point number to the buffer at the given offset. - math.tan + buffer.readu16 arguments - n + b tooltip - An angle in radians. + Buffer to read from. + type + buffer + + + + offset + + tooltip + Byte offset to read from. type number @@ -11953,35 +11853,35 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the tangent of n. + Reads an unsigned 16-bit integer from the buffer at the given offset. - math.noise + buffer.writeu16 arguments - x + b tooltip - X coordinate for the noise function. + Buffer to write to. type - number + buffer - y + offset tooltip - Y coordinate for the noise function (optional). + Byte offset to write at. type number - z + value tooltip - Z coordinate for the noise function (optional). + Value to write. type number @@ -11990,39 +11890,30 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Returns Perlin noise value for the point (x, y, z). + Writes an unsigned 16-bit integer to the buffer at the given offset. - math.clamp + buffer.readi32 arguments - n - - tooltip - The value to be clamped. - type - number - - - - min + b tooltip - Minimum allowable value. + Buffer to read from. type - number + buffer - max + offset tooltip - Maximum allowable value. + Byte offset to read from. type number @@ -12035,17 +11926,35 @@ vector position - position in local coordinates sleep 0 tooltip - Returns n clamped between min and max. + Reads a signed 32-bit integer from the buffer at the given offset. - math.sign + buffer.writei32 arguments - n + b tooltip - A number to get the sign of. + Buffer to write to. + type + buffer + + + + offset + + tooltip + Byte offset to write at. + type + number + + + + value + + tooltip + Value to write. type number @@ -12054,21 +11963,30 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Returns -1 if n is negative, 1 if positive, and 0 if zero. + Writes a signed 32-bit integer to the buffer at the given offset. - math.round + buffer.readu32 arguments - n + b tooltip - A number to round to the nearest integer. + Buffer to read from. + type + buffer + + + + offset + + tooltip + Byte offset to read from. type number @@ -12081,173 +11999,128 @@ vector position - position in local coordinates sleep 0 tooltip - Rounds n to the nearest integer. - - - table - - energy - -1.0 - tooltip - table namespace. + Reads an unsigned 32-bit integer from the buffer at the given offset. - table.concat + buffer.writeu32 arguments - a - - tooltip - Array of strings. - type - array - - - - sep + b tooltip - Separator string. + Buffer to write to. type - string + buffer - f + offset tooltip - Starting index. + Byte offset to write at. type - integer + number - t + value tooltip - Ending index. + Value to write. type - integer + number energy 10 return - string + void sleep 0 tooltip - Concatenates elements of an array with an optional separator. + Writes an unsigned 32-bit integer to the buffer at the given offset. - table.foreach + buffer.readstring arguments - t + b tooltip - Table to iterate over. + Buffer to read from. type - table + buffer - f + offset tooltip - Function applied to each key-value pair. + Byte offset to start reading. type - function + number - - energy - 10 - return - various - sleep - 0 - tooltip - Iterates over all key-value pairs in a table. - - table.getn - - arguments - - t + count tooltip - Table whose length is determined. + Number of bytes to read. type - table + number energy 10 return - integer + string sleep 0 tooltip - Returns the number of elements in a table. + Reads a string of the given length from the buffer at the specified offset. - table.maxn + buffer.writestring arguments - t + b tooltip - Table to search for the maximum numeric key. + Buffer to write to. type - table + buffer - - energy - 10 - return - integer - sleep - 0 - tooltip - Returns the highest numeric key in a table. - - table.insert - - arguments - - t + offset tooltip - Table to insert into. + Byte offset to write at. type - table + number - i + value tooltip - Position to insert at. + String to write. type - integer + string - v + count tooltip - Value to insert. + Number of bytes to write (optional). type - various + number @@ -12258,60 +12131,55 @@ vector position - position in local coordinates sleep 0 tooltip - Inserts a value at a specific index in a table. + Writes data from a string into the buffer at the specified offset. - table.remove + buffer.copy arguments - t + target tooltip - Table to remove from. + Target buffer to copy into. type - table + buffer - i + targetOffset tooltip - Position to remove. + Offset in target buffer. type - integer + number - - energy - 10 - return - various - sleep - 0 - tooltip - Removes an element from a table at a given index. - - table.sort - - arguments - - t + source tooltip - Table to be sorted. + Source buffer to copy from. type - table + buffer - f + sourceOffset tooltip - Comparison function. + Offset in source buffer (optional). type - function + number + + + + count + + tooltip + Number of bytes to copy (optional). + type + number @@ -12322,119 +12190,127 @@ vector position - position in local coordinates sleep 0 tooltip - Sorts a table in ascending order. + Copies bytes from the source buffer into the target buffer. - table.pack + + debug + + energy + -1.0 + tooltip + debug namespace. + + debug.info arguments - args + co tooltip - Variable arguments. + Optional thread or function reference. type - varargs + thread|function|number + + + + level + + tooltip + Stack level or function reference for inspection. + type + number + + + + s + + tooltip + String specifying requested information. + type + string energy 10 return - table + any sleep 0 tooltip - Packs multiple arguments into a table. + Returns information about a stack frame or function based on specified format. - table.unpack + debug.traceback arguments - a + co tooltip - Table to unpack. + Optional thread reference for traceback. type - table + thread - f + msg tooltip - Starting index. + Optional message prepended to the traceback. type - integer + string - t + level tooltip - Ending index. + Optional stack level to start traceback. type - integer + number energy 10 return - varargs + string sleep 0 tooltip - Returns unpacked values from a table within a specified range. + Returns a human-readable call stack starting from the specified level. - table.move + debug.getinfo arguments - a - - tooltip - Source table. - type - table - - - - f - - tooltip - Starting index. - type - integer - - - - t + thread tooltip - Ending index. + Optional thread whose stack frame is being inspected. type - integer + thread - d + function tooltip - Destination index. + Function reference or stack level number. type - integer + function|number - tt + what tooltip - Optional target table. + String specifying which fields to retrieve. type - table + string @@ -12445,423 +12321,462 @@ vector position - position in local coordinates sleep 0 tooltip - Moves elements from one table to another or within the same table. + Returns a table containing debug information about a function or stack frame. - table.create + debug.getlocal arguments - n + level tooltip - Number of elements. + Stack level number. type - integer + number - v + index tooltip - Value to prefill elements with. + Index of the local variable. type - various + number energy 10 return - table + string|any sleep 0 tooltip - Creates a table with preallocated elements. + Returns the name and value of a local variable at the specified stack level. - table.find + debug.setlocal arguments - t + level tooltip - Table to search in. + Stack level number. type - table + number - v + index tooltip - Value to find. + Index of the local variable. type - various + number - init + value tooltip - Starting index for search. + New value for the local variable. type - integer + any energy 10 return - integer + boolean sleep 0 tooltip - Finds the first occurrence of a value in a table and returns its index. + Sets the value of a local variable at the specified stack level. - table.clear + debug.getupvalue arguments - t + function tooltip - Table to clear. + Function whose upvalues are being retrieved. type - table + function - - energy - 10 - return - void - sleep - 0 - tooltip - Clears all elements from a table while keeping its capacity. - - table.freeze - - arguments - - t + index tooltip - Table to freeze. + Index of the upvalue. type - table + number energy 10 return - table + string|any sleep 0 tooltip - Freezes a table, preventing modifications. + Returns the name and value of an upvalue for a given function. - table.isfrozen + debug.setupvalue arguments - t + function tooltip - Table to check. + Function whose upvalues are being modified. type - table + function + + + + index + + tooltip + Index of the upvalue. + type + number + + + + value + + tooltip + New value for the upvalue. + type + any energy 10 return - boolean + string sleep 0 tooltip - Returns true if a table is frozen. + Sets the value of an upvalue for a given function. - table.clone + debug.getmetatable arguments - t + value tooltip - Table to clone. + Value whose metatable is retrieved. type - table + any energy 10 return - table + table|nil sleep 0 tooltip - Creates a shallow copy of a table. - - - string - - energy - -1.0 - tooltip - string namespace. + Returns the metatable of the given value, if any. - string.byte + debug.setmetatable arguments - s - - tooltip - Input string. - type - string - - - - f + value tooltip - Starting index (optional). + Value whose metatable is to be set. type - number + any - t + metatable tooltip - Ending index (optional). + Table to be set as the new metatable. type - number + table|nil energy 10 return - number... + any sleep 0 tooltip - Returns the numeric code of every byte in the input string within the given range. + Sets the metatable for a given value. - string.char + + coroutine + + energy + -1.0 + tooltip + coroutine namespace. + + coroutine.create arguments - args + f tooltip - Byte values to convert to string. + A function to be executed by the new coroutine. type - number... + function energy 10 return - string + thread sleep 0 tooltip - Returns a string containing characters for the given byte values. + Returns a new coroutine that, when resumed, will run function f. - string.find + coroutine.running + + arguments + + energy + 10 + return + thread? + sleep + 0 + tooltip + Returns the currently running coroutine, or nil if running in the main coroutine. + + coroutine.status arguments - s - - tooltip - Input string. - type - string - - - - p + co tooltip - Pattern to search for. + The coroutine to check status of. type - string + thread + + energy + 10 + return + string + sleep + 0 + tooltip + Returns the status of the coroutine: "running", "suspended", "normal", or "dead". + + coroutine.wrap + + arguments + - init + f tooltip - Starting position (optional). + A function to execute in a coroutine. type - number + function + + energy + 10 + return + function + sleep + 0 + tooltip + Creates a coroutine and returns a function that resumes it. + + coroutine.yield + + arguments + - plain + args tooltip - Perform raw search (optional). + Values to pass to the resuming code. type - boolean + variadic energy 10 return - number?, number?, string... + variadic sleep 0 tooltip - Finds an instance of the pattern in the string. + Yields the current coroutine, passing arguments to the resuming code. - string.format + coroutine.isyieldable + + arguments + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if the coroutine can yield. + + coroutine.resume arguments - s + co tooltip - Format string. + The coroutine to resume. type - string + thread args tooltip - Values to format. + Arguments to pass to the coroutine. type - any... + variadic energy 10 return - string + (boolean, variadic) sleep 0 tooltip - Formats input values into a string using printf-style format specifiers. + Resumes a coroutine, returning true and results if successful, or false and an error. - string.len + coroutine.close arguments - s + co tooltip - Input string. + The coroutine to close. type - string + thread energy 10 return - number + (boolean, any?) sleep 0 tooltip - Returns the number of bytes in the string. + Closes a coroutine, returning true if successful or false and an error. - string.lower + + bit32 + + energy + -1.0 + tooltip + bit32 library functions. + + bit32.arshift arguments - s + n tooltip - Input string. + Number to shift. type - string + number + + + + i + + tooltip + Number of bits to shift. + type + number energy 10 return - string + number sleep 0 tooltip - Returns a lowercase version of the input string. + Shifts n by i bits to the right. If i is negative, a left shift is performed. - string.upper + bit32.band arguments - s + args tooltip - Input string. + Numbers to perform bitwise AND on. type - string + array energy 10 return - string + number sleep 0 tooltip - Returns an uppercase version of the input string. + Performs a bitwise AND operation on input numbers. - string.match + bit32.bnot arguments - s - - tooltip - Input string. - type - string - - - - p - - tooltip - Pattern to match. - type - string - - - - init + n tooltip - Starting position (optional). + Number to negate. type number @@ -12870,13 +12785,20 @@ vector position - position in local coordinates energy 10 return - string... + number sleep 0 tooltip - Finds and returns matches for a pattern in the input string. + Returns the bitwise negation of the input number. - string.rep + utf8 + + energy + -1.0 + tooltip + UTF-8 library functions. + + utf8.offset arguments @@ -12893,7 +12815,16 @@ vector position - position in local coordinates n tooltip - Number of times to repeat the string. + Character position. + type + number + + + + i + + tooltip + Starting position (optional). type number @@ -12902,23 +12833,23 @@ vector position - position in local coordinates energy 10 return - string + number sleep 0 tooltip - Returns the input string repeated a given number of times. + Returns the byte offset of the nth Unicode codepoint in string s. - string.reverse + utf8.char arguments - s + args tooltip - Input string. + Unicode codepoints. type - string + array @@ -12929,9 +12860,9 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the input string with bytes in reverse order. + Creates a string from Unicode codepoints. - string.sub + utf8.codepoint arguments @@ -12945,19 +12876,19 @@ vector position - position in local coordinates - f + i tooltip - Start index. + Starting position (optional). type number - t + j tooltip - End index (optional). + Ending position (optional). type number @@ -12966,13 +12897,13 @@ vector position - position in local coordinates energy 10 return - string + array sleep 0 tooltip - Returns a substring from the given range. + Returns the Unicode codepoints in the specified range of string s. - string.gsub + utf8.len arguments @@ -12986,28 +12917,19 @@ vector position - position in local coordinates - p - - tooltip - Pattern to replace. - type - string - - - - f + i tooltip - Replacement string, function, or table. + Starting position (optional). type - function | table | string + number - maxs + j tooltip - Maximum replacements (optional). + Ending position (optional). type number @@ -13016,266 +12938,237 @@ vector position - position in local coordinates energy 10 return - string, number + number sleep 0 tooltip - Performs pattern-based substitution in a string. + Returns the number of Unicode codepoints in the specified range of string s. - string.pack + utf8.codes arguments - f + s tooltip - Pack format string. + Input string. type string - - args - - tooltip - Values to encode. - type - any... - - energy 10 return - string + iterator sleep 0 tooltip - Packs values into a binary string. + Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. - string.unpack + + math + + energy + -1.0 + tooltip + math namespace. + + math.abs arguments - f - - tooltip - Pack format string. - type - string - - - - s + n tooltip - Encoded string. + A number. type - string + number energy 10 return - any... + number sleep 0 tooltip - Decodes a binary string using a pack format. - - - coroutine - - energy - -1.0 - tooltip - coroutine namespace. + Returns the absolute value of n. - coroutine.create + math.acos arguments - f + n tooltip - A function to be executed by the new coroutine. + A number in the range [-1, 1]. type - function + number energy 10 return - thread - sleep - 0 - tooltip - Returns a new coroutine that, when resumed, will run function f. - - coroutine.running - - arguments - - energy - 10 - return - thread? + number sleep 0 tooltip - Returns the currently running coroutine, or nil if running in the main coroutine. + Returns the arc cosine of n in radians. - coroutine.status + math.asin arguments - co + n tooltip - The coroutine to check status of. + A number in the range [-1, 1]. type - thread + number energy 10 return - string + number sleep 0 tooltip - Returns the status of the coroutine: "running", "suspended", "normal", or "dead". + Returns the arc sine of n in radians. - coroutine.wrap + math.atan2 arguments - f + y tooltip - A function to execute in a coroutine. + The y-coordinate. type - function + number + + + + x + + tooltip + The x-coordinate. + type + number energy 10 return - function + number sleep 0 tooltip - Creates a coroutine and returns a function that resumes it. + Returns the arc tangent of y/x in radians. - coroutine.yield + math.atan arguments - args + n tooltip - Values to pass to the resuming code. + A number. type - variadic + number energy 10 return - variadic + number sleep 0 tooltip - Yields the current coroutine, passing arguments to the resuming code. + Returns the arc tangent of n in radians. - coroutine.isyieldable + math.ceil arguments - + + + n + + tooltip + A number. + type + number + + + energy 10 return - boolean + number sleep 0 tooltip - Returns true if the coroutine can yield. + Rounds n upwards to the next integer boundary. - coroutine.resume + math.cosh arguments - co - - tooltip - The coroutine to resume. - type - thread - - - - args + n tooltip - Arguments to pass to the coroutine. + A number to compute the hyperbolic cosine of. type - variadic + number energy 10 return - (boolean, variadic) + number sleep 0 tooltip - Resumes a coroutine, returning true and results if successful, or false and an error. + Returns the hyperbolic cosine of n. - coroutine.close + math.cos arguments - co + n tooltip - The coroutine to close. + An angle in radians. type - thread + number energy 10 return - (boolean, any?) + number sleep 0 tooltip - Closes a coroutine, returning true if successful or false and an error. - - - bit32 - - energy - -1.0 - tooltip - bit32 library functions. + Returns the cosine of n. - bit32.arshift + math.deg arguments @@ -13283,16 +13176,7 @@ vector position - position in local coordinates n tooltip - Number to shift. - type - number - - - - i - - tooltip - Number of bits to shift. + A value in radians. type number @@ -13305,19 +13189,19 @@ vector position - position in local coordinates sleep 0 tooltip - Shifts n by i bits to the right. If i is negative, a left shift is performed. + Converts n from radians to degrees. - bit32.band + math.exp arguments - args + n tooltip - Numbers to perform bitwise AND on. + A number to compute e^n. type - array + number @@ -13328,9 +13212,9 @@ vector position - position in local coordinates sleep 0 tooltip - Performs a bitwise AND operation on input numbers. + Returns the base-e exponent of n. - bit32.bnot + math.floor arguments @@ -13338,7 +13222,7 @@ vector position - position in local coordinates n tooltip - Number to negate. + A number to round down. type number @@ -13351,42 +13235,26 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the bitwise negation of the input number. - - utf8 - - energy - -1.0 - tooltip - UTF-8 library functions. + Rounds n down to the previous integer. - utf8.offset + math.fmod arguments - s - - tooltip - Input string. - type - string - - - - n + x tooltip - Character position. + The dividend. type number - i + y tooltip - Starting position (optional). + The divisor. type number @@ -13399,32 +13267,32 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the byte offset of the nth Unicode codepoint in string s. + Returns the remainder of x modulo y, rounded towards zero. - utf8.char + math.frexp arguments - args + n tooltip - Unicode codepoints. + A number to split into significand and exponent. type - array + number energy 10 return - string + array sleep 0 tooltip - Creates a string from Unicode codepoints. + Splits n into a significand and exponent. - utf8.codepoint + math.ldexp arguments @@ -13432,25 +13300,16 @@ vector position - position in local coordinates s tooltip - Input string. - type - string - - - - i - - tooltip - Starting position (optional). + The significand. type number - j + e tooltip - Ending position (optional). + The exponent. type number @@ -13459,39 +13318,39 @@ vector position - position in local coordinates energy 10 return - array + number sleep 0 tooltip - Returns the Unicode codepoints in the specified range of string s. + Returns s * 2^e. - utf8.len + math.lerp arguments - s + a tooltip - Input string. + Start value. type - string + number - i + b tooltip - Starting position (optional). + End value. type number - j + t tooltip - Ending position (optional). + Interpolation factor. type number @@ -13504,70 +13363,49 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the number of Unicode codepoints in the specified range of string s. + Linearly interpolates between a and b using factor t. - utf8.codes + math.log10 arguments - s + n tooltip - Input string. + A number to compute base-10 logarithm. type - string + number energy 10 return - iterator - sleep - 0 - tooltip - Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. - - - os - - energy - -1.0 - tooltip - os namespace. - - os.clock - - arguments - - energy - 10 - return number sleep 0 tooltip - Returns a high-precision timestamp in seconds for measuring durations. + Returns base-10 logarithm of n. - os.date + math.log arguments - s + n tooltip - Optional format string for the date representation. + A number to compute logarithm. type - string + number - t + base tooltip - Optional timestamp to format; defaults to the current time. + Base of the logarithm (default is e). type number @@ -13576,32 +13414,23 @@ vector position - position in local coordinates energy 10 return - table|string + number sleep 0 tooltip - Returns a table or string representation of the time based on the provided format. + Returns logarithm of n in the given base. - os.difftime + math.max arguments - a - - tooltip - First timestamp value. - type - number - - - - b + list tooltip - Second timestamp value. + A list of numbers to find the maximum from. type - number + array @@ -13612,19 +13441,19 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the difference in seconds between two timestamps. + Returns the maximum value in the given list. - os.time + math.min arguments - t + list tooltip - Optional table with date/time fields; returns the corresponding Unix timestamp. + A list of numbers to find the minimum from. type - table + array @@ -13635,84 +13464,49 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the current Unix timestamp or the timestamp of the given date. - - - debug - - energy - -1.0 - tooltip - debug namespace. + Returns the minimum value in the given list. - debug.info + math.modf arguments - co - - tooltip - Optional thread or function reference. - type - thread|function|number - - - - level + n tooltip - Stack level or function reference for inspection. + A number to split into integer and fractional parts. type number - - s - - tooltip - String specifying requested information. - type - string - - energy 10 return - any + array sleep 0 tooltip - Returns information about a stack frame or function based on specified format. + Returns the integer and fractional parts of n. - debug.traceback + math.pow arguments - co - - tooltip - Optional thread reference for traceback. - type - thread - - - - msg + x tooltip - Optional message prepended to the traceback. + Base value. type - string + number - level + y tooltip - Optional stack level to start traceback. + Exponent value. type number @@ -13721,71 +13515,53 @@ vector position - position in local coordinates energy 10 return - string + number sleep 0 tooltip - Returns a human-readable call stack starting from the specified level. + Returns x raised to the power of y. - debug.getinfo + math.rad arguments - thread - - tooltip - Optional thread whose stack frame is being inspected. - type - thread - - - - function - - tooltip - Function reference or stack level number. - type - function|number - - - - what + n tooltip - String specifying which fields to retrieve. + A value in degrees. type - string + number energy 10 return - table + number sleep 0 tooltip - Returns a table containing debug information about a function or stack frame. + Converts n from degrees to radians. - debug.getlocal + math.random arguments - level + min tooltip - Stack level number. + Minimum value of the range (optional). type number - index + max tooltip - Index of the local variable. + Maximum value of the range (optional). type number @@ -13794,71 +13570,44 @@ vector position - position in local coordinates energy 10 return - string|any + number sleep 0 tooltip - Returns the name and value of a local variable at the specified stack level. + Returns a random number within the given range. - debug.setlocal + math.randomseed arguments - level - - tooltip - Stack level number. - type - number - - - - index + seed tooltip - Index of the local variable. + Seed for the random number generator. type number - - value - - tooltip - New value for the local variable. - type - any - - energy 10 return - boolean + void sleep 0 tooltip - Sets the value of a local variable at the specified stack level. + Sets the seed for the random number generator. - debug.getupvalue + math.sinh arguments - function + n tooltip - Function whose upvalues are being retrieved. - type - function - - - - index - - tooltip - Index of the upvalue. + A number to compute the hyperbolic sine of. type number @@ -13867,125 +13616,90 @@ vector position - position in local coordinates energy 10 return - string|any + number sleep 0 tooltip - Returns the name and value of an upvalue for a given function. + Returns the hyperbolic sine of n. - debug.setupvalue + math.sin arguments - function - - tooltip - Function whose upvalues are being modified. - type - function - - - - index + n tooltip - Index of the upvalue. + An angle in radians. type number - - value - - tooltip - New value for the upvalue. - type - any - - energy 10 return - string + number sleep 0 tooltip - Sets the value of an upvalue for a given function. + Returns the sine of n. - debug.getmetatable + math.sqrt arguments - value + n tooltip - Value whose metatable is retrieved. + A number to compute the square root of. type - any + number energy 10 return - table|nil + number sleep 0 tooltip - Returns the metatable of the given value, if any. + Returns the square root of n. - debug.setmetatable + math.tanh arguments - value - - tooltip - Value whose metatable is to be set. - type - any - - - - metatable + n tooltip - Table to be set as the new metatable. + A number to compute the hyperbolic tangent of. type - table|nil + number energy 10 return - any + number sleep 0 tooltip - Sets the metatable for a given value. - - - buffer - - energy - -1.0 - tooltip - buffer namespace. + Returns the hyperbolic tangent of n. - buffer.create + math.tan arguments - size + n tooltip - Size of the buffer to create. + An angle in radians. type number @@ -13994,69 +13708,105 @@ vector position - position in local coordinates energy 10 return - buffer + number sleep 0 tooltip - Creates a buffer of the requested size with all bytes initialized to 0. + Returns the tangent of n. - buffer.fromstring + math.noise arguments - str + x tooltip - String to initialize the buffer with. + X coordinate for the noise function. type - string + number + + + + y + + tooltip + Y coordinate for the noise function (optional). + type + number + + + + z + + tooltip + Z coordinate for the noise function (optional). + type + number energy 10 return - buffer + number sleep 0 tooltip - Creates a buffer initialized to the contents of the string. + Returns Perlin noise value for the point (x, y, z). - buffer.tostring + math.clamp arguments - b + n tooltip - Buffer to convert to a string. + The value to be clamped. type - buffer + number + + + + min + + tooltip + Minimum allowable value. + type + number + + + + max + + tooltip + Maximum allowable value. + type + number energy 10 return - string + number sleep 0 tooltip - Returns the buffer data as a string. + Returns n clamped between min and max. - buffer.len + math.sign arguments - b + n tooltip - Buffer to get the size of. + A number to get the sign of. type - buffer + number @@ -14067,26 +13817,17 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the size of the buffer in bytes. + Returns -1 if n is negative, 1 if positive, and 0 if zero. - buffer.readi8 + math.round arguments - b - - tooltip - Buffer to read from. - type - buffer - - - - offset + n tooltip - Byte offset to read from. + A number to round to the nearest integer. type number @@ -14099,35 +13840,47 @@ vector position - position in local coordinates sleep 0 tooltip - Reads a signed 8-bit integer from the buffer at the given offset. + Rounds n to the nearest integer. - buffer.writei8 + + os + + energy + -1.0 + tooltip + os namespace. + + os.clock + + arguments + + energy + 10 + return + number + sleep + 0 + tooltip + Returns a high-precision timestamp in seconds for measuring durations. + + os.date arguments - b - - tooltip - Buffer to write to. - type - buffer - - - - offset + s tooltip - Byte offset to write at. + Optional format string for the date representation. type - number + string - value + t tooltip - Value to write. + Optional timestamp to format; defaults to the current time. type number @@ -14136,39 +13889,30 @@ vector position - position in local coordinates energy 10 return - void + table|string sleep 0 tooltip - Writes a signed 8-bit integer to the buffer at the given offset. + Returns a table or string representation of the time based on the provided format. - buffer.readstring + os.difftime arguments - b - - tooltip - Buffer to read from. - type - buffer - - - - offset + a tooltip - Byte offset to start reading. + First timestamp value. type number - count + b tooltip - Number of bytes to read. + Second timestamp value. type number @@ -14177,253 +13921,285 @@ vector position - position in local coordinates energy 10 return - string + number sleep 0 tooltip - Reads a string of the given length from the buffer at the specified offset. + Returns the difference in seconds between two timestamps. - buffer.copy + os.time arguments - target + t tooltip - Target buffer to copy into. + Optional table with date/time fields; returns the corresponding Unix timestamp. type - buffer + table + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the current Unix timestamp or the timestamp of the given date. + + + string + + energy + -1.0 + tooltip + string namespace. + + string.byte + + arguments + - targetOffset + s tooltip - Offset in target buffer. + Input string. type - number + string - source + f tooltip - Source buffer to copy from. + Starting index (optional). type - buffer + number - sourceOffset + t tooltip - Offset in source buffer (optional). + Ending index (optional). type number + + energy + 10 + return + number... + sleep + 0 + tooltip + Returns the numeric code of every byte in the input string within the given range. + + string.char + + arguments + - count + args tooltip - Number of bytes to copy (optional). + Byte values to convert to string. type - number + number... energy 10 return - void + string sleep 0 tooltip - Copies bytes from the source buffer into the target buffer. + Returns a string containing characters for the given byte values. - buffer.fill + string.find arguments - b + s tooltip - Buffer to fill. + Input string. type - buffer + string - offset + p tooltip - Byte offset to start filling. + Pattern to search for. type - number + string - value + init tooltip - Value to fill with. + Starting position (optional). type number - count + plain tooltip - Number of bytes to fill (optional). + Perform raw search (optional). type - number + boolean energy 10 return - void + number?, number?, string... sleep 0 tooltip - Fills the buffer with the specified value starting at the given offset. + Finds an instance of the pattern in the string. - buffer.readu8 + string.format arguments - b + s tooltip - Buffer to read from. + Format string. type - buffer + string - offset + args tooltip - Byte offset to read from. + Values to format. type - number + any... energy 10 return - number + string sleep 0 tooltip - Reads an unsigned 8-bit integer from the buffer at the given offset. + Formats input values into a string using printf-style format specifiers. - buffer.writeu8 + string.len arguments - b - - tooltip - Buffer to write to. - type - buffer - - - - offset - - tooltip - Byte offset to write at. - type - number - - - - value + s tooltip - Value to write. + Input string. type - number + string energy 10 return - void + number sleep 0 tooltip - Writes an unsigned 8-bit integer to the buffer at the given offset. + Returns the number of bytes in the string. - buffer.readi16 + string.lower arguments - b + s tooltip - Buffer to read from. + Input string. type - buffer + string + + energy + 10 + return + string + sleep + 0 + tooltip + Returns a lowercase version of the input string. + + string.upper + + arguments + - offset + s tooltip - Byte offset to read from. + Input string. type - number + string energy 10 return - number + string sleep 0 tooltip - Reads a signed 16-bit integer from the buffer at the given offset. + Returns an uppercase version of the input string. - buffer.writei16 + string.match arguments - b + s tooltip - Buffer to write to. + Input string. type - buffer + string - offset + p tooltip - Byte offset to write at. + Pattern to match. type - number + string - value + init tooltip - Value to write. + Starting position (optional). type number @@ -14432,30 +14208,30 @@ vector position - position in local coordinates energy 10 return - void + string... sleep 0 tooltip - Writes a signed 16-bit integer to the buffer at the given offset. + Finds and returns matches for a pattern in the input string. - buffer.readf32 + string.rep arguments - b + s tooltip - Buffer to read from. + Input string. type - buffer + string - offset + n tooltip - Byte offset to read from. + Number of times to repeat the string. type number @@ -14464,39 +14240,62 @@ vector position - position in local coordinates energy 10 return - number + string sleep 0 tooltip - Reads a 32-bit floating-point number from the buffer at the given offset. + Returns the input string repeated a given number of times. - buffer.writef32 + string.reverse arguments - b + s tooltip - Buffer to write to. + Input string. type - buffer + string + + + + energy + 10 + return + string + sleep + 0 + tooltip + Returns the input string with bytes in reverse order. + + string.sub + + arguments + + + s + + tooltip + Input string. + type + string - offset + f tooltip - Byte offset to write at. + Start index. type number - value + t tooltip - Value to write. + End index (optional). type number @@ -14505,30 +14304,48 @@ vector position - position in local coordinates energy 10 return - void + string sleep 0 tooltip - Writes a 32-bit floating-point number to the buffer at the given offset. + Returns a substring from the given range. - buffer.readf64 + string.gsub arguments - b + s tooltip - Buffer to read from. + Input string. type - buffer + string - offset + p tooltip - Byte offset to read from. + Pattern to replace. + type + string + + + + f + + tooltip + Replacement string, function, or table. + type + function | table | string + + + + maxs + + tooltip + Maximum replacements (optional). type number @@ -14537,187 +14354,241 @@ vector position - position in local coordinates energy 10 return - number + string, number sleep 0 tooltip - Reads a 64-bit floating-point number from the buffer at the given offset. + Performs pattern-based substitution in a string. - buffer.writef64 + string.pack arguments - b - - tooltip - Buffer to write to. - type - buffer - - - - offset + f tooltip - Byte offset to write at. + Pack format string. type - number + string - value + args tooltip - Value to write. + Values to encode. type - number + any... energy 10 return - void + string sleep 0 tooltip - Writes a 64-bit floating-point number to the buffer at the given offset. + Packs values into a binary string. - buffer.readu16 + string.unpack arguments - b + f tooltip - Buffer to read from. + Pack format string. type - buffer + string - offset + s tooltip - Byte offset to read from. + Encoded string. type - number + string energy 10 return - number + any... sleep 0 tooltip - Reads an unsigned 16-bit integer from the buffer at the given offset. + Decodes a binary string using a pack format. - buffer.writeu16 + + table + + energy + -1.0 + tooltip + table namespace. + + table.concat arguments - b + a tooltip - Buffer to write to. + Array of strings. type - buffer + array - offset + sep tooltip - Byte offset to write at. + Separator string. type - number + string - value + f tooltip - Value to write. + Starting index. type - number + integer + + + + t + + tooltip + Ending index. + type + integer energy 10 return - void + string sleep 0 tooltip - Writes an unsigned 16-bit integer to the buffer at the given offset. + Concatenates elements of an array with an optional separator. - buffer.readi32 + table.foreach arguments - b + t tooltip - Buffer to read from. + Table to iterate over. type - buffer + table - offset + f tooltip - Byte offset to read from. + Function applied to each key-value pair. type - number + function energy 10 return - number + various sleep 0 tooltip - Reads a signed 32-bit integer from the buffer at the given offset. + Iterates over all key-value pairs in a table. - buffer.writei32 + table.getn arguments - b + t tooltip - Buffer to write to. + Table whose length is determined. type - buffer + table + + energy + 10 + return + integer + sleep + 0 + tooltip + Returns the number of elements in a table. + + table.maxn + + arguments + - offset + t tooltip - Byte offset to write at. + Table to search for the maximum numeric key. type - number + table + + energy + 10 + return + integer + sleep + 0 + tooltip + Returns the highest numeric key in a table. + + table.insert + + arguments + - value + t tooltip - Value to write. + Table to insert into. type - number + table + + + + i + + tooltip + Position to insert at. + type + integer + + + + v + + tooltip + Value to insert. + type + various @@ -14728,219 +14599,279 @@ vector position - position in local coordinates sleep 0 tooltip - Writes a signed 32-bit integer to the buffer at the given offset. + Inserts a value at a specific index in a table. - buffer.readu32 + table.remove arguments - b + t tooltip - Buffer to read from. + Table to remove from. type - buffer + table - offset + i tooltip - Byte offset to read from. + Position to remove. type - number + integer energy 10 return - number + various sleep 0 tooltip - Reads an unsigned 32-bit integer from the buffer at the given offset. + Removes an element from a table at a given index. - buffer.writeu32 + table.sort arguments - b + t tooltip - Buffer to write to. + Table to be sorted. type - buffer + table - offset + f tooltip - Byte offset to write at. + Comparison function. type - number + function + + energy + 10 + return + void + sleep + 0 + tooltip + Sorts a table in ascending order. + + table.pack + + arguments + - value + args tooltip - Value to write. + Variable arguments. type - number + varargs energy 10 return - void + table sleep 0 tooltip - Writes an unsigned 32-bit integer to the buffer at the given offset. + Packs multiple arguments into a table. - buffer.readstring + table.unpack arguments - b + a tooltip - Buffer to read from. + Table to unpack. type - buffer + table - offset + f tooltip - Byte offset to start reading. + Starting index. type - number + integer - count + t tooltip - Number of bytes to read. + Ending index. type - number + integer energy 10 return - string + varargs sleep 0 tooltip - Reads a string of the given length from the buffer at the specified offset. + Returns unpacked values from a table within a specified range. - buffer.writestring + table.move arguments - b + a tooltip - Buffer to write to. + Source table. type - buffer + table - offset + f tooltip - Byte offset to write at. + Starting index. type - number + integer - value + t tooltip - String to write. + Ending index. type - string + integer - count + d tooltip - Number of bytes to write (optional). + Destination index. type - number + integer + + + + tt + + tooltip + Optional target table. + type + table energy 10 return - void + table sleep 0 tooltip - Writes data from a string into the buffer at the specified offset. + Moves elements from one table to another or within the same table. - buffer.copy + table.create arguments - target + n tooltip - Target buffer to copy into. + Number of elements. type - buffer + integer - targetOffset + v tooltip - Offset in target buffer. + Value to prefill elements with. type - number + various + + + + energy + 10 + return + table + sleep + 0 + tooltip + Creates a table with preallocated elements. + + table.find + + arguments + + + t + + tooltip + Table to search in. + type + table - source + v tooltip - Source buffer to copy from. + Value to find. type - buffer + various - sourceOffset + init tooltip - Offset in source buffer (optional). + Starting index for search. type - number + integer + + energy + 10 + return + integer + sleep + 0 + tooltip + Finds the first occurrence of a value in a table and returns its index. + + table.clear + + arguments + - count + t tooltip - Number of bytes to copy (optional). + Table to clear. type - number + table @@ -14951,7 +14882,76 @@ vector position - position in local coordinates sleep 0 tooltip - Copies bytes from the source buffer into the target buffer. + Clears all elements from a table while keeping its capacity. + + table.freeze + + arguments + + + t + + tooltip + Table to freeze. + type + table + + + + energy + 10 + return + table + sleep + 0 + tooltip + Freezes a table, preventing modifications. + + table.isfrozen + + arguments + + + t + + tooltip + Table to check. + type + table + + + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if a table is frozen. + + table.clone + + arguments + + + t + + tooltip + Table to clone. + type + table + + + + energy + 10 + return + table + sleep + 0 + tooltip + Creates a shallow copy of a table. vector From 0dab44799e01977236a1a6d262ac2f7fad3d3b24 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 09:56:12 -0800 Subject: [PATCH 09/51] added missing libraries --- .../app_settings/keywords_lua_default.xml | 2864 ++++++++++++----- 1 file changed, 2069 insertions(+), 795 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 084b42a736d..cd722edf8be 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -263,7 +263,7 @@ type rotation = quaternion constants - + nil tooltip @@ -291,6 +291,111 @@ type rotation = quaternion value false + + lljson._NAME + + tooltip + Name of the lljson library + type + string + value + lljson + + lljson._VERSION + + tooltip + Version of the lljson library + type + string + value + 2.1.0.11 + + lljson.array_mt + + tooltip + Metatable for declaring table as an array for json encode + type + { [any]: any } + value + {} + + lljson.empty_array + + tooltip + A constant to pass for an empty array to json encode + type + userdata + + lljson.empty_array_mt + + tooltip + Metatable for declaring table as an empty array for json encode + type + { [any]: any } + value + {} + + lljson.null + + tooltip + A constant to pass for null to json encode + type + userdata + + math.huge + + tooltip + A value larger than any other numeric value (infinity) + type + number + value + inf + + math.pi + + tooltip + The value of pi + type + number + value + .14159265358979 + + quaternion.identity + + tooltip + Identity quaternion constant + type + quaternion + value + <0, 0, 0, 1> + + utf8.charpattern + + tooltip + Pattern that matches exactly one UTF-8 byte sequence + type + string + value + [\\\\x00-\\\\x7F\\\\xC2-\\\\xF4][\\\\x80-\\\\xBF]* + + vector.one + + tooltip + A one vector + type + vector + value + <1,1,1> + + vector.zero + + tooltip + A zero vector + type + vector + value + <0,0,0> + ACTIVE @@ -10388,7 +10493,7 @@ vector position - position in local coordinates functions - + assert type-arguments @@ -11208,23 +11313,25 @@ vector position - position in local coordinates tooltip Converts a value to a vector, returns nil if invalid - - buffer - - energy - -1.0 - tooltip - buffer namespace. - - buffer.create + + bit32.arshift arguments - size + x tooltip - Size of the buffer to create. + + type + number + + + + disp + + tooltip + type number @@ -11233,69 +11340,69 @@ vector position - position in local coordinates energy 10 return - buffer + number sleep 0 tooltip - Creates a buffer of the requested size with all bytes initialized to 0. + Arithmetic right shift - buffer.fromstring + bit32.band arguments - str + ... tooltip - String to initialize the buffer with. + type - string + ...number energy 10 return - buffer + number sleep 0 tooltip - Creates a buffer initialized to the contents of the string. + Bitwise AND of all arguments - buffer.tostring + bit32.bnot arguments - b + x tooltip - Buffer to convert to a string. + type - buffer + number energy 10 return - string + number sleep 0 tooltip - Returns the buffer data as a string. + Bitwise NOT - buffer.len + bit32.bor arguments - b + ... tooltip - Buffer to get the size of. + type - buffer + ...number @@ -11306,28 +11413,42 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the size of the buffer in bytes. + Bitwise OR of all arguments - buffer.readi8 + bit32.btest arguments - b + ... tooltip - Buffer to read from. + type - buffer + ...number + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if bitwise AND of all arguments is not zero + + bit32.bxor + + arguments + - offset + ... tooltip - Byte offset to read from. + type - number + ...number @@ -11338,35 +11459,63 @@ vector position - position in local coordinates sleep 0 tooltip - Reads a signed 8-bit integer from the buffer at the given offset. + Bitwise XOR of all arguments - buffer.writei8 + bit32.byteswap arguments - b + n tooltip - Buffer to write to. + type - buffer + number + + energy + 10 + return + number + sleep + 0 + tooltip + Swap byte order + + bit32.countlz + + arguments + - offset + n tooltip - Byte offset to write at. + type number + + energy + 10 + return + number + sleep + 0 + tooltip + Count leading zeros + + bit32.countrz + + arguments + - value + n tooltip - Value to write. + type number @@ -11375,98 +11524,103 @@ vector position - position in local coordinates energy 10 return - void + number sleep 0 tooltip - Writes a signed 8-bit integer to the buffer at the given offset. + Count trailing zeros - buffer.readstring + bit32.extract arguments - b + n tooltip - Buffer to read from. + type - buffer + number - offset + field tooltip - Byte offset to start reading. + type number - count + width tooltip - Number of bytes to read. + type - number + number? energy 10 return - string + number sleep 0 tooltip - Reads a string of the given length from the buffer at the specified offset. + Extracts bits from n at position field with width - buffer.copy + bit32.lrotate arguments - target - - tooltip - Target buffer to copy into. - type - buffer - - - - targetOffset + x tooltip - Offset in target buffer. + type number - source + disp tooltip - Source buffer to copy from. + type - buffer + number + + energy + 10 + return + number + sleep + 0 + tooltip + Left rotate + + bit32.lshift + + arguments + - sourceOffset + x tooltip - Offset in source buffer (optional). + type number - count + disp tooltip - Number of bytes to copy (optional). + type number @@ -11475,80 +11629,80 @@ vector position - position in local coordinates energy 10 return - void + number sleep 0 tooltip - Copies bytes from the source buffer into the target buffer. + Left shift - buffer.fill + bit32.replace arguments - b + n tooltip - Buffer to fill. + type - buffer + number - offset + v tooltip - Byte offset to start filling. + type number - value + field tooltip - Value to fill with. + type number - count + width tooltip - Number of bytes to fill (optional). + type - number + number? energy 10 return - void + number sleep 0 tooltip - Fills the buffer with the specified value starting at the given offset. + Replaces bits in n at position field with width using value v - buffer.readu8 + bit32.rrotate arguments - b + x tooltip - Buffer to read from. + type - buffer + number - offset + disp tooltip - Byte offset to read from. + type number @@ -11561,35 +11715,26 @@ vector position - position in local coordinates sleep 0 tooltip - Reads an unsigned 8-bit integer from the buffer at the given offset. + Right rotate - buffer.writeu8 + bit32.rshift arguments - b - - tooltip - Buffer to write to. - type - buffer - - - - offset + x tooltip - Byte offset to write at. + type number - value + disp tooltip - Value to write. + type number @@ -11598,45 +11743,67 @@ vector position - position in local coordinates energy 10 return - void + number sleep 0 tooltip - Writes an unsigned 8-bit integer to the buffer at the given offset. + Right shift - buffer.readi16 + + buffer + + energy + -1.0 + tooltip + buffer namespace. + + buffer.create arguments - b + size tooltip - Buffer to read from. + Size of the buffer to create. type - buffer + number + + energy + 10 + return + buffer + sleep + 0 + tooltip + Creates a buffer of the requested size with all bytes initialized to 0. + + buffer.fromstring + + arguments + - offset + str tooltip - Byte offset to read from. + String to initialize the buffer with. type - number + string energy 10 return - number + buffer sleep 0 tooltip - Reads a signed 16-bit integer from the buffer at the given offset. + Creates a buffer initialized to the contents of the string. - buffer.writei16 + buffer.tostring arguments @@ -11644,40 +11811,45 @@ vector position - position in local coordinates b tooltip - Buffer to write to. + Buffer to convert to a string. type buffer + + energy + 10 + return + string + sleep + 0 + tooltip + Returns the buffer data as a string. + + buffer.len + + arguments + - offset - - tooltip - Byte offset to write at. - type - number - - - - value + b tooltip - Value to write. + Buffer to get the size of. type - number + buffer energy 10 return - void + number sleep 0 tooltip - Writes a signed 16-bit integer to the buffer at the given offset. + Returns the size of the buffer in bytes. - buffer.readf32 + buffer.readi8 arguments @@ -11707,9 +11879,9 @@ vector position - position in local coordinates sleep 0 tooltip - Reads a 32-bit floating-point number from the buffer at the given offset. + Reads a signed 8-bit integer from the buffer at the given offset. - buffer.writef32 + buffer.writei8 arguments @@ -11748,9 +11920,9 @@ vector position - position in local coordinates sleep 0 tooltip - Writes a 32-bit floating-point number to the buffer at the given offset. + Writes a signed 8-bit integer to the buffer at the given offset. - buffer.readf64 + buffer.readstring arguments @@ -11767,7 +11939,16 @@ vector position - position in local coordinates offset tooltip - Byte offset to read from. + Byte offset to start reading. + type + number + + + + count + + tooltip + Number of bytes to read. type number @@ -11776,71 +11957,57 @@ vector position - position in local coordinates energy 10 return - number + string sleep 0 tooltip - Reads a 64-bit floating-point number from the buffer at the given offset. + Reads a string of the given length from the buffer at the specified offset. - buffer.writef64 + buffer.copy arguments - b + target tooltip - Buffer to write to. + Target buffer to copy into. type buffer - offset + targetOffset tooltip - Byte offset to write at. + Offset in target buffer. type number - value + source tooltip - Value to write. + Source buffer to copy from. type - number + buffer - - energy - 10 - return - void - sleep - 0 - tooltip - Writes a 64-bit floating-point number to the buffer at the given offset. - - buffer.readu16 - - arguments - - b + sourceOffset tooltip - Buffer to read from. + Offset in source buffer (optional). type - buffer + number - offset + count tooltip - Byte offset to read from. + Number of bytes to copy (optional). type number @@ -11849,13 +12016,13 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Reads an unsigned 16-bit integer from the buffer at the given offset. + Copies bytes from the source buffer into the target buffer. - buffer.writeu16 + buffer.fill arguments @@ -11863,7 +12030,7 @@ vector position - position in local coordinates b tooltip - Buffer to write to. + Buffer to fill. type buffer @@ -11872,7 +12039,7 @@ vector position - position in local coordinates offset tooltip - Byte offset to write at. + Byte offset to start filling. type number @@ -11881,7 +12048,16 @@ vector position - position in local coordinates value tooltip - Value to write. + Value to fill with. + type + number + + + + count + + tooltip + Number of bytes to fill (optional). type number @@ -11894,9 +12070,9 @@ vector position - position in local coordinates sleep 0 tooltip - Writes an unsigned 16-bit integer to the buffer at the given offset. + Fills the buffer with the specified value starting at the given offset. - buffer.readi32 + buffer.readu8 arguments @@ -11926,9 +12102,9 @@ vector position - position in local coordinates sleep 0 tooltip - Reads a signed 32-bit integer from the buffer at the given offset. + Reads an unsigned 8-bit integer from the buffer at the given offset. - buffer.writei32 + buffer.writeu8 arguments @@ -11967,9 +12143,9 @@ vector position - position in local coordinates sleep 0 tooltip - Writes a signed 32-bit integer to the buffer at the given offset. + Writes an unsigned 8-bit integer to the buffer at the given offset. - buffer.readu32 + buffer.readi16 arguments @@ -11999,9 +12175,9 @@ vector position - position in local coordinates sleep 0 tooltip - Reads an unsigned 32-bit integer from the buffer at the given offset. + Reads a signed 16-bit integer from the buffer at the given offset. - buffer.writeu32 + buffer.writei16 arguments @@ -12040,9 +12216,9 @@ vector position - position in local coordinates sleep 0 tooltip - Writes an unsigned 32-bit integer to the buffer at the given offset. + Writes a signed 16-bit integer to the buffer at the given offset. - buffer.readstring + buffer.readf32 arguments @@ -12059,16 +12235,7 @@ vector position - position in local coordinates offset tooltip - Byte offset to start reading. - type - number - - - - count - - tooltip - Number of bytes to read. + Byte offset to read from. type number @@ -12077,13 +12244,13 @@ vector position - position in local coordinates energy 10 return - string + number sleep 0 tooltip - Reads a string of the given length from the buffer at the specified offset. + Reads a 32-bit floating-point number from the buffer at the given offset. - buffer.writestring + buffer.writef32 arguments @@ -12109,16 +12276,7 @@ vector position - position in local coordinates value tooltip - String to write. - type - string - - - - count - - tooltip - Number of bytes to write (optional). + Value to write. type number @@ -12131,53 +12289,67 @@ vector position - position in local coordinates sleep 0 tooltip - Writes data from a string into the buffer at the specified offset. + Writes a 32-bit floating-point number to the buffer at the given offset. - buffer.copy + buffer.readf64 arguments - target + b tooltip - Target buffer to copy into. + Buffer to read from. type buffer - targetOffset + offset tooltip - Offset in target buffer. + Byte offset to read from. type number + + energy + 10 + return + number + sleep + 0 + tooltip + Reads a 64-bit floating-point number from the buffer at the given offset. + + buffer.writef64 + + arguments + - source + b tooltip - Source buffer to copy from. + Buffer to write to. type buffer - sourceOffset + offset tooltip - Offset in source buffer (optional). + Byte offset to write at. type number - count + value tooltip - Number of bytes to copy (optional). + Value to write. type number @@ -12190,84 +12362,140 @@ vector position - position in local coordinates sleep 0 tooltip - Copies bytes from the source buffer into the target buffer. + Writes a 64-bit floating-point number to the buffer at the given offset. - - debug + buffer.readu16 + arguments + + + b + + tooltip + Buffer to read from. + type + buffer + + + + offset + + tooltip + Byte offset to read from. + type + number + + + energy - -1.0 + 10 + return + number + sleep + 0 tooltip - debug namespace. + Reads an unsigned 16-bit integer from the buffer at the given offset. - debug.info + buffer.writeu16 arguments - co + b tooltip - Optional thread or function reference. + Buffer to write to. type - thread|function|number + buffer - level + offset tooltip - Stack level or function reference for inspection. + Byte offset to write at. type number - s + value tooltip - String specifying requested information. + Value to write. type - string + number energy 10 return - any + void sleep 0 tooltip - Returns information about a stack frame or function based on specified format. + Writes an unsigned 16-bit integer to the buffer at the given offset. - debug.traceback + buffer.readi32 arguments - co + b tooltip - Optional thread reference for traceback. + Buffer to read from. type - thread + buffer - msg + offset tooltip - Optional message prepended to the traceback. + Byte offset to read from. type - string + number + + energy + 10 + return + number + sleep + 0 + tooltip + Reads a signed 32-bit integer from the buffer at the given offset. + + buffer.writei32 + + arguments + - level + b tooltip - Optional stack level to start traceback. + Buffer to write to. + type + buffer + + + + offset + + tooltip + Byte offset to write at. + type + number + + + + value + + tooltip + Value to write. type number @@ -12276,71 +12504,1106 @@ vector position - position in local coordinates energy 10 return - string + void sleep 0 tooltip - Returns a human-readable call stack starting from the specified level. + Writes a signed 32-bit integer to the buffer at the given offset. - debug.getinfo + buffer.readu32 arguments - thread + b tooltip - Optional thread whose stack frame is being inspected. + Buffer to read from. type - thread + buffer - function + offset tooltip - Function reference or stack level number. + Byte offset to read from. type - function|number + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Reads an unsigned 32-bit integer from the buffer at the given offset. + + buffer.writeu32 + + arguments + + + b + + tooltip + Buffer to write to. + type + buffer - what + offset tooltip - String specifying which fields to retrieve. + Byte offset to write at. type - string + number + + + + value + + tooltip + Value to write. + type + number energy 10 return - table + void + sleep + 0 + tooltip + Writes an unsigned 32-bit integer to the buffer at the given offset. + + buffer.readstring + + arguments + + + b + + tooltip + Buffer to read from. + type + buffer + + + + offset + + tooltip + Byte offset to start reading. + type + number + + + + count + + tooltip + Number of bytes to read. + type + number + + + + energy + 10 + return + string + sleep + 0 + tooltip + Reads a string of the given length from the buffer at the specified offset. + + buffer.writestring + + arguments + + + b + + tooltip + Buffer to write to. + type + buffer + + + + offset + + tooltip + Byte offset to write at. + type + number + + + + value + + tooltip + String to write. + type + string + + + + count + + tooltip + Number of bytes to write (optional). + type + number + + + + energy + 10 + return + void + sleep + 0 + tooltip + Writes data from a string into the buffer at the specified offset. + + buffer.copy + + arguments + + + target + + tooltip + Target buffer to copy into. + type + buffer + + + + targetOffset + + tooltip + Offset in target buffer. + type + number + + + + source + + tooltip + Source buffer to copy from. + type + buffer + + + + sourceOffset + + tooltip + Offset in source buffer (optional). + type + number + + + + count + + tooltip + Number of bytes to copy (optional). + type + number + + + + energy + 10 + return + void + sleep + 0 + tooltip + Copies bytes from the source buffer into the target buffer. + + + coroutine.close + + arguments + + + co + + tooltip + + type + thread + + + + energy + 10 + return + (boolean, string?) + sleep + 0 + tooltip + Closes a coroutine, returns success and optional error message + + coroutine.create + + arguments + + + f + + tooltip + + type + (...any) -> ...any + + + + energy + 10 + return + thread + sleep + 0 + tooltip + Creates a new coroutine from a function + + coroutine.isyieldable + + arguments + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if the coroutine can yield + + coroutine.resume + + arguments + + + co + + tooltip + + type + thread + + + + ... + + tooltip + + type + ...any + + + + energy + 10 + return + (boolean, ...any) + sleep + 0 + tooltip + Resumes a coroutine, returns success and results + + coroutine.running + + arguments + + energy + 10 + return + thread? + sleep + 0 + tooltip + Returns the running coroutine, or nil if called from main thread + + coroutine.status + + arguments + + + co + + tooltip + + type + thread + + + + energy + 10 + return + "running" | "suspended" | "normal" | "dead" + sleep + 0 + tooltip + Returns the status of a coroutine + + coroutine.wrap + + arguments + + + f + + tooltip + + type + (...any) -> ...any + + + + energy + 10 + return + (...any) -> ...any + sleep + 0 + tooltip + Creates a coroutine and returns a function that resumes it + + coroutine.yield + + arguments + + + ... + + tooltip + + type + ...any + + + + energy + 10 + return + ...any + sleep + 0 + tooltip + Suspends the coroutine and returns values to resume + + + debug + + energy + -1.0 + tooltip + debug namespace. + + debug.info + + arguments + + + co + + tooltip + Optional thread or function reference. + type + thread|function|number + + + + level + + tooltip + Stack level or function reference for inspection. + type + number + + + + s + + tooltip + String specifying requested information. + type + string + + + + energy + 10 + return + any + sleep + 0 + tooltip + Returns information about a stack frame or function based on specified format. + + debug.traceback + + arguments + + + co + + tooltip + Optional thread reference for traceback. + type + thread + + + + msg + + tooltip + Optional message prepended to the traceback. + type + string + + + + level + + tooltip + Optional stack level to start traceback. + type + number + + + + energy + 10 + return + string + sleep + 0 + tooltip + Returns a human-readable call stack starting from the specified level. + + debug.getinfo + + arguments + + + thread + + tooltip + Optional thread whose stack frame is being inspected. + type + thread + + + + function + + tooltip + Function reference or stack level number. + type + function|number + + + + what + + tooltip + String specifying which fields to retrieve. + type + string + + + + energy + 10 + return + table + sleep + 0 + tooltip + Returns a table containing debug information about a function or stack frame. + + debug.getlocal + + arguments + + + level + + tooltip + Stack level number. + type + number + + + + index + + tooltip + Index of the local variable. + type + number + + + + energy + 10 + return + string|any + sleep + 0 + tooltip + Returns the name and value of a local variable at the specified stack level. + + debug.setlocal + + arguments + + + level + + tooltip + Stack level number. + type + number + + + + index + + tooltip + Index of the local variable. + type + number + + + + value + + tooltip + New value for the local variable. + type + any + + + + energy + 10 + return + boolean + sleep + 0 + tooltip + Sets the value of a local variable at the specified stack level. + + debug.getupvalue + + arguments + + + function + + tooltip + Function whose upvalues are being retrieved. + type + function + + + + index + + tooltip + Index of the upvalue. + type + number + + + + energy + 10 + return + string|any + sleep + 0 + tooltip + Returns the name and value of an upvalue for a given function. + + debug.setupvalue + + arguments + + + function + + tooltip + Function whose upvalues are being modified. + type + function + + + + index + + tooltip + Index of the upvalue. + type + number + + + + value + + tooltip + New value for the upvalue. + type + any + + + + energy + 10 + return + string + sleep + 0 + tooltip + Sets the value of an upvalue for a given function. + + debug.getmetatable + + arguments + + + value + + tooltip + Value whose metatable is retrieved. + type + any + + + + energy + 10 + return + table|nil + sleep + 0 + tooltip + Returns the metatable of the given value, if any. + + debug.setmetatable + + arguments + + + value + + tooltip + Value whose metatable is to be set. + type + any + + + + metatable + + tooltip + Table to be set as the new metatable. + type + table|nil + + + + energy + 10 + return + any + sleep + 0 + tooltip + Sets the metatable for a given value. + + + coroutine + + energy + -1.0 + tooltip + coroutine namespace. + + coroutine.create + + arguments + + + f + + tooltip + A function to be executed by the new coroutine. + type + function + + + + energy + 10 + return + thread + sleep + 0 + tooltip + Returns a new coroutine that, when resumed, will run function f. + + coroutine.running + + arguments + + energy + 10 + return + thread? + sleep + 0 + tooltip + Returns the currently running coroutine, or nil if running in the main coroutine. + + coroutine.status + + arguments + + + co + + tooltip + The coroutine to check status of. + type + thread + + + + energy + 10 + return + string + sleep + 0 + tooltip + Returns the status of the coroutine: "running", "suspended", "normal", or "dead". + + coroutine.wrap + + arguments + + + f + + tooltip + A function to execute in a coroutine. + type + function + + + + energy + 10 + return + function + sleep + 0 + tooltip + Creates a coroutine and returns a function that resumes it. + + coroutine.yield + + arguments + + + args + + tooltip + Values to pass to the resuming code. + type + variadic + + + + energy + 10 + return + variadic + sleep + 0 + tooltip + Yields the current coroutine, passing arguments to the resuming code. + + coroutine.isyieldable + + arguments + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if the coroutine can yield. + + coroutine.resume + + arguments + + + co + + tooltip + The coroutine to resume. + type + thread + + + + args + + tooltip + Arguments to pass to the coroutine. + type + variadic + + + + energy + 10 + return + (boolean, variadic) + sleep + 0 + tooltip + Resumes a coroutine, returning true and results if successful, or false and an error. + + coroutine.close + + arguments + + + co + + tooltip + The coroutine to close. + type + thread + + + + energy + 10 + return + (boolean, any?) + sleep + 0 + tooltip + Closes a coroutine, returning true if successful or false and an error. + + + bit32 + + energy + -1.0 + tooltip + bit32 library functions. + + bit32.arshift + + arguments + + + n + + tooltip + Number to shift. + type + number + + + + i + + tooltip + Number of bits to shift. + type + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Shifts n by i bits to the right. If i is negative, a left shift is performed. + + bit32.band + + arguments + + + args + + tooltip + Numbers to perform bitwise AND on. + type + array + + + + energy + 10 + return + number + sleep + 0 + tooltip + Performs a bitwise AND operation on input numbers. + + bit32.bnot + + arguments + + + n + + tooltip + Number to negate. + type + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the bitwise negation of the input number. + + utf8 + + energy + -1.0 + tooltip + UTF-8 library functions. + + utf8.offset + + arguments + + + s + + tooltip + Input string. + type + string + + + + n + + tooltip + Character position. + type + number + + + + i + + tooltip + Starting position (optional). + type + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the byte offset of the nth Unicode codepoint in string s. + + utf8.char + + arguments + + + args + + tooltip + Unicode codepoints. + type + array + + + + energy + 10 + return + string sleep 0 tooltip - Returns a table containing debug information about a function or stack frame. + Creates a string from Unicode codepoints. - debug.getlocal + utf8.codepoint arguments - level + s tooltip - Stack level number. + Input string. + type + string + + + + i + + tooltip + Starting position (optional). type number - index + j tooltip - Index of the local variable. + Ending position (optional). type number @@ -12349,112 +13612,156 @@ vector position - position in local coordinates energy 10 return - string|any + array sleep 0 tooltip - Returns the name and value of a local variable at the specified stack level. + Returns the Unicode codepoints in the specified range of string s. - debug.setlocal + utf8.len arguments - level + s tooltip - Stack level number. + Input string. type - number + string - index + i tooltip - Index of the local variable. + Starting position (optional). type number - value + j tooltip - New value for the local variable. + Ending position (optional). type - any + number energy 10 return - boolean + number sleep 0 tooltip - Sets the value of a local variable at the specified stack level. + Returns the number of Unicode codepoints in the specified range of string s. - debug.getupvalue + utf8.codes arguments - function + s tooltip - Function whose upvalues are being retrieved. + Input string. type - function + string + + energy + 10 + return + iterator + sleep + 0 + tooltip + Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. + + + llbase64.decode + + arguments + - index + data tooltip - Index of the upvalue. + type - number + string energy 10 return - string|any + string sleep 0 tooltip - Returns the name and value of an upvalue for a given function. + Decodes a base64 string to a string - debug.setupvalue + llbase64.encode arguments - function + data tooltip - Function whose upvalues are being modified. + type - function + string | buffer + + energy + 10 + return + string + sleep + 0 + tooltip + Encodes a string or buffer to base64 + + + lljson.decode + + arguments + - index + json tooltip - Index of the upvalue. + type - number + string + + energy + 10 + return + any + sleep + 0 + tooltip + Decodes a JSON string to a Lua value + + lljson.encode + + arguments + value tooltip - New value for the upvalue. + type any @@ -12467,32 +13774,32 @@ vector position - position in local coordinates sleep 0 tooltip - Sets the value of an upvalue for a given function. + Encodes a Lua value as JSON - debug.getmetatable + lljson.sldecode arguments - value + json tooltip - Value whose metatable is retrieved. + type - any + string energy 10 return - table|nil + any sleep 0 tooltip - Returns the metatable of the given value, if any. + Decodes a JSON string to a Lua value preserving SL types - debug.setmetatable + lljson.slencode arguments @@ -12500,220 +13807,232 @@ vector position - position in local coordinates value tooltip - Value whose metatable is to be set. + type any - metatable + tight tooltip - Table to be set as the new metatable. + type - table|nil + boolean? energy 10 return - any + string sleep 0 tooltip - Sets the metatable for a given value. + Encodes a Lua value as JSON preserving SL types. Use tight to encode more compactly. - - coroutine + + math energy -1.0 tooltip - coroutine namespace. + math namespace. - coroutine.create + math.abs arguments - f + n tooltip - A function to be executed by the new coroutine. + A number. type - function + number energy 10 return - thread + number sleep 0 tooltip - Returns a new coroutine that, when resumed, will run function f. + Returns the absolute value of n. - coroutine.running + math.acos arguments - + + + n + + tooltip + A number in the range [-1, 1]. + type + number + + + energy 10 return - thread? + number sleep 0 tooltip - Returns the currently running coroutine, or nil if running in the main coroutine. + Returns the arc cosine of n in radians. - coroutine.status + math.asin arguments - co + n tooltip - The coroutine to check status of. + A number in the range [-1, 1]. type - thread + number energy 10 return - string + number sleep 0 tooltip - Returns the status of the coroutine: "running", "suspended", "normal", or "dead". + Returns the arc sine of n in radians. - coroutine.wrap + math.atan2 arguments - f + y tooltip - A function to execute in a coroutine. + The y-coordinate. type - function + number + + + + x + + tooltip + The x-coordinate. + type + number energy 10 return - function + number sleep 0 tooltip - Creates a coroutine and returns a function that resumes it. + Returns the arc tangent of y/x in radians. - coroutine.yield + math.atan arguments - args + n tooltip - Values to pass to the resuming code. + A number. type - variadic + number energy 10 return - variadic + number sleep 0 tooltip - Yields the current coroutine, passing arguments to the resuming code. + Returns the arc tangent of n in radians. - coroutine.isyieldable + math.ceil arguments - + + + n + + tooltip + A number. + type + number + + + energy 10 return - boolean + number sleep 0 tooltip - Returns true if the coroutine can yield. + Rounds n upwards to the next integer boundary. - coroutine.resume + math.cosh arguments - co - - tooltip - The coroutine to resume. - type - thread - - - - args + n tooltip - Arguments to pass to the coroutine. + A number to compute the hyperbolic cosine of. type - variadic + number energy 10 return - (boolean, variadic) + number sleep 0 tooltip - Resumes a coroutine, returning true and results if successful, or false and an error. + Returns the hyperbolic cosine of n. - coroutine.close + math.cos arguments - co + n tooltip - The coroutine to close. + An angle in radians. type - thread + number energy 10 return - (boolean, any?) + number sleep 0 tooltip - Closes a coroutine, returning true if successful or false and an error. - - - bit32 - - energy - -1.0 - tooltip - bit32 library functions. + Returns the cosine of n. - bit32.arshift + math.deg arguments @@ -12721,16 +14040,7 @@ vector position - position in local coordinates n tooltip - Number to shift. - type - number - - - - i - - tooltip - Number of bits to shift. + A value in radians. type number @@ -12743,19 +14053,19 @@ vector position - position in local coordinates sleep 0 tooltip - Shifts n by i bits to the right. If i is negative, a left shift is performed. + Converts n from radians to degrees. - bit32.band + math.exp arguments - args + n tooltip - Numbers to perform bitwise AND on. + A number to compute e^n. type - array + number @@ -12766,9 +14076,9 @@ vector position - position in local coordinates sleep 0 tooltip - Performs a bitwise AND operation on input numbers. + Returns the base-e exponent of n. - bit32.bnot + math.floor arguments @@ -12776,7 +14086,7 @@ vector position - position in local coordinates n tooltip - Number to negate. + A number to round down. type number @@ -12789,42 +14099,26 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the bitwise negation of the input number. - - utf8 - - energy - -1.0 - tooltip - UTF-8 library functions. + Rounds n down to the previous integer. - utf8.offset + math.fmod arguments - s - - tooltip - Input string. - type - string - - - - n + x tooltip - Character position. + The dividend. type number - i + y tooltip - Starting position (optional). + The divisor. type number @@ -12837,32 +14131,32 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the byte offset of the nth Unicode codepoint in string s. + Returns the remainder of x modulo y, rounded towards zero. - utf8.char + math.frexp arguments - args + n tooltip - Unicode codepoints. + A number to split into significand and exponent. type - array + number energy 10 return - string + array sleep 0 tooltip - Creates a string from Unicode codepoints. + Splits n into a significand and exponent. - utf8.codepoint + math.ldexp arguments @@ -12870,25 +14164,16 @@ vector position - position in local coordinates s tooltip - Input string. - type - string - - - - i - - tooltip - Starting position (optional). + The significand. type number - j + e tooltip - Ending position (optional). + The exponent. type number @@ -12897,39 +14182,39 @@ vector position - position in local coordinates energy 10 return - array + number sleep 0 tooltip - Returns the Unicode codepoints in the specified range of string s. + Returns s * 2^e. - utf8.len + math.lerp arguments - s + a tooltip - Input string. + Start value. type - string + number - i + b tooltip - Starting position (optional). + End value. type number - j + t tooltip - Ending position (optional). + Interpolation factor. type number @@ -12942,40 +14227,32 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the number of Unicode codepoints in the specified range of string s. + Linearly interpolates between a and b using factor t. - utf8.codes + math.log10 arguments - s + n tooltip - Input string. + A number to compute base-10 logarithm. type - string + number energy 10 return - iterator + number sleep 0 tooltip - Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. - - - math - - energy - -1.0 - tooltip - math namespace. + Returns base-10 logarithm of n. - math.abs + math.log arguments @@ -12983,30 +14260,16 @@ vector position - position in local coordinates n tooltip - A number. + A number to compute logarithm. type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the absolute value of n. - - math.acos - - arguments - - n + base tooltip - A number in the range [-1, 1]. + Base of the logarithm (default is e). type number @@ -13019,19 +14282,19 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the arc cosine of n in radians. + Returns logarithm of n in the given base. - math.asin + math.max arguments - n + list tooltip - A number in the range [-1, 1]. + A list of numbers to find the maximum from. type - number + array @@ -13042,28 +14305,19 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the arc sine of n in radians. + Returns the maximum value in the given list. - math.atan2 + math.min arguments - y - - tooltip - The y-coordinate. - type - number - - - - x + list tooltip - The x-coordinate. + A list of numbers to find the minimum from. type - number + array @@ -13074,9 +14328,9 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the arc tangent of y/x in radians. + Returns the minimum value in the given list. - math.atan + math.modf arguments @@ -13084,7 +14338,7 @@ vector position - position in local coordinates n tooltip - A number. + A number to split into integer and fractional parts. type number @@ -13093,21 +14347,30 @@ vector position - position in local coordinates energy 10 return - number + array sleep 0 tooltip - Returns the arc tangent of n in radians. + Returns the integer and fractional parts of n. - math.ceil + math.pow arguments - n + x tooltip - A number. + Base value. + type + number + + + + y + + tooltip + Exponent value. type number @@ -13120,9 +14383,9 @@ vector position - position in local coordinates sleep 0 tooltip - Rounds n upwards to the next integer boundary. + Returns x raised to the power of y. - math.cosh + math.rad arguments @@ -13130,7 +14393,7 @@ vector position - position in local coordinates n tooltip - A number to compute the hyperbolic cosine of. + A value in degrees. type number @@ -13143,17 +14406,26 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the hyperbolic cosine of n. + Converts n from degrees to radians. - math.cos + math.random arguments - n + min tooltip - An angle in radians. + Minimum value of the range (optional). + type + number + + + + max + + tooltip + Maximum value of the range (optional). type number @@ -13166,17 +14438,17 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the cosine of n. + Returns a random number within the given range. - math.deg + math.randomseed arguments - n + seed tooltip - A value in radians. + Seed for the random number generator. type number @@ -13185,13 +14457,13 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Converts n from radians to degrees. + Sets the seed for the random number generator. - math.exp + math.sinh arguments @@ -13199,7 +14471,7 @@ vector position - position in local coordinates n tooltip - A number to compute e^n. + A number to compute the hyperbolic sine of. type number @@ -13212,9 +14484,9 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the base-e exponent of n. + Returns the hyperbolic sine of n. - math.floor + math.sin arguments @@ -13222,7 +14494,7 @@ vector position - position in local coordinates n tooltip - A number to round down. + An angle in radians. type number @@ -13235,26 +14507,17 @@ vector position - position in local coordinates sleep 0 tooltip - Rounds n down to the previous integer. + Returns the sine of n. - math.fmod + math.sqrt arguments - x - - tooltip - The dividend. - type - number - - - - y + n tooltip - The divisor. + A number to compute the square root of. type number @@ -13267,9 +14530,9 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the remainder of x modulo y, rounded towards zero. + Returns the square root of n. - math.frexp + math.tanh arguments @@ -13277,7 +14540,7 @@ vector position - position in local coordinates n tooltip - A number to split into significand and exponent. + A number to compute the hyperbolic tangent of. type number @@ -13286,30 +14549,21 @@ vector position - position in local coordinates energy 10 return - array + number sleep 0 tooltip - Splits n into a significand and exponent. + Returns the hyperbolic tangent of n. - math.ldexp + math.tan arguments - s - - tooltip - The significand. - type - number - - - - e + n tooltip - The exponent. + An angle in radians. type number @@ -13322,35 +14576,35 @@ vector position - position in local coordinates sleep 0 tooltip - Returns s * 2^e. + Returns the tangent of n. - math.lerp + math.noise arguments - a + x tooltip - Start value. + X coordinate for the noise function. type number - b + y tooltip - End value. + Y coordinate for the noise function (optional). type number - t + z tooltip - Interpolation factor. + Z coordinate for the noise function (optional). type number @@ -13363,9 +14617,9 @@ vector position - position in local coordinates sleep 0 tooltip - Linearly interpolates between a and b using factor t. + Returns Perlin noise value for the point (x, y, z). - math.log10 + math.clamp arguments @@ -13373,39 +14627,25 @@ vector position - position in local coordinates n tooltip - A number to compute base-10 logarithm. + The value to be clamped. type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns base-10 logarithm of n. - - math.log - - arguments - - n + min tooltip - A number to compute logarithm. + Minimum allowable value. type number - base + max tooltip - Base of the logarithm (default is e). + Maximum allowable value. type number @@ -13418,19 +14658,19 @@ vector position - position in local coordinates sleep 0 tooltip - Returns logarithm of n in the given base. + Returns n clamped between min and max. - math.max + math.sign arguments - list + n tooltip - A list of numbers to find the maximum from. + A number to get the sign of. type - array + number @@ -13441,19 +14681,19 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the maximum value in the given list. + Returns -1 if n is negative, 1 if positive, and 0 if zero. - math.min + math.round arguments - list + n tooltip - A list of numbers to find the minimum from. + A number to round to the nearest integer. type - array + number @@ -13464,49 +14704,47 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the minimum value in the given list. + Rounds n to the nearest integer. - math.modf + + os + + energy + -1.0 + tooltip + os namespace. + + os.clock arguments - - - n - - tooltip - A number to split into integer and fractional parts. - type - number - - - + energy 10 return - array + number sleep 0 tooltip - Returns the integer and fractional parts of n. + Returns a high-precision timestamp in seconds for measuring durations. - math.pow + os.date arguments - x + s tooltip - Base value. + Optional format string for the date representation. type - number + string - y + t tooltip - Exponent value. + Optional timestamp to format; defaults to the current time. type number @@ -13515,21 +14753,30 @@ vector position - position in local coordinates energy 10 return - number + table|string sleep 0 tooltip - Returns x raised to the power of y. + Returns a table or string representation of the time based on the provided format. - math.rad + os.difftime arguments - n + a tooltip - A value in degrees. + First timestamp value. + type + number + + + + b + + tooltip + Second timestamp value. type number @@ -13542,28 +14789,19 @@ vector position - position in local coordinates sleep 0 tooltip - Converts n from degrees to radians. + Returns the difference in seconds between two timestamps. - math.random + os.time arguments - min - - tooltip - Minimum value of the range (optional). - type - number - - - - max + t tooltip - Maximum value of the range (optional). + Optional table with date/time fields; returns the corresponding Unix timestamp. type - number + table @@ -13574,86 +14812,45 @@ vector position - position in local coordinates sleep 0 tooltip - Returns a random number within the given range. + Returns the current Unix timestamp or the timestamp of the given date. - math.randomseed + + quaternion arguments - seed + x tooltip - Seed for the random number generator. + type number - - energy - 10 - return - void - sleep - 0 - tooltip - Sets the seed for the random number generator. - - math.sinh - - arguments - - n + y tooltip - A number to compute the hyperbolic sine of. + type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the hyperbolic sine of n. - - math.sin - - arguments - - n + z tooltip - An angle in radians. + type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the sine of n. - - math.sqrt - - arguments - - n + s tooltip - A number to compute the square root of. + type number @@ -13662,85 +14859,71 @@ vector position - position in local coordinates energy 10 return - number + quaternion sleep 0 tooltip - Returns the square root of n. + - math.tanh + quaternion.conjugate arguments - n + q tooltip - A number to compute the hyperbolic tangent of. + type - number + quaternion energy 10 return - number + quaternion sleep 0 tooltip - Returns the hyperbolic tangent of n. + Returns conjugate of quaternion - math.tan + quaternion.create arguments - n + x tooltip - An angle in radians. + type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the tangent of n. - - math.noise - - arguments - - x + y tooltip - X coordinate for the noise function. + type number - y + z tooltip - Y coordinate for the noise function (optional). + type number - z + s tooltip - Z coordinate for the noise function (optional). + type number @@ -13749,41 +14932,32 @@ vector position - position in local coordinates energy 10 return - number + quaternion sleep 0 tooltip - Returns Perlin noise value for the point (x, y, z). + Constructor - math.clamp + quaternion.dot arguments - n - - tooltip - The value to be clamped. - type - number - - - - min + a tooltip - Minimum allowable value. + type - number + quaternion - max + b tooltip - Maximum allowable value. + type - number + quaternion @@ -13794,19 +14968,19 @@ vector position - position in local coordinates sleep 0 tooltip - Returns n clamped between min and max. + Dot product of two quaternions - math.sign + quaternion.magnitude arguments - n + q tooltip - A number to get the sign of. + type - number + quaternion @@ -13817,70 +14991,58 @@ vector position - position in local coordinates sleep 0 tooltip - Returns -1 if n is negative, 1 if positive, and 0 if zero. + Returns magnitude of quaternion - math.round + quaternion.normalize arguments - n + q tooltip - A number to round to the nearest integer. + type - number + quaternion energy 10 return - number - sleep - 0 - tooltip - Rounds n to the nearest integer. - - - os - - energy - -1.0 - tooltip - os namespace. - - os.clock - - arguments - - energy - 10 - return - number + quaternion sleep 0 tooltip - Returns a high-precision timestamp in seconds for measuring durations. + Returns normalized quaternion - os.date + quaternion.slerp arguments - s + a tooltip - Optional format string for the date representation. + type - string + quaternion + + + + b + + tooltip + + type + quaternion t tooltip - Optional timestamp to format; defaults to the current time. + type number @@ -13889,66 +15051,80 @@ vector position - position in local coordinates energy 10 return - table|string + quaternion sleep 0 tooltip - Returns a table or string representation of the time based on the provided format. + Spherical linear interpolation - os.difftime + quaternion.tofwd arguments - a + q tooltip - First timestamp value. + type - number + quaternion + + energy + 10 + return + vector + sleep + 0 + tooltip + Returns forward vector from quaternion rotation + + quaternion.toleft + + arguments + - b + q tooltip - Second timestamp value. + type - number + quaternion energy 10 return - number + vector sleep 0 tooltip - Returns the difference in seconds between two timestamps. + Returns left vector from quaternion rotation - os.time + quaternion.toup arguments - t + q tooltip - Optional table with date/time fields; returns the corresponding Unix timestamp. + type - table + quaternion energy 10 return - number + vector sleep 0 tooltip - Returns the current Unix timestamp or the timestamp of the given date. + Returns up vector from quaternion rotation string @@ -14953,6 +16129,104 @@ vector position - position in local coordinates tooltip Creates a shallow copy of a table. + + utf8.offset + + arguments + + + s + + tooltip + + type + string + + + + n + + tooltip + + type + number + + + + i + + tooltip + + type + number? + + + + energy + 10 + return + number? + sleep + 0 + tooltip + Returns the byte position of the n-th character + + + uuid + + arguments + + + self + + tooltip + + type + any + + + + value + + tooltip + + type + string | buffer | uuid + + + + energy + 10 + return + uuid? + sleep + 0 + tooltip + Allows calling uuid() as a constructor + + uuid.create + + arguments + + + value + + tooltip + + type + string | buffer | uuid + + + + energy + 10 + return + uuid? + sleep + 0 + tooltip + Creates a new uuid from a string, buffer, or existing uuid. Returns nil if the string is not a valid UUID. Throws an error if the buffer is shorter than 16 bytes. + vector From 7480bf0db94c43189d8a567360c6aafaad6fc4d4 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 10:59:32 -0800 Subject: [PATCH 10/51] re-order the buffer functions alphabetically --- .../app_settings/keywords_lua_default.xml | 458 +++++++----------- 1 file changed, 179 insertions(+), 279 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index cd722edf8be..d69991222ca 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11757,116 +11757,74 @@ vector position - position in local coordinates tooltip buffer namespace. - buffer.create + buffer.copy arguments - size + target tooltip - Size of the buffer to create. + Target buffer to copy into. type - number + buffer - - energy - 10 - return - buffer - sleep - 0 - tooltip - Creates a buffer of the requested size with all bytes initialized to 0. - - buffer.fromstring - - arguments - - str + targetOffset tooltip - String to initialize the buffer with. + Offset in target buffer. type - string + number - - energy - 10 - return - buffer - sleep - 0 - tooltip - Creates a buffer initialized to the contents of the string. - - buffer.tostring - - arguments - - b + source tooltip - Buffer to convert to a string. + Source buffer to copy from. type buffer - - energy - 10 - return - string - sleep - 0 - tooltip - Returns the buffer data as a string. - - buffer.len - - arguments - - b + sourceOffset tooltip - Buffer to get the size of. + Offset in source buffer (optional). type - buffer + number + + + + count + + tooltip + Number of bytes to copy (optional). + type + number energy 10 return - number + void sleep 0 tooltip - Returns the size of the buffer in bytes. + Copies bytes from the source buffer into the target buffer. - buffer.readi8 + buffer.create arguments - b - - tooltip - Buffer to read from. - type - buffer - - - - offset + size tooltip - Byte offset to read from. + Size of the buffer to create. type number @@ -11875,13 +11833,13 @@ vector position - position in local coordinates energy 10 return - number + buffer sleep 0 tooltip - Reads a signed 8-bit integer from the buffer at the given offset. + Creates a buffer of the requested size with all bytes initialized to 0. - buffer.writei8 + buffer.fill arguments @@ -11889,7 +11847,7 @@ vector position - position in local coordinates b tooltip - Buffer to write to. + Buffer to fill. type buffer @@ -11898,7 +11856,7 @@ vector position - position in local coordinates offset tooltip - Byte offset to write at. + Byte offset to start filling. type number @@ -11907,7 +11865,16 @@ vector position - position in local coordinates value tooltip - Value to write. + Value to fill with. + type + number + + + + count + + tooltip + Number of bytes to fill (optional). type number @@ -11920,94 +11887,72 @@ vector position - position in local coordinates sleep 0 tooltip - Writes a signed 8-bit integer to the buffer at the given offset. + Fills the buffer with the specified value starting at the given offset. - buffer.readstring + buffer.fromstring arguments - b - - tooltip - Buffer to read from. - type - buffer - - - - offset - - tooltip - Byte offset to start reading. - type - number - - - - count + str tooltip - Number of bytes to read. + String to initialize the buffer with. type - number + string energy 10 return - string + buffer sleep 0 tooltip - Reads a string of the given length from the buffer at the specified offset. + Creates a buffer initialized to the contents of the string. - buffer.copy + buffer.len arguments - target + b tooltip - Target buffer to copy into. + Buffer to get the size of. type buffer + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the size of the buffer in bytes. + + buffer.readf32 + + arguments + - targetOffset - - tooltip - Offset in target buffer. - type - number - - - - source + b tooltip - Source buffer to copy from. + Buffer to read from. type buffer - sourceOffset - - tooltip - Offset in source buffer (optional). - type - number - - - - count + offset tooltip - Number of bytes to copy (optional). + Byte offset to read from. type number @@ -12016,13 +11961,13 @@ vector position - position in local coordinates energy 10 return - void + number sleep 0 tooltip - Copies bytes from the source buffer into the target buffer. + Reads a 32-bit floating-point number from the buffer at the given offset. - buffer.fill + buffer.readf64 arguments @@ -12030,7 +11975,7 @@ vector position - position in local coordinates b tooltip - Buffer to fill. + Buffer to read from. type buffer @@ -12039,25 +11984,7 @@ vector position - position in local coordinates offset tooltip - Byte offset to start filling. - type - number - - - - value - - tooltip - Value to fill with. - type - number - - - - count - - tooltip - Number of bytes to fill (optional). + Byte offset to read from. type number @@ -12066,13 +11993,13 @@ vector position - position in local coordinates energy 10 return - void + number sleep 0 tooltip - Fills the buffer with the specified value starting at the given offset. + Reads a 64-bit floating-point number from the buffer at the given offset. - buffer.readu8 + buffer.readi16 arguments @@ -12102,9 +12029,9 @@ vector position - position in local coordinates sleep 0 tooltip - Reads an unsigned 8-bit integer from the buffer at the given offset. + Reads a signed 16-bit integer from the buffer at the given offset. - buffer.writeu8 + buffer.readi32 arguments @@ -12112,7 +12039,7 @@ vector position - position in local coordinates b tooltip - Buffer to write to. + Buffer to read from. type buffer @@ -12121,16 +12048,7 @@ vector position - position in local coordinates offset tooltip - Byte offset to write at. - type - number - - - - value - - tooltip - Value to write. + Byte offset to read from. type number @@ -12139,13 +12057,13 @@ vector position - position in local coordinates energy 10 return - void + number sleep 0 tooltip - Writes an unsigned 8-bit integer to the buffer at the given offset. + Reads a signed 32-bit integer from the buffer at the given offset. - buffer.readi16 + buffer.readi8 arguments @@ -12175,9 +12093,9 @@ vector position - position in local coordinates sleep 0 tooltip - Reads a signed 16-bit integer from the buffer at the given offset. + Reads a signed 8-bit integer from the buffer at the given offset. - buffer.writei16 + buffer.readstring arguments @@ -12185,7 +12103,7 @@ vector position - position in local coordinates b tooltip - Buffer to write to. + Buffer to read from. type buffer @@ -12194,16 +12112,16 @@ vector position - position in local coordinates offset tooltip - Byte offset to write at. + Byte offset to start reading. type number - value + count tooltip - Value to write. + Number of bytes to read. type number @@ -12212,13 +12130,13 @@ vector position - position in local coordinates energy 10 return - void + string sleep 0 tooltip - Writes a signed 16-bit integer to the buffer at the given offset. + Reads a string of the given length from the buffer at the specified offset. - buffer.readf32 + buffer.readu16 arguments @@ -12248,9 +12166,9 @@ vector position - position in local coordinates sleep 0 tooltip - Reads a 32-bit floating-point number from the buffer at the given offset. + Reads an unsigned 16-bit integer from the buffer at the given offset. - buffer.writef32 + buffer.readu32 arguments @@ -12258,7 +12176,7 @@ vector position - position in local coordinates b tooltip - Buffer to write to. + Buffer to read from. type buffer @@ -12267,16 +12185,7 @@ vector position - position in local coordinates offset tooltip - Byte offset to write at. - type - number - - - - value - - tooltip - Value to write. + Byte offset to read from. type number @@ -12285,13 +12194,13 @@ vector position - position in local coordinates energy 10 return - void + number sleep 0 tooltip - Writes a 32-bit floating-point number to the buffer at the given offset. + Reads an unsigned 32-bit integer from the buffer at the given offset. - buffer.readf64 + buffer.readu8 arguments @@ -12321,9 +12230,9 @@ vector position - position in local coordinates sleep 0 tooltip - Reads a 64-bit floating-point number from the buffer at the given offset. + Reads an unsigned 8-bit integer from the buffer at the given offset. - buffer.writef64 + buffer.tostring arguments @@ -12331,40 +12240,22 @@ vector position - position in local coordinates b tooltip - Buffer to write to. + Buffer to convert to a string. type buffer - - offset - - tooltip - Byte offset to write at. - type - number - - - - value - - tooltip - Value to write. - type - number - - energy 10 return - void + string sleep 0 tooltip - Writes a 64-bit floating-point number to the buffer at the given offset. + Returns the buffer data as a string. - buffer.readu16 + buffer.writef32 arguments @@ -12372,7 +12263,7 @@ vector position - position in local coordinates b tooltip - Buffer to read from. + Buffer to write to. type buffer @@ -12381,7 +12272,16 @@ vector position - position in local coordinates offset tooltip - Byte offset to read from. + Byte offset to write at. + type + number + + + + value + + tooltip + Value to write. type number @@ -12390,13 +12290,13 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Reads an unsigned 16-bit integer from the buffer at the given offset. + Writes a 32-bit floating-point number to the buffer at the given offset. - buffer.writeu16 + buffer.writef64 arguments @@ -12435,9 +12335,9 @@ vector position - position in local coordinates sleep 0 tooltip - Writes an unsigned 16-bit integer to the buffer at the given offset. + Writes a 64-bit floating-point number to the buffer at the given offset. - buffer.readi32 + buffer.writei16 arguments @@ -12445,7 +12345,7 @@ vector position - position in local coordinates b tooltip - Buffer to read from. + Buffer to write to. type buffer @@ -12454,7 +12354,16 @@ vector position - position in local coordinates offset tooltip - Byte offset to read from. + Byte offset to write at. + type + number + + + + value + + tooltip + Value to write. type number @@ -12463,11 +12372,11 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Reads a signed 32-bit integer from the buffer at the given offset. + Writes a signed 16-bit integer to the buffer at the given offset. buffer.writei32 @@ -12510,7 +12419,7 @@ vector position - position in local coordinates tooltip Writes a signed 32-bit integer to the buffer at the given offset. - buffer.readu32 + buffer.writei8 arguments @@ -12518,7 +12427,7 @@ vector position - position in local coordinates b tooltip - Buffer to read from. + Buffer to write to. type buffer @@ -12527,7 +12436,16 @@ vector position - position in local coordinates offset tooltip - Byte offset to read from. + Byte offset to write at. + type + number + + + + value + + tooltip + Value to write. type number @@ -12536,13 +12454,13 @@ vector position - position in local coordinates energy 10 return - number + void sleep 0 tooltip - Reads an unsigned 32-bit integer from the buffer at the given offset. + Writes a signed 8-bit integer to the buffer at the given offset. - buffer.writeu32 + buffer.writestring arguments @@ -12568,7 +12486,16 @@ vector position - position in local coordinates value tooltip - Value to write. + String to write. + type + string + + + + count + + tooltip + Number of bytes to write (optional). type number @@ -12581,9 +12508,9 @@ vector position - position in local coordinates sleep 0 tooltip - Writes an unsigned 32-bit integer to the buffer at the given offset. + Writes data from a string into the buffer at the specified offset. - buffer.readstring + buffer.writeu16 arguments @@ -12591,7 +12518,7 @@ vector position - position in local coordinates b tooltip - Buffer to read from. + Buffer to write to. type buffer @@ -12600,16 +12527,16 @@ vector position - position in local coordinates offset tooltip - Byte offset to start reading. + Byte offset to write at. type number - count + value tooltip - Number of bytes to read. + Value to write. type number @@ -12618,13 +12545,13 @@ vector position - position in local coordinates energy 10 return - string + void sleep 0 tooltip - Reads a string of the given length from the buffer at the specified offset. + Writes an unsigned 16-bit integer to the buffer at the given offset. - buffer.writestring + buffer.writeu32 arguments @@ -12650,16 +12577,7 @@ vector position - position in local coordinates value tooltip - String to write. - type - string - - - - count - - tooltip - Number of bytes to write (optional). + Value to write. type number @@ -12672,53 +12590,35 @@ vector position - position in local coordinates sleep 0 tooltip - Writes data from a string into the buffer at the specified offset. + Writes an unsigned 32-bit integer to the buffer at the given offset. - buffer.copy + buffer.writeu8 arguments - target - - tooltip - Target buffer to copy into. - type - buffer - - - - targetOffset - - tooltip - Offset in target buffer. - type - number - - - - source + b tooltip - Source buffer to copy from. + Buffer to write to. type buffer - sourceOffset + offset tooltip - Offset in source buffer (optional). + Byte offset to write at. type number - count + value tooltip - Number of bytes to copy (optional). + Value to write. type number @@ -12731,7 +12631,7 @@ vector position - position in local coordinates sleep 0 tooltip - Copies bytes from the source buffer into the target buffer. + Writes an unsigned 8-bit integer to the buffer at the given offset. coroutine.close From 4066ecbe8a7bf65af96dc45723285c07e51f63ce Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 11:57:18 -0800 Subject: [PATCH 11/51] Added missing functions to bit32 --- .../app_settings/keywords_lua_default.xml | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index d69991222ca..a5c9996e08e 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11935,6 +11935,47 @@ vector position - position in local coordinates tooltip Returns the size of the buffer in bytes. + buffer.readbits + + arguments + + + b + + tooltip + Buffer to read from. + type + buffer + + + + bitOffset + + tooltip + Bit offset to read at. + type + number + + + + bitCount + + tooltip + Number of bits to read. Must be in [0, 32] range. + type + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Reads up to 32 bits from the buffer at the given offset. + buffer.readf32 arguments @@ -12255,6 +12296,56 @@ vector position - position in local coordinates tooltip Returns the buffer data as a string. + buffer.writebits + + arguments + + + b + + tooltip + Buffer to write to. + type + buffer + + + + bitOffset + + tooltip + Bit offset to write at. + type + number + + + + bitCount + + tooltip + Number of bits to write. Must be in [0, 32] range. + type + number + + + + value + + tooltip + Source of bits to write. + type + number + + + + energy + 10 + return + () + sleep + 0 + tooltip + Writes up to 32 bits to the buffer at the given offset. + buffer.writef32 arguments From f57712be813776724bd6e3c1ea0b20c58627e38e Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 12:01:07 -0800 Subject: [PATCH 12/51] fix the bit32 typings --- .../app_settings/keywords_lua_default.xml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index a5c9996e08e..40e2a216f0a 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11794,7 +11794,7 @@ vector position - position in local coordinates tooltip Offset in source buffer (optional). type - number + number? @@ -11803,14 +11803,14 @@ vector position - position in local coordinates tooltip Number of bytes to copy (optional). type - number + number? energy 10 return - void + () sleep 0 tooltip @@ -11876,14 +11876,14 @@ vector position - position in local coordinates tooltip Number of bytes to fill (optional). type - number + number? energy 10 return - void + () sleep 0 tooltip @@ -12381,7 +12381,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -12422,7 +12422,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -12463,7 +12463,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -12504,7 +12504,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -12545,7 +12545,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -12588,14 +12588,14 @@ vector position - position in local coordinates tooltip Number of bytes to write (optional). type - number + number? energy 10 return - void + () sleep 0 tooltip @@ -12636,7 +12636,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -12677,7 +12677,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -12718,7 +12718,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip From 087361a32202e30ffac722e51928001ca604ef89 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 14:20:45 -0800 Subject: [PATCH 13/51] sorted some misplaced functions, and the coroutine module --- .../app_settings/keywords_lua_default.xml | 794 ++++++------------ 1 file changed, 250 insertions(+), 544 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 40e2a216f0a..40c21c69108 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11314,24 +11314,31 @@ vector position - position in local coordinates Converts a value to a vector, returns nil if invalid + bit32 + + energy + -1.0 + tooltip + bit32 library functions. + bit32.arshift arguments - x + n tooltip - + Number to shift. type number - disp + i tooltip - + Number of bits to shift. type number @@ -11344,19 +11351,19 @@ vector position - position in local coordinates sleep 0 tooltip - Arithmetic right shift + Shifts n by i bits to the right. If i is negative, a left shift is performed. bit32.band arguments - ... + args tooltip - + Numbers to perform bitwise AND on. type - ...number + array @@ -11367,17 +11374,17 @@ vector position - position in local coordinates sleep 0 tooltip - Bitwise AND of all arguments + Performs a bitwise AND operation on input numbers. bit32.bnot arguments - x + n tooltip - + Number to negate. type number @@ -11390,7 +11397,7 @@ vector position - position in local coordinates sleep 0 tooltip - Bitwise NOT + Returns the bitwise negation of the input number. bit32.bor @@ -12725,6 +12732,13 @@ vector position - position in local coordinates Writes an unsigned 8-bit integer to the buffer at the given offset. + coroutine + + energy + -1.0 + tooltip + coroutine namespace. + coroutine.close arguments @@ -12733,7 +12747,7 @@ vector position - position in local coordinates co tooltip - + The coroutine to close. type thread @@ -12742,11 +12756,11 @@ vector position - position in local coordinates energy 10 return - (boolean, string?) + (boolean, any?) sleep 0 tooltip - Closes a coroutine, returns success and optional error message + Closes a coroutine, returning true if successful or false and an error. coroutine.create @@ -12756,9 +12770,9 @@ vector position - position in local coordinates f tooltip - + A function to be executed by the new coroutine. type - (...any) -> ...any + function @@ -12769,12 +12783,12 @@ vector position - position in local coordinates sleep 0 tooltip - Creates a new coroutine from a function + Returns a new coroutine that, when resumed, will run function f. coroutine.isyieldable arguments - + energy 10 return @@ -12782,7 +12796,7 @@ vector position - position in local coordinates sleep 0 tooltip - Returns true if the coroutine can yield + Returns true if the coroutine can yield. coroutine.resume @@ -12792,34 +12806,34 @@ vector position - position in local coordinates co tooltip - + The coroutine to resume. type thread - ... + args tooltip - + Arguments to pass to the coroutine. type - ...any + variadic energy 10 return - (boolean, ...any) + (boolean, variadic) sleep 0 tooltip - Resumes a coroutine, returns success and results + Resumes a coroutine, returning true and results if successful, or false and an error. coroutine.running arguments - + energy 10 return @@ -12827,7 +12841,7 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the running coroutine, or nil if called from main thread + Returns the currently running coroutine, or nil if running in the main coroutine. coroutine.status @@ -12837,7 +12851,7 @@ vector position - position in local coordinates co tooltip - + The coroutine to check status of. type thread @@ -12846,11 +12860,11 @@ vector position - position in local coordinates energy 10 return - "running" | "suspended" | "normal" | "dead" + string sleep 0 tooltip - Returns the status of a coroutine + Returns the status of the coroutine: "running", "suspended", "normal", or "dead". coroutine.wrap @@ -12860,43 +12874,43 @@ vector position - position in local coordinates f tooltip - + A function to execute in a coroutine. type - (...any) -> ...any + function energy 10 return - (...any) -> ...any + function sleep 0 tooltip - Creates a coroutine and returns a function that resumes it + Creates a coroutine and returns a function that resumes it. coroutine.yield arguments - ... + args tooltip - + Values to pass to the resuming code. type - ...any + variadic energy 10 return - ...any + variadic sleep 0 tooltip - Suspends the coroutine and returns values to resume + Yields the current coroutine, passing arguments to the resuming code. debug @@ -13071,607 +13085,164 @@ vector position - position in local coordinates tooltip Stack level number. type - number - - - - index - - tooltip - Index of the local variable. - type - number - - - - value - - tooltip - New value for the local variable. - type - any - - - - energy - 10 - return - boolean - sleep - 0 - tooltip - Sets the value of a local variable at the specified stack level. - - debug.getupvalue - - arguments - - - function - - tooltip - Function whose upvalues are being retrieved. - type - function - - - - index - - tooltip - Index of the upvalue. - type - number - - - - energy - 10 - return - string|any - sleep - 0 - tooltip - Returns the name and value of an upvalue for a given function. - - debug.setupvalue - - arguments - - - function - - tooltip - Function whose upvalues are being modified. - type - function - - - - index - - tooltip - Index of the upvalue. - type - number - - - - value - - tooltip - New value for the upvalue. - type - any - - - - energy - 10 - return - string - sleep - 0 - tooltip - Sets the value of an upvalue for a given function. - - debug.getmetatable - - arguments - - - value - - tooltip - Value whose metatable is retrieved. - type - any - - - - energy - 10 - return - table|nil - sleep - 0 - tooltip - Returns the metatable of the given value, if any. - - debug.setmetatable - - arguments - - - value - - tooltip - Value whose metatable is to be set. - type - any - - - - metatable - - tooltip - Table to be set as the new metatable. - type - table|nil - - - - energy - 10 - return - any - sleep - 0 - tooltip - Sets the metatable for a given value. - - - coroutine - - energy - -1.0 - tooltip - coroutine namespace. - - coroutine.create - - arguments - - - f - - tooltip - A function to be executed by the new coroutine. - type - function - - - - energy - 10 - return - thread - sleep - 0 - tooltip - Returns a new coroutine that, when resumed, will run function f. - - coroutine.running - - arguments - - energy - 10 - return - thread? - sleep - 0 - tooltip - Returns the currently running coroutine, or nil if running in the main coroutine. - - coroutine.status - - arguments - - - co - - tooltip - The coroutine to check status of. - type - thread - - - - energy - 10 - return - string - sleep - 0 - tooltip - Returns the status of the coroutine: "running", "suspended", "normal", or "dead". - - coroutine.wrap - - arguments - - - f - - tooltip - A function to execute in a coroutine. - type - function - - - - energy - 10 - return - function - sleep - 0 - tooltip - Creates a coroutine and returns a function that resumes it. - - coroutine.yield - - arguments - - - args - - tooltip - Values to pass to the resuming code. - type - variadic - - - - energy - 10 - return - variadic - sleep - 0 - tooltip - Yields the current coroutine, passing arguments to the resuming code. - - coroutine.isyieldable - - arguments - - energy - 10 - return - boolean - sleep - 0 - tooltip - Returns true if the coroutine can yield. - - coroutine.resume - - arguments - - - co - - tooltip - The coroutine to resume. - type - thread - - - - args - - tooltip - Arguments to pass to the coroutine. - type - variadic - - - - energy - 10 - return - (boolean, variadic) - sleep - 0 - tooltip - Resumes a coroutine, returning true and results if successful, or false and an error. - - coroutine.close - - arguments - - - co - - tooltip - The coroutine to close. - type - thread - - - - energy - 10 - return - (boolean, any?) - sleep - 0 - tooltip - Closes a coroutine, returning true if successful or false and an error. - - - bit32 - - energy - -1.0 - tooltip - bit32 library functions. - - bit32.arshift - - arguments - - - n - - tooltip - Number to shift. - type - number - - - - i - - tooltip - Number of bits to shift. - type - number - - - - energy - 10 - return - number - sleep - 0 - tooltip - Shifts n by i bits to the right. If i is negative, a left shift is performed. - - bit32.band - - arguments - - - args - - tooltip - Numbers to perform bitwise AND on. - type - array - - - - energy - 10 - return - number - sleep - 0 - tooltip - Performs a bitwise AND operation on input numbers. - - bit32.bnot - - arguments - - - n - - tooltip - Number to negate. - type - number - - - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the bitwise negation of the input number. - - utf8 - - energy - -1.0 - tooltip - UTF-8 library functions. - - utf8.offset - - arguments - - - s - - tooltip - Input string. - type - string + number - n + index tooltip - Character position. + Index of the local variable. type number - i + value tooltip - Starting position (optional). + New value for the local variable. type - number + any energy 10 return - number + boolean sleep 0 tooltip - Returns the byte offset of the nth Unicode codepoint in string s. + Sets the value of a local variable at the specified stack level. - utf8.char + debug.getupvalue arguments - args + function tooltip - Unicode codepoints. + Function whose upvalues are being retrieved. type - array + function + + + + index + + tooltip + Index of the upvalue. + type + number energy 10 return - string + string|any sleep 0 tooltip - Creates a string from Unicode codepoints. + Returns the name and value of an upvalue for a given function. - utf8.codepoint + debug.setupvalue arguments - s + function tooltip - Input string. + Function whose upvalues are being modified. type - string + function - i + index tooltip - Starting position (optional). + Index of the upvalue. type number - j + value tooltip - Ending position (optional). + New value for the upvalue. type - number + any energy 10 return - array + string sleep 0 tooltip - Returns the Unicode codepoints in the specified range of string s. + Sets the value of an upvalue for a given function. - utf8.len + debug.getmetatable arguments - s - - tooltip - Input string. - type - string - - - - i - - tooltip - Starting position (optional). - type - number - - - - j + value tooltip - Ending position (optional). + Value whose metatable is retrieved. type - number + any energy 10 return - number + table|nil sleep 0 tooltip - Returns the number of Unicode codepoints in the specified range of string s. + Returns the metatable of the given value, if any. - utf8.codes + debug.setmetatable arguments - s + value tooltip - Input string. + Value whose metatable is to be set. type - string + any + + + + metatable + + tooltip + Table to be set as the new metatable. + type + table|nil energy 10 return - iterator + any sleep 0 tooltip - Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. + Sets the metatable for a given value. llbase64.decode @@ -16121,6 +15692,13 @@ vector position - position in local coordinates Creates a shallow copy of a table. + utf8 + + energy + -1.0 + tooltip + UTF-8 library functions. + utf8.offset arguments @@ -16129,7 +15707,7 @@ vector position - position in local coordinates s tooltip - + Input string. type string @@ -16138,7 +15716,7 @@ vector position - position in local coordinates n tooltip - + Character position. type number @@ -16147,20 +15725,148 @@ vector position - position in local coordinates i tooltip - + Starting position (optional). type - number? + number energy 10 return - number? + number + sleep + 0 + tooltip + Returns the byte offset of the nth Unicode codepoint in string s. + + utf8.char + + arguments + + + args + + tooltip + Unicode codepoints. + type + array + + + + energy + 10 + return + string + sleep + 0 + tooltip + Creates a string from Unicode codepoints. + + utf8.codepoint + + arguments + + + s + + tooltip + Input string. + type + string + + + + i + + tooltip + Starting position (optional). + type + number + + + + j + + tooltip + Ending position (optional). + type + number + + + + energy + 10 + return + array + sleep + 0 + tooltip + Returns the Unicode codepoints in the specified range of string s. + + utf8.len + + arguments + + + s + + tooltip + Input string. + type + string + + + + i + + tooltip + Starting position (optional). + type + number + + + + j + + tooltip + Ending position (optional). + type + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the number of Unicode codepoints in the specified range of string s. + + utf8.codes + + arguments + + + s + + tooltip + Input string. + type + string + + + + energy + 10 + return + iterator sleep 0 tooltip - Returns the byte position of the n-th character + Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. uuid From 506980203865fa72951afa36ee46d0e8e68313f3 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 14:39:41 -0800 Subject: [PATCH 14/51] fix the coroutine typings --- .../app_settings/keywords_lua_default.xml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 40c21c69108..d281321fe70 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -12756,7 +12756,7 @@ vector position - position in local coordinates energy 10 return - (boolean, any?) + (boolean, string?) sleep 0 tooltip @@ -12772,7 +12772,7 @@ vector position - position in local coordinates tooltip A function to be executed by the new coroutine. type - function + (...any) -> ...any @@ -12788,7 +12788,7 @@ vector position - position in local coordinates coroutine.isyieldable arguments - + energy 10 return @@ -12796,7 +12796,7 @@ vector position - position in local coordinates sleep 0 tooltip - Returns true if the coroutine can yield. + Returns true if the currently running coroutine can yield. coroutine.resume @@ -12812,19 +12812,19 @@ vector position - position in local coordinates - args + ... tooltip Arguments to pass to the coroutine. type - variadic + ...any energy 10 return - (boolean, variadic) + (boolean, ...any) sleep 0 tooltip @@ -12833,7 +12833,7 @@ vector position - position in local coordinates coroutine.running arguments - + energy 10 return @@ -12841,7 +12841,7 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the currently running coroutine, or nil if running in the main coroutine. + Returns the currently running coroutine, or nil if called from in the main coroutine. coroutine.status @@ -12860,7 +12860,7 @@ vector position - position in local coordinates energy 10 return - string + "running" | "suspended" | "normal" | "dead" sleep 0 tooltip @@ -12876,14 +12876,14 @@ vector position - position in local coordinates tooltip A function to execute in a coroutine. type - function + (...any) -> ...any energy 10 return - function + (...any) -> ...any sleep 0 tooltip @@ -12894,19 +12894,19 @@ vector position - position in local coordinates arguments - args + ... tooltip Values to pass to the resuming code. type - variadic + ...any energy 10 return - variadic + ...any sleep 0 tooltip From 46f6cac2bc3d3ca56ce1c9e661f002576548e021 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 15:21:45 -0800 Subject: [PATCH 15/51] re-order the debkg functions alphabetically --- .../app_settings/keywords_lua_default.xml | 128 +++++++++--------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index d281321fe70..1d3569715af 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -12961,106 +12961,120 @@ vector position - position in local coordinates tooltip Returns information about a stack frame or function based on specified format. - debug.traceback + debug.getinfo arguments - co + thread tooltip - Optional thread reference for traceback. + Optional thread whose stack frame is being inspected. type thread - msg + function tooltip - Optional message prepended to the traceback. + Function reference or stack level number. type - string + function|number - level + what tooltip - Optional stack level to start traceback. + String specifying which fields to retrieve. type - number + string energy 10 return - string + table sleep 0 tooltip - Returns a human-readable call stack starting from the specified level. + Returns a table containing debug information about a function or stack frame. - debug.getinfo + debug.getlocal arguments - thread + level tooltip - Optional thread whose stack frame is being inspected. + Stack level number. type - thread + number - function + index tooltip - Function reference or stack level number. + Index of the local variable. type - function|number + number + + energy + 10 + return + string|any + sleep + 0 + tooltip + Returns the name and value of a local variable at the specified stack level. + + debug.getmetatable + + arguments + - what + value tooltip - String specifying which fields to retrieve. + Value whose metatable is retrieved. type - string + any energy 10 return - table + table|nil sleep 0 tooltip - Returns a table containing debug information about a function or stack frame. + Returns the metatable of the given value, if any. - debug.getlocal + debug.getupvalue arguments - level + function tooltip - Stack level number. + Function whose upvalues are being retrieved. type - number + function index tooltip - Index of the local variable. + Index of the upvalue. type number @@ -13073,7 +13087,7 @@ vector position - position in local coordinates sleep 0 tooltip - Returns the name and value of a local variable at the specified stack level. + Returns the name and value of an upvalue for a given function. debug.setlocal @@ -13116,37 +13130,37 @@ vector position - position in local coordinates tooltip Sets the value of a local variable at the specified stack level. - debug.getupvalue + debug.setmetatable arguments - function + value tooltip - Function whose upvalues are being retrieved. + Value whose metatable is to be set. type - function + any - index + metatable tooltip - Index of the upvalue. + Table to be set as the new metatable. type - number + table|nil energy 10 return - string|any + any sleep 0 tooltip - Returns the name and value of an upvalue for a given function. + Sets the metatable for a given value. debug.setupvalue @@ -13189,60 +13203,46 @@ vector position - position in local coordinates tooltip Sets the value of an upvalue for a given function. - debug.getmetatable + debug.traceback arguments - value + co tooltip - Value whose metatable is retrieved. + Optional thread reference for traceback. type - any + thread - - energy - 10 - return - table|nil - sleep - 0 - tooltip - Returns the metatable of the given value, if any. - - debug.setmetatable - - arguments - - value + msg tooltip - Value whose metatable is to be set. + Optional message prepended to the traceback. type - any + string - metatable + level tooltip - Table to be set as the new metatable. + Optional stack level to start traceback. type - table|nil + number energy 10 return - any + string sleep 0 tooltip - Sets the metatable for a given value. + Returns a human-readable call stack starting from the specified level. llbase64.decode From 398cdad4105b0eeb6cfee1a86f45cd32d682c7c4 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 15:23:49 -0800 Subject: [PATCH 16/51] re-order the debkg functions alphabetically --- .../app_settings/keywords_lua_default.xml | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 1d3569715af..b3745329300 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -12920,47 +12920,6 @@ vector position - position in local coordinates tooltip debug namespace. - debug.info - - arguments - - - co - - tooltip - Optional thread or function reference. - type - thread|function|number - - - - level - - tooltip - Stack level or function reference for inspection. - type - number - - - - s - - tooltip - String specifying requested information. - type - string - - - - energy - 10 - return - any - sleep - 0 - tooltip - Returns information about a stack frame or function based on specified format. - debug.getinfo arguments @@ -13089,6 +13048,47 @@ vector position - position in local coordinates tooltip Returns the name and value of an upvalue for a given function. + debug.info + + arguments + + + co + + tooltip + Optional thread or function reference. + type + thread|function|number + + + + level + + tooltip + Stack level or function reference for inspection. + type + number + + + + s + + tooltip + String specifying requested information. + type + string + + + + energy + 10 + return + any + sleep + 0 + tooltip + Returns information about a stack frame or function based on specified format. + debug.setlocal arguments From d7af82a53475dbe545a15ee35cacb9c6e9c7a224 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 16:00:50 -0800 Subject: [PATCH 17/51] fix the debug typings --- .../app_settings/keywords_lua_default.xml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index b3745329300..c88a282a20c 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -12939,7 +12939,7 @@ vector position - position in local coordinates tooltip Function reference or stack level number. type - function|number + ((...any) -> ...any) | number @@ -12955,7 +12955,7 @@ vector position - position in local coordinates energy 10 return - table + {[any]: any} sleep 0 tooltip @@ -12987,7 +12987,7 @@ vector position - position in local coordinates energy 10 return - string|any + string | any sleep 0 tooltip @@ -13010,7 +13010,7 @@ vector position - position in local coordinates energy 10 return - table|nil + {[any]: any}? sleep 0 tooltip @@ -13026,7 +13026,7 @@ vector position - position in local coordinates tooltip Function whose upvalues are being retrieved. type - function + (...any) -> ...any @@ -13042,7 +13042,7 @@ vector position - position in local coordinates energy 10 return - string|any + string | any sleep 0 tooltip @@ -13058,7 +13058,7 @@ vector position - position in local coordinates tooltip Optional thread or function reference. type - thread|function|number + thread | ((...any) -> ...any) | number @@ -13083,7 +13083,7 @@ vector position - position in local coordinates energy 10 return - any + ...any sleep 0 tooltip @@ -13149,7 +13149,7 @@ vector position - position in local coordinates tooltip Table to be set as the new metatable. type - table|nil + {[any]: any}? @@ -13172,7 +13172,7 @@ vector position - position in local coordinates tooltip Function whose upvalues are being modified. type - function + (...any) -> ...any @@ -13222,7 +13222,7 @@ vector position - position in local coordinates tooltip Optional message prepended to the traceback. type - string + string? @@ -13231,7 +13231,7 @@ vector position - position in local coordinates tooltip Optional stack level to start traceback. type - number + number? From ed336db7816ae83c2a6bebe413171a954b0a15f8 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 16:11:33 -0800 Subject: [PATCH 18/51] remove private debug functions --- .../app_settings/keywords_lua_default.xml | 242 ------------------ 1 file changed, 242 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index c88a282a20c..744f64154d3 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -12920,134 +12920,6 @@ vector position - position in local coordinates tooltip debug namespace. - debug.getinfo - - arguments - - - thread - - tooltip - Optional thread whose stack frame is being inspected. - type - thread - - - - function - - tooltip - Function reference or stack level number. - type - ((...any) -> ...any) | number - - - - what - - tooltip - String specifying which fields to retrieve. - type - string - - - - energy - 10 - return - {[any]: any} - sleep - 0 - tooltip - Returns a table containing debug information about a function or stack frame. - - debug.getlocal - - arguments - - - level - - tooltip - Stack level number. - type - number - - - - index - - tooltip - Index of the local variable. - type - number - - - - energy - 10 - return - string | any - sleep - 0 - tooltip - Returns the name and value of a local variable at the specified stack level. - - debug.getmetatable - - arguments - - - value - - tooltip - Value whose metatable is retrieved. - type - any - - - - energy - 10 - return - {[any]: any}? - sleep - 0 - tooltip - Returns the metatable of the given value, if any. - - debug.getupvalue - - arguments - - - function - - tooltip - Function whose upvalues are being retrieved. - type - (...any) -> ...any - - - - index - - tooltip - Index of the upvalue. - type - number - - - - energy - 10 - return - string | any - sleep - 0 - tooltip - Returns the name and value of an upvalue for a given function. - debug.info arguments @@ -13089,120 +12961,6 @@ vector position - position in local coordinates tooltip Returns information about a stack frame or function based on specified format. - debug.setlocal - - arguments - - - level - - tooltip - Stack level number. - type - number - - - - index - - tooltip - Index of the local variable. - type - number - - - - value - - tooltip - New value for the local variable. - type - any - - - - energy - 10 - return - boolean - sleep - 0 - tooltip - Sets the value of a local variable at the specified stack level. - - debug.setmetatable - - arguments - - - value - - tooltip - Value whose metatable is to be set. - type - any - - - - metatable - - tooltip - Table to be set as the new metatable. - type - {[any]: any}? - - - - energy - 10 - return - any - sleep - 0 - tooltip - Sets the metatable for a given value. - - debug.setupvalue - - arguments - - - function - - tooltip - Function whose upvalues are being modified. - type - (...any) -> ...any - - - - index - - tooltip - Index of the upvalue. - type - number - - - - value - - tooltip - New value for the upvalue. - type - any - - - - energy - 10 - return - string - sleep - 0 - tooltip - Sets the value of an upvalue for a given function. - debug.traceback arguments From 42057fb4e75917337188d6666880398171f90c49 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 16:40:04 -0800 Subject: [PATCH 19/51] improved bit32 comments --- .../app_settings/keywords_lua_default.xml | 54 ++++++++++--------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 744f64154d3..a538a06fcda 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11351,7 +11351,8 @@ vector position - position in local coordinates sleep 0 tooltip - Shifts n by i bits to the right. If i is negative, a left shift is performed. + Shifts n by i bits to the right. If i is negative, a left shift is performed. +Does an arithmetic shift: The most significant bit of n is propagated during the shift. bit32.band @@ -11407,7 +11408,7 @@ vector position - position in local coordinates ... tooltip - + Numbers to perform bitwise OR on. type ...number @@ -11420,7 +11421,7 @@ vector position - position in local coordinates sleep 0 tooltip - Bitwise OR of all arguments + Performs a bitwise OR operation on input numbers. bit32.btest @@ -11430,7 +11431,7 @@ vector position - position in local coordinates ... tooltip - + Numbers to perform bitwise AND on. type ...number @@ -11443,7 +11444,8 @@ vector position - position in local coordinates sleep 0 tooltip - Returns true if bitwise AND of all arguments is not zero + Performs a bitwise AND operation on input numbers. +Returns true if result is non-zero. bit32.bxor @@ -11453,7 +11455,7 @@ vector position - position in local coordinates ... tooltip - + Numbers to perform bitwise XOR on. type ...number @@ -11466,7 +11468,7 @@ vector position - position in local coordinates sleep 0 tooltip - Bitwise XOR of all arguments + Performs a bitwise XOR operation on input numbers. bit32.byteswap @@ -11583,19 +11585,19 @@ vector position - position in local coordinates arguments - x + n tooltip - + Number to rotate. type number - disp + i tooltip - + Number of bits to rotate. type number @@ -11608,26 +11610,26 @@ vector position - position in local coordinates sleep 0 tooltip - Left rotate + Rotates n by i bits to the left. If i is negative, a right rotate is performed. bit32.lshift arguments - x + n tooltip - + Number to shift. type number - disp + i tooltip - + Number of bits to shift. type number @@ -11640,7 +11642,7 @@ vector position - position in local coordinates sleep 0 tooltip - Left shift + Shifts n by i bits to the left. If i is negative, a right shift is performed. bit32.replace @@ -11697,19 +11699,19 @@ vector position - position in local coordinates arguments - x + n tooltip - + Number to rotate. type number - disp + i tooltip - + Number of bits to rotate. type number @@ -11722,26 +11724,26 @@ vector position - position in local coordinates sleep 0 tooltip - Right rotate + Rotates n by i bits to the right. If i is negative, a left rotate is performed. bit32.rshift arguments - x + n tooltip - + Number to shift. type number - disp + i tooltip - + Number of bits to shift. type number From ccafa736ab48ee6b68afc5bfe6d3805bda7ead19 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 16:41:09 -0800 Subject: [PATCH 20/51] fix the bit32 typings --- indra/newview/app_settings/keywords_lua_default.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index a538a06fcda..4db79b8db90 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11359,12 +11359,12 @@ Does an arithmetic shift: The most significant bit of n is propagated during the arguments - args + ... tooltip Numbers to perform bitwise AND on. type - array + ...number @@ -11756,7 +11756,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Right shift + Shifts n by i bits to the right. If i is negative, a left shift is performed. buffer From f6507e772916e8eeea5daffc15451770e83ceffc Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 16:57:02 -0800 Subject: [PATCH 21/51] re-order the math functions alphabetically --- .../app_settings/keywords_lua_default.xml | 246 +++++++++--------- 1 file changed, 123 insertions(+), 123 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 4db79b8db90..562f283a0d2 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -13230,6 +13230,29 @@ Returns true if result is non-zero. tooltip Returns the arc sine of n in radians. + math.atan + + arguments + + + n + + tooltip + A number. + type + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the arc tangent of n in radians. + math.atan2 arguments @@ -13262,7 +13285,7 @@ Returns true if result is non-zero. tooltip Returns the arc tangent of y/x in radians. - math.atan + math.ceil arguments @@ -13283,9 +13306,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the arc tangent of n in radians. + Rounds n upwards to the next integer boundary. - math.ceil + math.clamp arguments @@ -13293,7 +13316,25 @@ Returns true if result is non-zero. n tooltip - A number. + The value to be clamped. + type + number + + + + min + + tooltip + Minimum allowable value. + type + number + + + + max + + tooltip + Maximum allowable value. type number @@ -13306,9 +13347,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Rounds n upwards to the next integer boundary. + Returns n clamped between min and max. - math.cosh + math.cos arguments @@ -13316,7 +13357,7 @@ Returns true if result is non-zero. n tooltip - A number to compute the hyperbolic cosine of. + An angle in radians. type number @@ -13329,9 +13370,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the hyperbolic cosine of n. + Returns the cosine of n. - math.cos + math.cosh arguments @@ -13339,7 +13380,7 @@ Returns true if result is non-zero. n tooltip - An angle in radians. + A number to compute the hyperbolic cosine of. type number @@ -13352,7 +13393,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the cosine of n. + Returns the hyperbolic cosine of n. math.deg @@ -13551,7 +13592,7 @@ Returns true if result is non-zero. tooltip Linearly interpolates between a and b using factor t. - math.log10 + math.log arguments @@ -13559,7 +13600,16 @@ Returns true if result is non-zero. n tooltip - A number to compute base-10 logarithm. + A number to compute logarithm. + type + number + + + + base + + tooltip + Base of the logarithm (default is e). type number @@ -13572,9 +13622,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns base-10 logarithm of n. + Returns logarithm of n in the given base. - math.log + math.log10 arguments @@ -13582,16 +13632,7 @@ Returns true if result is non-zero. n tooltip - A number to compute logarithm. - type - number - - - - base - - tooltip - Base of the logarithm (default is e). + A number to compute base-10 logarithm. type number @@ -13604,7 +13645,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns logarithm of n in the given base. + Returns base-10 logarithm of n. math.max @@ -13675,7 +13716,7 @@ Returns true if result is non-zero. tooltip Returns the integer and fractional parts of n. - math.pow + math.noise arguments @@ -13683,7 +13724,7 @@ Returns true if result is non-zero. x tooltip - Base value. + X coordinate for the noise function. type number @@ -13692,30 +13733,16 @@ Returns true if result is non-zero. y tooltip - Exponent value. + Y coordinate for the noise function (optional). type number - - energy - 10 - return - number - sleep - 0 - tooltip - Returns x raised to the power of y. - - math.rad - - arguments - - n + z tooltip - A value in degrees. + Z coordinate for the noise function (optional). type number @@ -13728,26 +13755,26 @@ Returns true if result is non-zero. sleep 0 tooltip - Converts n from degrees to radians. + Returns Perlin noise value for the point (x, y, z). - math.random + math.pow arguments - min + x tooltip - Minimum value of the range (optional). + Base value. type number - max + y tooltip - Maximum value of the range (optional). + Exponent value. type number @@ -13760,17 +13787,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns a random number within the given range. + Returns x raised to the power of y. - math.randomseed + math.rad arguments - seed + n tooltip - Seed for the random number generator. + A value in degrees. type number @@ -13779,21 +13806,30 @@ Returns true if result is non-zero. energy 10 return - void + number sleep 0 tooltip - Sets the seed for the random number generator. + Converts n from degrees to radians. - math.sinh + math.random arguments - n + min tooltip - A number to compute the hyperbolic sine of. + Minimum value of the range (optional). + type + number + + + + max + + tooltip + Maximum value of the range (optional). type number @@ -13806,17 +13842,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the hyperbolic sine of n. + Returns a random number within the given range. - math.sin + math.randomseed arguments - n + seed tooltip - An angle in radians. + Seed for the random number generator. type number @@ -13825,13 +13861,13 @@ Returns true if result is non-zero. energy 10 return - number + void sleep 0 tooltip - Returns the sine of n. + Sets the seed for the random number generator. - math.sqrt + math.round arguments @@ -13839,7 +13875,7 @@ Returns true if result is non-zero. n tooltip - A number to compute the square root of. + A number to round to the nearest integer. type number @@ -13852,9 +13888,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the square root of n. + Rounds n to the nearest integer. - math.tanh + math.sign arguments @@ -13862,7 +13898,7 @@ Returns true if result is non-zero. n tooltip - A number to compute the hyperbolic tangent of. + A number to get the sign of. type number @@ -13875,9 +13911,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the hyperbolic tangent of n. + Returns -1 if n is negative, 1 if positive, and 0 if zero. - math.tan + math.sin arguments @@ -13898,35 +13934,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the tangent of n. + Returns the sine of n. - math.noise + math.sinh arguments - x - - tooltip - X coordinate for the noise function. - type - number - - - - y - - tooltip - Y coordinate for the noise function (optional). - type - number - - - - z + n tooltip - Z coordinate for the noise function (optional). + A number to compute the hyperbolic sine of. type number @@ -13939,9 +13957,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns Perlin noise value for the point (x, y, z). + Returns the hyperbolic sine of n. - math.clamp + math.sqrt arguments @@ -13949,25 +13967,7 @@ Returns true if result is non-zero. n tooltip - The value to be clamped. - type - number - - - - min - - tooltip - Minimum allowable value. - type - number - - - - max - - tooltip - Maximum allowable value. + A number to compute the square root of. type number @@ -13980,9 +13980,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns n clamped between min and max. + Returns the square root of n. - math.sign + math.tan arguments @@ -13990,7 +13990,7 @@ Returns true if result is non-zero. n tooltip - A number to get the sign of. + An angle in radians. type number @@ -14003,9 +14003,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns -1 if n is negative, 1 if positive, and 0 if zero. + Returns the tangent of n. - math.round + math.tanh arguments @@ -14013,7 +14013,7 @@ Returns true if result is non-zero. n tooltip - A number to round to the nearest integer. + A number to compute the hyperbolic tangent of. type number @@ -14026,7 +14026,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Rounds n to the nearest integer. + Returns the hyperbolic tangent of n. os From 4081e706f05db8a0cb27252f8e3d38ffa85df00e Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 21:23:30 -0800 Subject: [PATCH 22/51] improved math comments --- .../app_settings/keywords_lua_default.xml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 562f283a0d2..732ca4df111 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -13283,7 +13283,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the arc tangent of y/x in radians. + Returns the arc tangent of y/x in radians, using the signs to determine the quadrant. math.ceil @@ -13293,7 +13293,7 @@ Returns true if result is non-zero. n tooltip - A number. + A number to round up. type number @@ -13306,7 +13306,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Rounds n upwards to the next integer boundary. + Returns the smallest integer larger than or equal to n. math.clamp @@ -13370,7 +13370,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the cosine of n. + Returns the cosine of n (n is in radians). math.cosh @@ -13462,7 +13462,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Rounds n down to the previous integer. + Returns the largest integer smaller than or equal to n. math.fmod @@ -13517,7 +13517,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Splits n into a significand and exponent. + Returns m and e such that n = m * 2^e. math.ldexp @@ -13622,7 +13622,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns logarithm of n in the given base. + Returns the logarithm of n in the given base (default e). math.log10 @@ -13645,7 +13645,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns base-10 logarithm of n. + Returns the base-10 logarithm of n. math.max @@ -13733,7 +13733,7 @@ Returns true if result is non-zero. y tooltip - Y coordinate for the noise function (optional). + Y coordinate for the noise function (default is 0). type number @@ -13742,7 +13742,7 @@ Returns true if result is non-zero. z tooltip - Z coordinate for the noise function (optional). + Z coordinate for the noise function (default is 0). type number @@ -13762,7 +13762,7 @@ Returns true if result is non-zero. arguments - x + base tooltip Base value. @@ -13771,7 +13771,7 @@ Returns true if result is non-zero. - y + exponent tooltip Exponent value. @@ -13787,7 +13787,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns x raised to the power of y. + Returns base to the power of exponent. math.rad @@ -13934,7 +13934,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the sine of n. + Returns the sine of n (n is in radians). math.sinh @@ -14003,7 +14003,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the tangent of n. + Returns the tangent of n (n is in radians). math.tanh From ccfe7ef490e0f0ed916542d70a4f17f7b7744953 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 21:25:10 -0800 Subject: [PATCH 23/51] fix the math typings --- .../app_settings/keywords_lua_default.xml | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 732ca4df111..971d03d7e9f 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -13513,7 +13513,7 @@ Returns true if result is non-zero. energy 10 return - array + (number, number) sleep 0 tooltip @@ -13611,7 +13611,7 @@ Returns true if result is non-zero. tooltip Base of the logarithm (default is e). type - number + number? @@ -13652,12 +13652,21 @@ Returns true if result is non-zero. arguments - list + n + + tooltip + A number. + type + number + + + + ... tooltip A list of numbers to find the maximum from. type - array + ...number @@ -13675,12 +13684,21 @@ Returns true if result is non-zero. arguments - list + n + + tooltip + A number. + type + number + + + + ... tooltip A list of numbers to find the minimum from. type - array + ...number @@ -13710,7 +13728,7 @@ Returns true if result is non-zero. energy 10 return - array + (number, number) sleep 0 tooltip @@ -13735,7 +13753,7 @@ Returns true if result is non-zero. tooltip Y coordinate for the noise function (default is 0). type - number + number? @@ -13744,7 +13762,7 @@ Returns true if result is non-zero. tooltip Z coordinate for the noise function (default is 0). type - number + number? From c8c9302736c10559c27bfd3057725d78c960ec4c Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 21:26:57 -0800 Subject: [PATCH 24/51] Added missing functions to math --- .../app_settings/keywords_lua_default.xml | 134 +++++++++++++++++- 1 file changed, 131 insertions(+), 3 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 971d03d7e9f..edef290238c 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -13519,6 +13519,75 @@ Returns true if result is non-zero. tooltip Returns m and e such that n = m * 2^e. + math.isfinite + + arguments + + + n + + tooltip + A number. + type + number + + + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if n is finite. + + math.isinf + + arguments + + + n + + tooltip + A number. + type + number + + + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if n is infinite. + + math.isnan + + arguments + + + n + + tooltip + A number. + type + number + + + + energy + 10 + return + boolean + sleep + 0 + tooltip + Returns true if n is NaN. + math.ldexp arguments @@ -13647,6 +13716,65 @@ Returns true if result is non-zero. tooltip Returns the base-10 logarithm of n. + math.map + + arguments + + + n + + tooltip + A number. + type + number + + + + inMin + + tooltip + A number. + type + number + + + + inMax + + tooltip + A number. + type + number + + + + outMin + + tooltip + A number. + type + number + + + + outMax + + tooltip + A number. + type + number + + + + energy + 10 + return + number + sleep + 0 + tooltip + Maps n from input range to output range. + math.max arguments @@ -13840,7 +13968,7 @@ Returns true if result is non-zero. tooltip Minimum value of the range (optional). type - number + number? @@ -13849,7 +13977,7 @@ Returns true if result is non-zero. tooltip Maximum value of the range (optional). type - number + number? @@ -13879,7 +14007,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip From bf9958dfe7b25f47173195e0eb9d326d6f0fa6f7 Mon Sep 17 00:00:00 2001 From: tapple Date: Tue, 20 Jan 2026 21:46:12 -0800 Subject: [PATCH 25/51] fix the math typings --- .../newview/app_settings/keywords_lua_default.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index edef290238c..d6c1dd135a2 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -14185,7 +14185,7 @@ Returns true if result is non-zero. os.clock arguments - + energy 10 return @@ -14205,7 +14205,7 @@ Returns true if result is non-zero. tooltip Optional format string for the date representation. type - string + string? @@ -14214,14 +14214,14 @@ Returns true if result is non-zero. tooltip Optional timestamp to format; defaults to the current time. type - number + number? energy 10 return - table|string + (string | OsDateTime)? sleep 0 tooltip @@ -14246,7 +14246,7 @@ Returns true if result is non-zero. tooltip Second timestamp value. type - number + number? @@ -14269,14 +14269,14 @@ Returns true if result is non-zero. tooltip Optional table with date/time fields; returns the corresponding Unix timestamp. type - table + OsDateTime? energy 10 return - number + number? sleep 0 tooltip From 75bbde642ff3a521f55e7f109ad3cc8522a85ec4 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 05:01:59 -0800 Subject: [PATCH 26/51] re-order the string functions alphabetically --- .../app_settings/keywords_lua_default.xml | 144 +++++++++--------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index d6c1dd135a2..2e40da70a47 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -14748,7 +14748,7 @@ Returns true if result is non-zero. tooltip Formats input values into a string using printf-style format specifiers. - string.len + string.gsub arguments @@ -14761,17 +14761,44 @@ Returns true if result is non-zero. string + + p + + tooltip + Pattern to replace. + type + string + + + + f + + tooltip + Replacement string, function, or table. + type + function | table | string + + + + maxs + + tooltip + Maximum replacements (optional). + type + number + + energy 10 return - number + string, number sleep 0 tooltip - Returns the number of bytes in the string. + Performs pattern-based substitution in a string. - string.lower + string.len arguments @@ -14788,13 +14815,13 @@ Returns true if result is non-zero. energy 10 return - string + number sleep 0 tooltip - Returns a lowercase version of the input string. + Returns the number of bytes in the string. - string.upper + string.lower arguments @@ -14815,7 +14842,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns an uppercase version of the input string. + Returns a lowercase version of the input string. string.match @@ -14858,26 +14885,26 @@ Returns true if result is non-zero. tooltip Finds and returns matches for a pattern in the input string. - string.rep + string.pack arguments - s + f tooltip - Input string. + Pack format string. type string - n + args tooltip - Number of times to repeat the string. + Values to encode. type - number + any... @@ -14888,9 +14915,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the input string repeated a given number of times. + Packs values into a binary string. - string.reverse + string.rep arguments @@ -14903,6 +14930,15 @@ Returns true if result is non-zero. string + + n + + tooltip + Number of times to repeat the string. + type + number + + energy 10 @@ -14911,9 +14947,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the input string with bytes in reverse order. + Returns the input string repeated a given number of times. - string.sub + string.reverse arguments @@ -14926,24 +14962,6 @@ Returns true if result is non-zero. string - - f - - tooltip - Start index. - type - number - - - - t - - tooltip - End index (optional). - type - number - - energy 10 @@ -14952,9 +14970,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns a substring from the given range. + Returns the input string with bytes in reverse order. - string.gsub + string.sub arguments @@ -14967,29 +14985,20 @@ Returns true if result is non-zero. string - - p - - tooltip - Pattern to replace. - type - string - - f tooltip - Replacement string, function, or table. + Start index. type - function | table | string + number - maxs + t tooltip - Maximum replacements (optional). + End index (optional). type number @@ -14998,13 +15007,13 @@ Returns true if result is non-zero. energy 10 return - string, number + string sleep 0 tooltip - Performs pattern-based substitution in a string. + Returns a substring from the given range. - string.pack + string.unpack arguments @@ -15018,42 +15027,33 @@ Returns true if result is non-zero. - args + s tooltip - Values to encode. + Encoded string. type - any... + string energy 10 return - string + any... sleep 0 tooltip - Packs values into a binary string. + Decodes a binary string using a pack format. - string.unpack + string.upper arguments - - f - - tooltip - Pack format string. - type - string - - s tooltip - Encoded string. + Input string. type string @@ -15062,11 +15062,11 @@ Returns true if result is non-zero. energy 10 return - any... + string sleep 0 tooltip - Decodes a binary string using a pack format. + Returns an uppercase version of the input string. table From 8e16309defe221be9b43977f99aa9a12d4ea7aa4 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 05:51:42 -0800 Subject: [PATCH 27/51] improved string comments --- .../app_settings/keywords_lua_default.xml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 2e40da70a47..fabfd829f0b 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -14616,7 +14616,7 @@ Returns true if result is non-zero. - f + i tooltip Starting index (optional). @@ -14625,7 +14625,7 @@ Returns true if result is non-zero. - t + j tooltip Ending index (optional). @@ -14680,7 +14680,7 @@ Returns true if result is non-zero. - p + pattern tooltip Pattern to search for. @@ -14692,7 +14692,7 @@ Returns true if result is non-zero. init tooltip - Starting position (optional). + Starting index (optional). type number @@ -14714,14 +14714,14 @@ Returns true if result is non-zero. sleep 0 tooltip - Finds an instance of the pattern in the string. + Finds the first instance of the pattern in the string. string.format arguments - s + formatstring tooltip Format string. @@ -14762,7 +14762,7 @@ Returns true if result is non-zero. - p + pattern tooltip Pattern to replace. @@ -14771,7 +14771,7 @@ Returns true if result is non-zero. - f + repl tooltip Replacement string, function, or table. @@ -14780,7 +14780,7 @@ Returns true if result is non-zero. - maxs + maxn tooltip Maximum replacements (optional). @@ -14819,7 +14819,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the number of bytes in the string. + Returns the number of bytes in the string. Identical to #s string.lower @@ -14858,7 +14858,7 @@ Returns true if result is non-zero. - p + pattern tooltip Pattern to match. @@ -14870,7 +14870,7 @@ Returns true if result is non-zero. init tooltip - Starting position (optional). + Starting index (optional). type number @@ -14890,7 +14890,7 @@ Returns true if result is non-zero. arguments - f + fmt tooltip Pack format string. @@ -14986,19 +14986,19 @@ Returns true if result is non-zero. - f + i tooltip - Start index. + Starting index. type number - t + j tooltip - End index (optional). + Ending index (optional). type number @@ -15018,7 +15018,7 @@ Returns true if result is non-zero. arguments - f + fmt tooltip Pack format string. From aab4f1ae35c3cf3e0e71ebaa150cc5e43a0ab1ef Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 05:53:16 -0800 Subject: [PATCH 28/51] Added missing functions to string --- .../app_settings/keywords_lua_default.xml | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index fabfd829f0b..c994661dc8a 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -14748,6 +14748,38 @@ Returns true if result is non-zero. tooltip Formats input values into a string using printf-style format specifiers. + string.gmatch + + arguments + + + s + + tooltip + Input string. + type + string + + + + pattern + + tooltip + Pattern to search for. + type + string + + + + energy + 10 + return + () -> ...string + sleep + 0 + tooltip + Returns an iterator function for pattern matches + string.gsub arguments @@ -14917,6 +14949,29 @@ Returns true if result is non-zero. tooltip Packs values into a binary string. + string.packsize + + arguments + + + fmt + + tooltip + Pack format string. + type + string + + + + energy + 10 + return + number + sleep + 0 + tooltip + Returns the size of a packed string for the given format. + string.rep arguments @@ -14972,6 +15027,38 @@ Returns true if result is non-zero. tooltip Returns the input string with bytes in reverse order. + string.split + + arguments + + + s + + tooltip + Input string. + type + string + + + + separator + + tooltip + Seperator to split on. Default is "," + type + string? + + + + energy + 10 + return + {string} + sleep + 0 + tooltip + Splits a string by separator. Returns a list of substrings. + string.sub arguments From 13cfdac221b847d3db968d159380006153ba17f9 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 05:55:11 -0800 Subject: [PATCH 29/51] fix the string typings --- .../app_settings/keywords_lua_default.xml | 47 +++++++++++-------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index c994661dc8a..ca0d6c53fbf 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -14621,7 +14621,7 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - number + number? @@ -14630,14 +14630,14 @@ Returns true if result is non-zero. tooltip Ending index (optional). type - number + number? energy 10 return - number... + ...number sleep 0 tooltip @@ -14648,12 +14648,12 @@ Returns true if result is non-zero. arguments - args + ... tooltip Byte values to convert to string. type - number... + ...number @@ -14694,7 +14694,7 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - number + number? @@ -14703,14 +14703,14 @@ Returns true if result is non-zero. tooltip Perform raw search (optional). type - boolean + boolean? energy 10 return - number?, number?, string... + (number?, number?, ...string) sleep 0 tooltip @@ -14730,12 +14730,12 @@ Returns true if result is non-zero. - args + ... tooltip Values to format. type - any... + ...any @@ -14808,7 +14808,7 @@ Returns true if result is non-zero. tooltip Replacement string, function, or table. type - function | table | string + string | { [string]: string } | (...string) -> string @@ -14817,14 +14817,14 @@ Returns true if result is non-zero. tooltip Maximum replacements (optional). type - number + number? energy 10 return - string, number + (string, number) sleep 0 tooltip @@ -14904,14 +14904,14 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - number + number? energy 10 return - string... + ...string sleep 0 tooltip @@ -14931,12 +14931,12 @@ Returns true if result is non-zero. - args + ... tooltip Values to encode. type - any... + ...any @@ -15087,7 +15087,7 @@ Returns true if result is non-zero. tooltip Ending index (optional). type - number + number? @@ -15122,11 +15122,20 @@ Returns true if result is non-zero. string + + init + + tooltip + Starting index (optional). + type + number? + + energy 10 return - any... + ...any sleep 0 tooltip From a131a7fe532c8d32cf316313969d3b89e703b699 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:01:03 -0800 Subject: [PATCH 30/51] re-order the table functions alphabetically --- .../app_settings/keywords_lua_default.xml | 312 +++++++++--------- 1 file changed, 156 insertions(+), 156 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index ca0d6c53fbf..8b4abf08753 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15172,6 +15172,52 @@ Returns true if result is non-zero. tooltip table namespace. + table.clear + + arguments + + + t + + tooltip + Table to clear. + type + table + + + + energy + 10 + return + void + sleep + 0 + tooltip + Clears all elements from a table while keeping its capacity. + + table.clone + + arguments + + + t + + tooltip + Table to clone. + type + table + + + + energy + 10 + return + table + sleep + 0 + tooltip + Creates a shallow copy of a table. + table.concat arguments @@ -15222,39 +15268,39 @@ Returns true if result is non-zero. tooltip Concatenates elements of an array with an optional separator. - table.foreach + table.create arguments - t + n tooltip - Table to iterate over. + Number of elements. type - table + integer - f + v tooltip - Function applied to each key-value pair. + Value to prefill elements with. type - function + various energy 10 return - various + table sleep 0 tooltip - Iterates over all key-value pairs in a table. + Creates a table with preallocated elements. - table.getn + table.find arguments @@ -15262,11 +15308,29 @@ Returns true if result is non-zero. t tooltip - Table whose length is determined. + Table to search in. type table + + v + + tooltip + Value to find. + type + various + + + + init + + tooltip + Starting index for search. + type + integer + + energy 10 @@ -15275,9 +15339,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the number of elements in a table. + Finds the first occurrence of a value in a table and returns its index. - table.maxn + table.foreach arguments @@ -15285,22 +15349,31 @@ Returns true if result is non-zero. t tooltip - Table to search for the maximum numeric key. + Table to iterate over. type table + + f + + tooltip + Function applied to each key-value pair. + type + function + + energy 10 return - integer + various sleep 0 tooltip - Returns the highest numeric key in a table. + Iterates over all key-value pairs in a table. - table.insert + table.freeze arguments @@ -15308,40 +15381,22 @@ Returns true if result is non-zero. t tooltip - Table to insert into. + Table to freeze. type table - - i - - tooltip - Position to insert at. - type - integer - - - - v - - tooltip - Value to insert. - type - various - - energy 10 return - void + table sleep 0 tooltip - Inserts a value at a specific index in a table. + Freezes a table, preventing modifications. - table.remove + table.getn arguments @@ -15349,31 +15404,22 @@ Returns true if result is non-zero. t tooltip - Table to remove from. + Table whose length is determined. type table - - i - - tooltip - Position to remove. - type - integer - - energy 10 return - various + integer sleep 0 tooltip - Removes an element from a table at a given index. + Returns the number of elements in a table. - table.sort + table.insert arguments @@ -15381,18 +15427,27 @@ Returns true if result is non-zero. t tooltip - Table to be sorted. + Table to insert into. type table - f + i tooltip - Comparison function. + Position to insert at. type - function + integer + + + + v + + tooltip + Value to insert. + type + various @@ -15403,71 +15458,53 @@ Returns true if result is non-zero. sleep 0 tooltip - Sorts a table in ascending order. + Inserts a value at a specific index in a table. - table.pack + table.isfrozen arguments - args + t tooltip - Variable arguments. + Table to check. type - varargs + table energy 10 return - table + boolean sleep 0 tooltip - Packs multiple arguments into a table. + Returns true if a table is frozen. - table.unpack + table.maxn arguments - - a - - tooltip - Table to unpack. - type - table - - - - f - - tooltip - Starting index. - type - integer - - t tooltip - Ending index. + Table to search for the maximum numeric key. type - integer + table energy 10 return - varargs + integer sleep 0 tooltip - Returns unpacked values from a table within a specified range. + Returns the highest numeric key in a table. table.move @@ -15528,26 +15565,17 @@ Returns true if result is non-zero. tooltip Moves elements from one table to another or within the same table. - table.create + table.pack arguments - n - - tooltip - Number of elements. - type - integer - - - - v + args tooltip - Value to prefill elements with. + Variable arguments. type - various + varargs @@ -15558,9 +15586,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Creates a table with preallocated elements. + Packs multiple arguments into a table. - table.find + table.remove arguments @@ -15568,25 +15596,16 @@ Returns true if result is non-zero. t tooltip - Table to search in. + Table to remove from. type table - v - - tooltip - Value to find. - type - various - - - - init + i tooltip - Starting index for search. + Position to remove. type integer @@ -15595,13 +15614,13 @@ Returns true if result is non-zero. energy 10 return - integer + various sleep 0 tooltip - Finds the first occurrence of a value in a table and returns its index. + Removes an element from a table at a given index. - table.clear + table.sort arguments @@ -15609,11 +15628,20 @@ Returns true if result is non-zero. t tooltip - Table to clear. + Table to be sorted. type table + + f + + tooltip + Comparison function. + type + function + + energy 10 @@ -15622,76 +15650,48 @@ Returns true if result is non-zero. sleep 0 tooltip - Clears all elements from a table while keeping its capacity. + Sorts a table in ascending order. - table.freeze + table.unpack arguments - t + a tooltip - Table to freeze. + Table to unpack. type table - - energy - 10 - return - table - sleep - 0 - tooltip - Freezes a table, preventing modifications. - - table.isfrozen - - arguments - - t + f tooltip - Table to check. + Starting index. type - table + integer - - energy - 10 - return - boolean - sleep - 0 - tooltip - Returns true if a table is frozen. - - table.clone - - arguments - t tooltip - Table to clone. + Ending index. type - table + integer energy 10 return - table + varargs sleep 0 tooltip - Creates a shallow copy of a table. + Returns unpacked values from a table within a specified range. utf8 From 3e21690b5f1506cb1ff0cf70f0f22ff150560c89 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:07:44 -0800 Subject: [PATCH 31/51] improved table comments --- .../app_settings/keywords_lua_default.xml | 96 +++++++++---------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 8b4abf08753..7b7d0864234 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15044,7 +15044,7 @@ Returns true if result is non-zero. separator tooltip - Seperator to split on. Default is "," + Separator to split on. Default is "," type string? @@ -15216,7 +15216,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Creates a shallow copy of a table. + Creates a shallow copy of the table. table.concat @@ -15235,25 +15235,25 @@ Returns true if result is non-zero. sep tooltip - Separator string. + Separator string (optional). type string - f + i tooltip - Starting index. + Starting index (optional). type integer - t + j tooltip - Ending index. + Ending index (optional). type integer @@ -15266,7 +15266,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Concatenates elements of an array with an optional separator. + Joins an array of strings into one string, with an optional separator. table.create @@ -15276,7 +15276,7 @@ Returns true if result is non-zero. n tooltip - Number of elements. + Number of elements to allocate. type integer @@ -15285,7 +15285,7 @@ Returns true if result is non-zero. v tooltip - Value to prefill elements with. + Value to prefill elements with (optional). type various @@ -15298,7 +15298,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Creates a table with preallocated elements. + Creates a new table with pre-allocated array capacity, optionally filled. table.find @@ -15317,16 +15317,16 @@ Returns true if result is non-zero. v tooltip - Value to find. + Value to search for. type various - init + i tooltip - Starting index for search. + Starting index (optional). type integer @@ -15339,7 +15339,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Finds the first occurrence of a value in a table and returns its index. + Finds the first occurrence of a value in the array and returns its index. table.foreach @@ -15371,7 +15371,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Iterates over all key-value pairs in a table. + Iterates over all key-value pairs in the table (deprecated). table.freeze @@ -15394,17 +15394,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Freezes a table, preventing modifications. + Freezes a table, making it read-only. table.getn arguments - t + a tooltip - Table whose length is determined. + Array to check. type table @@ -15417,17 +15417,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the number of elements in a table. + Returns the length of an array (deprecated; use # instead). table.insert arguments - t + a tooltip - Table to insert into. + Array to insert into. type table @@ -15436,7 +15436,7 @@ Returns true if result is non-zero. i tooltip - Position to insert at. + Index to insert at (default: at the end). type integer @@ -15458,7 +15458,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Inserts a value at a specific index in a table. + Inserts an element at the specified index, or at the end of the array. table.isfrozen @@ -15491,7 +15491,7 @@ Returns true if result is non-zero. t tooltip - Table to search for the maximum numeric key. + Table to check. type table @@ -15504,23 +15504,23 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the highest numeric key in a table. + Returns the highest numeric key in the table. table.move arguments - a + src tooltip - Source table. + Source array. type table - f + i tooltip Starting index. @@ -15529,7 +15529,7 @@ Returns true if result is non-zero. - t + j tooltip Ending index. @@ -15547,10 +15547,10 @@ Returns true if result is non-zero. - tt + dest tooltip - Optional target table. + Destination array (optional). type table @@ -15563,7 +15563,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Moves elements from one table to another or within the same table. + Inserts elements [i..j] from src array into dest array at [d]. table.pack @@ -15573,7 +15573,7 @@ Returns true if result is non-zero. args tooltip - Variable arguments. + Array elements. type varargs @@ -15586,17 +15586,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Packs multiple arguments into a table. + Packs multiple arguments into a new array with length field n. table.remove arguments - t + a tooltip - Table to remove from. + Array to remove from. type table @@ -15605,7 +15605,7 @@ Returns true if result is non-zero. i tooltip - Position to remove. + Index to remove (default: the last one). type integer @@ -15618,17 +15618,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Removes an element from a table at a given index. + Removes and returns the element at the specified index from the array, or from the end of the array. table.sort arguments - t + a tooltip - Table to be sorted. + Array to be sorted. type table @@ -15650,7 +15650,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Sorts a table in ascending order. + Sorts an array in place. table.unpack @@ -15660,25 +15660,25 @@ Returns true if result is non-zero. a tooltip - Table to unpack. + Array to unpack. type table - f + i tooltip - Starting index. + Starting index (optional). type integer - t + j tooltip - Ending index. + Ending index (optional). type integer @@ -15691,7 +15691,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns unpacked values from a table within a specified range. + Unpacks array elements into multiple return values. utf8 From 5b6c2ed5f69404d76de1126c7118d7b484dfb8a5 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:09:17 -0800 Subject: [PATCH 32/51] Added missing functions to table --- .../app_settings/keywords_lua_default.xml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 7b7d0864234..34886544314 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15373,6 +15373,43 @@ Returns true if result is non-zero. tooltip Iterates over all key-value pairs in the table (deprecated). + table.foreachi + + type-arguments + + V + R + + arguments + + + a + + tooltip + Array to iterate over. + type + {V} + + + + f + + tooltip + Function applied to each index-value pair. + type + (index: number, value: V) -> R? + + + + energy + 10 + return + R? + sleep + 0 + tooltip + Iterates over all index-value pairs in the array (deprecated). + table.freeze arguments From 4a06e650e97977ed368d7b3d53722f805ca6b1f2 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:14:56 -0800 Subject: [PATCH 33/51] fix the table typings --- .../app_settings/keywords_lua_default.xml | 144 ++++++++++++------ 1 file changed, 96 insertions(+), 48 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 34886544314..8914a3d9266 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15182,14 +15182,14 @@ Returns true if result is non-zero. tooltip Table to clear. type - table + {[any]: any} energy 10 return - void + () sleep 0 tooltip @@ -15197,6 +15197,11 @@ Returns true if result is non-zero. table.clone + type-arguments + + K + V + arguments @@ -15205,14 +15210,14 @@ Returns true if result is non-zero. tooltip Table to clone. type - table + {[K]: V} energy 10 return - table + {[K]: V} sleep 0 tooltip @@ -15228,7 +15233,7 @@ Returns true if result is non-zero. tooltip Array of strings. type - array + {string | number} @@ -15237,7 +15242,7 @@ Returns true if result is non-zero. tooltip Separator string (optional). type - string + string? @@ -15246,7 +15251,7 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - integer + number? @@ -15255,7 +15260,7 @@ Returns true if result is non-zero. tooltip Ending index (optional). type - integer + number? @@ -15270,6 +15275,10 @@ Returns true if result is non-zero. table.create + type-arguments + + V + arguments @@ -15278,7 +15287,7 @@ Returns true if result is non-zero. tooltip Number of elements to allocate. type - integer + number @@ -15287,14 +15296,14 @@ Returns true if result is non-zero. tooltip Value to prefill elements with (optional). type - various + V? energy 10 return - table + {V} sleep 0 tooltip @@ -15302,6 +15311,10 @@ Returns true if result is non-zero. table.find + type-arguments + + V + arguments @@ -15310,7 +15323,7 @@ Returns true if result is non-zero. tooltip Table to search in. type - table + {V} @@ -15319,7 +15332,7 @@ Returns true if result is non-zero. tooltip Value to search for. type - various + V @@ -15328,14 +15341,14 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - integer + number? energy 10 return - integer + number? sleep 0 tooltip @@ -15343,6 +15356,12 @@ Returns true if result is non-zero. table.foreach + type-arguments + + K + V + R + arguments @@ -15351,7 +15370,7 @@ Returns true if result is non-zero. tooltip Table to iterate over. type - table + {[K]: V} @@ -15360,14 +15379,14 @@ Returns true if result is non-zero. tooltip Function applied to each key-value pair. type - function + (key: K, value: V) -> R? energy 10 return - various + R? sleep 0 tooltip @@ -15412,6 +15431,11 @@ Returns true if result is non-zero. table.freeze + type-arguments + + K + V + arguments @@ -15420,14 +15444,14 @@ Returns true if result is non-zero. tooltip Table to freeze. type - table + {[K]: V} energy 10 return - table + {[K]: V} sleep 0 tooltip @@ -15443,14 +15467,14 @@ Returns true if result is non-zero. tooltip Array to check. type - table + {any} energy 10 return - integer + number sleep 0 tooltip @@ -15458,6 +15482,10 @@ Returns true if result is non-zero. table.insert + type-arguments + + V + arguments @@ -15466,7 +15494,7 @@ Returns true if result is non-zero. tooltip Array to insert into. type - table + {V} @@ -15475,7 +15503,7 @@ Returns true if result is non-zero. tooltip Index to insert at (default: at the end). type - integer + number @@ -15484,14 +15512,14 @@ Returns true if result is non-zero. tooltip Value to insert. type - various + V energy 10 return - void + () sleep 0 tooltip @@ -15507,7 +15535,7 @@ Returns true if result is non-zero. tooltip Table to check. type - table + {[any]: any} @@ -15530,14 +15558,14 @@ Returns true if result is non-zero. tooltip Table to check. type - table + {any} energy 10 return - integer + number sleep 0 tooltip @@ -15545,6 +15573,10 @@ Returns true if result is non-zero. table.move + type-arguments + + V + arguments @@ -15553,7 +15585,7 @@ Returns true if result is non-zero. tooltip Source array. type - table + {V} @@ -15562,7 +15594,7 @@ Returns true if result is non-zero. tooltip Starting index. type - integer + number @@ -15571,7 +15603,7 @@ Returns true if result is non-zero. tooltip Ending index. type - integer + number @@ -15580,7 +15612,7 @@ Returns true if result is non-zero. tooltip Destination index. type - integer + number @@ -15589,14 +15621,14 @@ Returns true if result is non-zero. tooltip Destination array (optional). type - table + {V}? energy 10 return - table + {V} sleep 0 tooltip @@ -15604,22 +15636,26 @@ Returns true if result is non-zero. table.pack + type-arguments + + V + arguments - args + ... tooltip Array elements. type - varargs + ...V energy 10 return - table + { n: number, [number]: V } sleep 0 tooltip @@ -15627,6 +15663,10 @@ Returns true if result is non-zero. table.remove + type-arguments + + V + arguments @@ -15635,7 +15675,7 @@ Returns true if result is non-zero. tooltip Array to remove from. type - table + {V} @@ -15644,14 +15684,14 @@ Returns true if result is non-zero. tooltip Index to remove (default: the last one). type - integer + number? energy 10 return - various + V? sleep 0 tooltip @@ -15659,6 +15699,10 @@ Returns true if result is non-zero. table.sort + type-arguments + + V + arguments @@ -15667,7 +15711,7 @@ Returns true if result is non-zero. tooltip Array to be sorted. type - table + {V} @@ -15676,14 +15720,14 @@ Returns true if result is non-zero. tooltip Comparison function. type - function + ((a: V, b: V) -> boolean)? energy 10 return - void + () sleep 0 tooltip @@ -15691,6 +15735,10 @@ Returns true if result is non-zero. table.unpack + type-arguments + + V + arguments @@ -15699,7 +15747,7 @@ Returns true if result is non-zero. tooltip Array to unpack. type - table + {V} @@ -15708,7 +15756,7 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - integer + number? @@ -15717,14 +15765,14 @@ Returns true if result is non-zero. tooltip Ending index (optional). type - integer + number? energy 10 return - varargs + ...V sleep 0 tooltip From 85cd6646067dae2a7dfb181cd327b472446ac52b Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:18:55 -0800 Subject: [PATCH 34/51] fix a couple global function typings --- indra/newview/app_settings/keywords_lua_default.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 8914a3d9266..757b1e3c220 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -10592,7 +10592,7 @@ vector position - position in local coordinates energy 10 return - {any}? + {[any]: any}? sleep 0 tooltip @@ -10663,7 +10663,7 @@ vector position - position in local coordinates arguments - args + ... tooltip Arguments to print to standard output. From 0d400a957204212f5b7ed36a8cef08f03e9578bb Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:24:22 -0800 Subject: [PATCH 35/51] re-order the utf8 functions alphabetically --- .../app_settings/keywords_lua_default.xml | 88 +++++++++---------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 757b1e3c220..fa42a841a4a 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15786,47 +15786,6 @@ Returns true if result is non-zero. tooltip UTF-8 library functions. - utf8.offset - - arguments - - - s - - tooltip - Input string. - type - string - - - - n - - tooltip - Character position. - type - number - - - - i - - tooltip - Starting position (optional). - type - number - - - - energy - 10 - return - number - sleep - 0 - tooltip - Returns the byte offset of the nth Unicode codepoint in string s. - utf8.char arguments @@ -15891,6 +15850,29 @@ Returns true if result is non-zero. tooltip Returns the Unicode codepoints in the specified range of string s. + utf8.codes + + arguments + + + s + + tooltip + Input string. + type + string + + + + energy + 10 + return + iterator + sleep + 0 + tooltip + Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. + utf8.len arguments @@ -15932,7 +15914,7 @@ Returns true if result is non-zero. tooltip Returns the number of Unicode codepoints in the specified range of string s. - utf8.codes + utf8.offset arguments @@ -15945,15 +15927,33 @@ Returns true if result is non-zero. string + + n + + tooltip + Character position. + type + number + + + + i + + tooltip + Starting position (optional). + type + number + + energy 10 return - iterator + number sleep 0 tooltip - Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. + Returns the byte offset of the nth Unicode codepoint in string s. uuid From a99e58df92ea24b54e398c7baa88435ab472cf3c Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:42:25 -0800 Subject: [PATCH 36/51] improved utf8 comments --- .../app_settings/keywords_lua_default.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index fa42a841a4a..add5475fcd4 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15826,7 +15826,7 @@ Returns true if result is non-zero. i tooltip - Starting position (optional). + Starting index (optional). type number @@ -15835,7 +15835,7 @@ Returns true if result is non-zero. j tooltip - Ending position (optional). + Ending index (optional). type number @@ -15848,7 +15848,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the Unicode codepoints in the specified range of string s. + Returns the Unicode codepoints in the specified range of the string. utf8.codes @@ -15871,7 +15871,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns an iterator that produces the byte offset and Unicode codepoint for each character in string s. + Returns an iterator that produces the byte offset and Unicode codepoint for each character in the string. utf8.len @@ -15890,7 +15890,7 @@ Returns true if result is non-zero. i tooltip - Starting position (optional). + Starting index (optional). type number @@ -15899,7 +15899,7 @@ Returns true if result is non-zero. j tooltip - Ending position (optional). + Ending index (optional). type number @@ -15912,7 +15912,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the number of Unicode codepoints in the specified range of string s. + Returns the number of Unicode codepoints in the specified range of the string, or nil and error index. utf8.offset @@ -15940,7 +15940,7 @@ Returns true if result is non-zero. i tooltip - Starting position (optional). + Starting index (optional). type number @@ -15953,7 +15953,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the byte offset of the nth Unicode codepoint in string s. + Returns the byte offset of the nth Unicode codepoint in the string. uuid From ca6eca913543e5d5e0a80bda68be66b3d1e69fe6 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:43:29 -0800 Subject: [PATCH 37/51] fix the utf8 typings --- .../app_settings/keywords_lua_default.xml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index add5475fcd4..6d5e5606f4a 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15791,12 +15791,12 @@ Returns true if result is non-zero. arguments - args + ... tooltip Unicode codepoints. type - array + ...number @@ -15828,7 +15828,7 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - number + number? @@ -15837,14 +15837,14 @@ Returns true if result is non-zero. tooltip Ending index (optional). type - number + number? energy 10 return - array + ...number sleep 0 tooltip @@ -15867,7 +15867,7 @@ Returns true if result is non-zero. energy 10 return - iterator + ((string, number) -> (number, number), string, number) sleep 0 tooltip @@ -15892,7 +15892,7 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - number + number? @@ -15901,14 +15901,14 @@ Returns true if result is non-zero. tooltip Ending index (optional). type - number + number? energy 10 return - number + (number?, number?) sleep 0 tooltip @@ -15942,14 +15942,14 @@ Returns true if result is non-zero. tooltip Starting index (optional). type - number + number? energy 10 return - number + number? sleep 0 tooltip From b520f4a23f067c4d6067827e851553978e4f48f3 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 08:50:30 -0800 Subject: [PATCH 38/51] moved vector constants from functions to constants section --- .../app_settings/keywords_lua_default.xml | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 6d5e5606f4a..9693cc1fadb 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -381,7 +381,7 @@ type rotation = quaternion vector.one tooltip - A one vector + Constant vector with all components set to 1. type vector value @@ -390,7 +390,7 @@ type rotation = quaternion vector.zero tooltip - A zero vector + Constant vector with all components set to 0. type vector value @@ -16019,28 +16019,6 @@ Returns true if result is non-zero. tooltip vector namespace. - vector.zero - - energy - 10 - return - vector - sleep - 0 - tooltip - Constant vector with all components set to 0. - - vector.one - - energy - 10 - return - vector - sleep - 0 - tooltip - Constant vector with all components set to 1. - vector.create arguments From 6141acdbbeede5019c8094eacb2e749eab378aa8 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 09:40:31 -0800 Subject: [PATCH 39/51] re-order the vector functions alphabetically --- .../app_settings/keywords_lua_default.xml | 210 +++++++++--------- 1 file changed, 105 insertions(+), 105 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 9693cc1fadb..ade831028a0 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -16019,57 +16019,71 @@ Returns true if result is non-zero. tooltip vector namespace. - vector.create + vector.abs arguments - x + vec tooltip - X component of the vector. + Input vector. type - number + vector + + energy + 10 + return + vector + sleep + 0 + tooltip + Applies math.abs to each component of the vector. + + vector.angle + + arguments + - y + vec1 tooltip - Y component of the vector. + First input vector. type - number + vector - z + vec2 tooltip - Z component of the vector. + Second input vector. type - number + vector - w + axis tooltip - W component of the vector (optional, defaults to 0 in 4-wide mode). + Axis to determine the sign of the angle (optional). type - number + vector energy 10 return - vector + number sleep 0 tooltip - Creates a new vector with the given component values. + Computes the angle between two vectors in radians. - vector.magnitude + vector.ceil arguments @@ -16086,13 +16100,13 @@ Returns true if result is non-zero. energy 10 return - number + vector sleep 0 tooltip - Calculates the magnitude of a given vector. + Applies math.ceil to each component of the vector. - vector.normalize + vector.clamp arguments @@ -16100,7 +16114,25 @@ Returns true if result is non-zero. vec tooltip - Input vector. + Input vector to be clamped. + type + vector + + + + min + + tooltip + Minimum vector value. + type + vector + + + + max + + tooltip + Maximum vector value. type vector @@ -16113,28 +16145,46 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the unit vector of a given vector. + Clamps each component of the vector between min and max values. - vector.cross + vector.create arguments - vec1 + x tooltip - First input vector. + X component of the vector. type - vector + number - vec2 + y tooltip - Second input vector. + Y component of the vector. type - vector + number + + + + z + + tooltip + Z component of the vector. + type + number + + + + w + + tooltip + W component of the vector (optional, defaults to 0 in 4-wide mode). + type + number @@ -16145,9 +16195,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the cross product of two vectors. + Creates a new vector with the given component values. - vector.dot + vector.cross arguments @@ -16173,13 +16223,13 @@ Returns true if result is non-zero. energy 10 return - number + vector sleep 0 tooltip - Computes the dot product of two vectors. + Computes the cross product of two vectors. - vector.angle + vector.dot arguments @@ -16201,15 +16251,6 @@ Returns true if result is non-zero. vector - - axis - - tooltip - Axis to determine the sign of the angle (optional). - type - vector - - energy 10 @@ -16218,7 +16259,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the angle between two vectors in radians. + Computes the dot product of two vectors. vector.floor @@ -16243,7 +16284,7 @@ Returns true if result is non-zero. tooltip Applies math.floor to each component of the vector. - vector.ceil + vector.magnitude arguments @@ -16260,23 +16301,23 @@ Returns true if result is non-zero. energy 10 return - vector + number sleep 0 tooltip - Applies math.ceil to each component of the vector. + Calculates the magnitude of a given vector. - vector.abs + vector.max arguments - vec + vectors tooltip - Input vector. + Multiple input vectors. type - vector + array of vector @@ -16287,19 +16328,19 @@ Returns true if result is non-zero. sleep 0 tooltip - Applies math.abs to each component of the vector. + Computes the component-wise maximum of multiple vectors. - vector.sign + vector.min arguments - vec + vectors tooltip - Input vector. + Multiple input vectors. type - vector + array of vector @@ -16310,9 +16351,9 @@ Returns true if result is non-zero. sleep 0 tooltip - Applies math.sign to each component of the vector. + Computes the component-wise minimum of multiple vectors. - vector.clamp + vector.normalize arguments @@ -16320,25 +16361,7 @@ Returns true if result is non-zero. vec tooltip - Input vector to be clamped. - type - vector - - - - min - - tooltip - Minimum vector value. - type - vector - - - - max - - tooltip - Maximum vector value. + Input vector. type vector @@ -16351,42 +16374,19 @@ Returns true if result is non-zero. sleep 0 tooltip - Clamps each component of the vector between min and max values. - - vector.max - - arguments - - - vectors - - tooltip - Multiple input vectors. - type - array of vector - - - - energy - 10 - return - vector - sleep - 0 - tooltip - Computes the component-wise maximum of multiple vectors. + Computes the unit vector of a given vector. - vector.min + vector.sign arguments - vectors + vec tooltip - Multiple input vectors. + Input vector. type - array of vector + vector @@ -16397,7 +16397,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the component-wise minimum of multiple vectors. + Applies math.sign to each component of the vector. ll From 38053c5592eb0f593a7a25f75739caf3cb3d2756 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 09:42:53 -0800 Subject: [PATCH 40/51] improved vector comments --- .../app_settings/keywords_lua_default.xml | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index ade831028a0..45724018b8a 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -13792,7 +13792,7 @@ Returns true if result is non-zero. ... tooltip - A list of numbers to find the maximum from. + Numbers to find the maximum from. type ...number @@ -13805,7 +13805,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the maximum value in the given list. + Returns the maximum value from the given numbers. math.min @@ -13824,7 +13824,7 @@ Returns true if result is non-zero. ... tooltip - A list of numbers to find the minimum from. + Numbers to find the minimum from. type ...number @@ -13837,7 +13837,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns the minimum value in the given list. + Returns the minimum value from the given numbers. math.modf @@ -16024,7 +16024,7 @@ Returns true if result is non-zero. arguments - vec + v tooltip Input vector. @@ -16047,19 +16047,19 @@ Returns true if result is non-zero. arguments - vec1 + a tooltip - First input vector. + Left input vector. type vector - vec2 + b tooltip - Second input vector. + Right input vector. type vector @@ -16081,14 +16081,14 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the angle between two vectors in radians. + Computes the angle between two vectors in radians. The axis, if specified, is used to determine the sign of the angle. vector.ceil arguments - vec + v tooltip Input vector. @@ -16111,7 +16111,7 @@ Returns true if result is non-zero. arguments - vec + v tooltip Input vector to be clamped. @@ -16173,7 +16173,7 @@ Returns true if result is non-zero. z tooltip - Z component of the vector. + Z component of the vector (optional). type number @@ -16202,19 +16202,19 @@ Returns true if result is non-zero. arguments - vec1 + a tooltip - First input vector. + Left input vector. type vector - vec2 + b tooltip - Second input vector. + Right input vector. type vector @@ -16234,19 +16234,19 @@ Returns true if result is non-zero. arguments - vec1 + a tooltip - First input vector. + Left input vector. type vector - vec2 + b tooltip - Second input vector. + Right input vector. type vector @@ -16266,7 +16266,7 @@ Returns true if result is non-zero. arguments - vec + v tooltip Input vector. @@ -16289,7 +16289,7 @@ Returns true if result is non-zero. arguments - vec + v tooltip Input vector. @@ -16305,17 +16305,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Calculates the magnitude of a given vector. + Computes the magnitude of the vector. vector.max arguments - vectors + v tooltip - Multiple input vectors. + Input vector. type array of vector @@ -16328,17 +16328,17 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the component-wise maximum of multiple vectors. + Applies math.max to each component of the vectors. vector.min arguments - vectors + v tooltip - Multiple input vectors. + Input vector. type array of vector @@ -16351,14 +16351,14 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the component-wise minimum of multiple vectors. + Applies math.max to each component of the vectors. vector.normalize arguments - vec + v tooltip Input vector. @@ -16374,14 +16374,14 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the unit vector of a given vector. + Computes the normalized version (unit vector) of vector. vector.sign arguments - vec + v tooltip Input vector. From 4a4b2df10e2aa141c3b354fed29c1c5be359fbde Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 09:44:15 -0800 Subject: [PATCH 41/51] fix the vector typings --- .../app_settings/keywords_lua_default.xml | 35 ++++++++++++------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 45724018b8a..4a208acd813 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -16070,7 +16070,7 @@ Returns true if result is non-zero. tooltip Axis to determine the sign of the angle (optional). type - vector + vector? @@ -16175,16 +16175,7 @@ Returns true if result is non-zero. tooltip Z component of the vector (optional). type - number - - - - w - - tooltip - W component of the vector (optional, defaults to 0 in 4-wide mode). - type - number + number? @@ -16317,7 +16308,16 @@ Returns true if result is non-zero. tooltip Input vector. type - array of vector + vector + + + + ... + + tooltip + Vectors to find the maximum from. + type + ...vector @@ -16340,7 +16340,16 @@ Returns true if result is non-zero. tooltip Input vector. type - array of vector + vector + + + + ... + + tooltip + Vectors to find the minimum from. + type + ...vector From c32d45b7d55ee196a6ab3bc4b19eded4824e1f90 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 09:45:17 -0800 Subject: [PATCH 42/51] Added missing functions to vector --- .../app_settings/keywords_lua_default.xml | 79 ++++++++++++++++++- 1 file changed, 77 insertions(+), 2 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 4a208acd813..aa44251e557 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -16014,10 +16014,44 @@ Returns true if result is non-zero. vector + arguments + + + x + + tooltip + X component of the vector. + type + number + + + + y + + tooltip + Y component of the vector. + type + number + + + + z + + tooltip + Z component of the vector (optional). + type + number? + + + energy - -1.0 + 10 + return + vector + sleep + 0 tooltip - vector namespace. + Creates a new vector with the given component values. Alias of vector.create. vector.abs @@ -16275,6 +16309,47 @@ Returns true if result is non-zero. tooltip Applies math.floor to each component of the vector. + vector.lerp + + arguments + + + a + + tooltip + Start vector. + type + vector + + + + b + + tooltip + End vector. + type + vector + + + + t + + tooltip + Interpolation factor. + type + number + + + + energy + 10 + return + vector + sleep + 0 + tooltip + Linearly interpolates between a and b using factor t. + vector.magnitude arguments From f6d353fabfb70a78788ffb34a5220ddfa6518df5 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 10:08:03 -0800 Subject: [PATCH 43/51] improve the library headers --- .../app_settings/keywords_lua_default.xml | 60 ++++++++++++------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index aa44251e557..d81e42292d9 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -11317,9 +11317,9 @@ vector position - position in local coordinates bit32 energy - -1.0 + -1 tooltip - bit32 library functions. + Bitwise operations library bit32.arshift @@ -11762,9 +11762,9 @@ Returns true if result is non-zero. buffer energy - -1.0 + -1 tooltip - buffer namespace. + Buffer manipulation library for binary data buffer.copy @@ -12737,9 +12737,9 @@ Returns true if result is non-zero. coroutine energy - -1.0 + -1 tooltip - coroutine namespace. + Coroutine manipulation library coroutine.close @@ -12918,9 +12918,9 @@ Returns true if result is non-zero. debug energy - -1.0 + -1 tooltip - debug namespace. + Debug library for introspection debug.info @@ -13005,6 +13005,13 @@ Returns true if result is non-zero. Returns a human-readable call stack starting from the specified level. + llbase64 + + energy + -1 + tooltip + Base64 encoding/decoding library + llbase64.decode arguments @@ -13052,6 +13059,13 @@ Returns true if result is non-zero. Encodes a string or buffer to base64 + lljson + + energy + -1 + tooltip + JSON encoding/decoding library for Second Life + lljson.decode arguments @@ -13154,12 +13168,12 @@ Returns true if result is non-zero. Encodes a Lua value as JSON preserving SL types. Use tight to encode more compactly. - math + math energy - -1.0 + -1 tooltip - math namespace. + Mathematical functions library math.abs @@ -14178,9 +14192,9 @@ Returns true if result is non-zero. os energy - -1.0 + -1 tooltip - os namespace. + Operating system facilities library os.clock @@ -14598,9 +14612,9 @@ Returns true if result is non-zero. string energy - -1.0 + -1 tooltip - string namespace. + String manipulation library string.byte @@ -15165,12 +15179,12 @@ Returns true if result is non-zero. Returns an uppercase version of the input string. - table + table energy - -1.0 + -1 tooltip - table namespace. + Table manipulation library table.clear @@ -15782,9 +15796,9 @@ Returns true if result is non-zero. utf8 energy - -1.0 + -1 tooltip - UTF-8 library functions. + UTF-8 support library utf8.char @@ -16458,7 +16472,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Computes the normalized version (unit vector) of vector. + Computes the normalized version (unit vector) of the vector. vector.sign @@ -16487,9 +16501,9 @@ Returns true if result is non-zero. energy - -1.0 + -1 tooltip - ll namespace. + Library for functions shared between LSL and SLua ll.Abs From f7624d6b887d435e825b264be57e057eeaf005bd Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 10:10:16 -0800 Subject: [PATCH 44/51] improve the library headers --- indra/newview/app_settings/keywords_lua_default.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index d81e42292d9..0f9ed84d45c 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -16497,8 +16497,8 @@ Returns true if result is non-zero. tooltip Applies math.sign to each component of the vector. + ll - energy -1 From 9512df38a0b378adf3c055f94ca39d2a9e6a93db Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 12:19:33 -0800 Subject: [PATCH 45/51] fixed slua detected events and state_entry/exit --- .../app_settings/keywords_lua_default.xml | 68 ++++++++----------- 1 file changed, 27 insertions(+), 41 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 0f9ed84d45c..aedac613ba9 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -9619,12 +9619,12 @@ vector position - position in local coordinates arguments - NumberOfCollisions + detected tooltip - + Array of detected events. type - number + {LLDetectedEvent} @@ -9637,12 +9637,12 @@ vector position - position in local coordinates arguments - NumberOfCollisions + detected tooltip - + Array of detected events. type - number + {LLDetectedEvent} @@ -9655,12 +9655,12 @@ vector position - position in local coordinates arguments - NumberOfCollisions + detected tooltip - + Array of detected events. type - number + {LLDetectedEvent} @@ -9833,12 +9833,12 @@ vector position - position in local coordinates arguments - count + detected tooltip - The number of damage events queued. + Array of detected events. type - number + {LLDetectedEvent} @@ -10217,12 +10217,12 @@ vector position - position in local coordinates arguments - count + detected tooltip - The number of damage events queued. + Array of detected events. type - number + {LLDetectedEvent} @@ -10366,12 +10366,12 @@ vector position - position in local coordinates arguments - NumberDetected + detected tooltip - + Array of detected events. type - number + {LLDetectedEvent} @@ -10379,20 +10379,6 @@ vector position - position in local coordinates This event is raised whenever objects matching the constraints of the llSensor command are detected. The number of detected objects is passed to the script in the parameter. Information on those objects may be gathered via the llDetected* functions. - state_entry - - arguments - - tooltip - The state_entry event occurs whenever a new state is entered, including at program start, and is always the first event handled. - - state_exit - - arguments - - tooltip - The state_exit event occurs whenever the state command is used to transition to another state. It is handled before the new states state_entry event. - timer arguments @@ -10405,12 +10391,12 @@ vector position - position in local coordinates arguments - NumberOfTouches + detected tooltip - + Array of detected events. type - number + {LLDetectedEvent} @@ -10424,12 +10410,12 @@ vector position - position in local coordinates arguments - NumberOfTouches + detected tooltip - + Array of detected events. type - number + {LLDetectedEvent} @@ -10442,12 +10428,12 @@ vector position - position in local coordinates arguments - NumberOfTouches + detected tooltip - + Array of detected events. type - number + {LLDetectedEvent} From ce429441ee8dcc4ef58c3aac7ffe9e208d91dfbd Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 13:11:08 -0800 Subject: [PATCH 46/51] wrote an entry for table.shrink --- .../app_settings/keywords_lua_default.xml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index aedac613ba9..68d8188f4d7 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -15697,6 +15697,43 @@ Returns true if result is non-zero. tooltip Removes and returns the element at the specified index from the array, or from the end of the array. + table.shrink + + type-arguments + + K + V + + arguments + + + t + + tooltip + Table to shrink. + type + {[K]: V} + + + + reorder + + tooltip + Allow moving sparse array elements to hash table storage. + type + boolean? + + + + energy + 10 + return + {[K]: V} + sleep + 0 + tooltip + Reduces the memory usage of the table to the minimum necessary. + table.sort type-arguments From bd4fe2f08cdacd4e6058f1325fc61d5689c39cad Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 13:28:20 -0800 Subject: [PATCH 47/51] Improved the quaternion comments based on the vector comments --- .../app_settings/keywords_lua_default.xml | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index 68d8188f4d7..e09d20eae22 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -14291,7 +14291,7 @@ Returns true if result is non-zero. x tooltip - + X component of the quaternion. type number @@ -14300,7 +14300,7 @@ Returns true if result is non-zero. y tooltip - + Y component of the quaternion. type number @@ -14309,7 +14309,7 @@ Returns true if result is non-zero. z tooltip - + Z component of the quaternion. type number @@ -14318,7 +14318,7 @@ Returns true if result is non-zero. s tooltip - + S component of the quaternion. type number @@ -14341,7 +14341,7 @@ Returns true if result is non-zero. q tooltip - + Input quaternion. type quaternion @@ -14354,7 +14354,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns conjugate of quaternion + Computes the conjugate of the quaternion. quaternion.create @@ -14364,7 +14364,7 @@ Returns true if result is non-zero. x tooltip - + X component of the quaternion. type number @@ -14373,7 +14373,7 @@ Returns true if result is non-zero. y tooltip - + Y component of the quaternion. type number @@ -14382,7 +14382,7 @@ Returns true if result is non-zero. z tooltip - + Z component of the quaternion. type number @@ -14391,7 +14391,7 @@ Returns true if result is non-zero. s tooltip - + S component of the quaternion. type number @@ -14404,7 +14404,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Constructor + Creates a new quaternion with the given component values. quaternion.dot @@ -14414,7 +14414,7 @@ Returns true if result is non-zero. a tooltip - + Left input quaternion. type quaternion @@ -14423,7 +14423,7 @@ Returns true if result is non-zero. b tooltip - + Right input quaternion. type quaternion @@ -14436,7 +14436,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Dot product of two quaternions + Computes the dot product of two quaternions. quaternion.magnitude @@ -14446,7 +14446,7 @@ Returns true if result is non-zero. q tooltip - + Input quaternion. type quaternion @@ -14459,7 +14459,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns magnitude of quaternion + Computes the magnitude of the quaternion. quaternion.normalize @@ -14469,7 +14469,7 @@ Returns true if result is non-zero. q tooltip - + Input quaternion. type quaternion @@ -14482,7 +14482,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns normalized quaternion + Computes the normalized version (unit quaternion) of the quaternion. quaternion.slerp @@ -14492,7 +14492,7 @@ Returns true if result is non-zero. a tooltip - + Start quaternion. type quaternion @@ -14501,7 +14501,7 @@ Returns true if result is non-zero. b tooltip - + End quaternion. type quaternion @@ -14510,7 +14510,7 @@ Returns true if result is non-zero. t tooltip - + Interpolation factor. type number @@ -14523,7 +14523,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Spherical linear interpolation + Spherical linear interpolation from a to b using factor t. quaternion.tofwd @@ -14533,7 +14533,7 @@ Returns true if result is non-zero. q tooltip - + Input quaternion. type quaternion @@ -14546,7 +14546,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns forward vector from quaternion rotation + Computes the forward vector from the quaternion. quaternion.toleft @@ -14556,7 +14556,7 @@ Returns true if result is non-zero. q tooltip - + Input quaternion. type quaternion @@ -14569,7 +14569,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns left vector from quaternion rotation + Computes the left vector from the quaternion. quaternion.toup @@ -14579,7 +14579,7 @@ Returns true if result is non-zero. q tooltip - + Input quaternion. type quaternion @@ -14592,7 +14592,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Returns up vector from quaternion rotation + Computes the up vector from the quaternion. string From 26db6bd6e5838bb4cad9d63806f8fb1b8a068e86 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 13:34:27 -0800 Subject: [PATCH 48/51] a few small comment improvements in vector, quaternion, uuid --- .../newview/app_settings/keywords_lua_default.xml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index e09d20eae22..d70d44ab907 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -363,7 +363,7 @@ type rotation = quaternion quaternion.identity tooltip - Identity quaternion constant + Identity quaternion constant. type quaternion value @@ -14331,7 +14331,7 @@ Returns true if result is non-zero. sleep 0 tooltip - + Creates a new quaternion with the given component values. Alias of quaternion.create. quaternion.conjugate @@ -15997,15 +15997,6 @@ Returns true if result is non-zero. arguments - - self - - tooltip - - type - any - - value @@ -16023,7 +16014,7 @@ Returns true if result is non-zero. sleep 0 tooltip - Allows calling uuid() as a constructor + Creates a new uuid from a string, buffer, or existing uuid. Returns nil if the string is not a valid UUID. Throws an error if the buffer is shorter than 16 bytes. Alias of uuid.create uuid.create From 42ecfa93cd3a4f231d662a2b17e1d67d567c67a2 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 14:44:36 -0800 Subject: [PATCH 49/51] convert void -> () in luau --- .../app_settings/keywords_lua_default.xml | 392 +++++++++--------- 1 file changed, 196 insertions(+), 196 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index d70d44ab907..b794e048780 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -10661,7 +10661,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -10868,7 +10868,7 @@ vector position - position in local coordinates energy 10 return - void + () sleep 0 tooltip @@ -16591,7 +16591,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -16623,7 +16623,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -16655,7 +16655,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -16678,7 +16678,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -16726,7 +16726,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -16790,7 +16790,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -16822,7 +16822,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -16900,7 +16900,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -16923,7 +16923,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17091,7 +17091,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17114,7 +17114,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17237,7 +17237,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17317,7 +17317,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 1 tooltip @@ -17383,7 +17383,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17415,7 +17415,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17440,7 +17440,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17518,7 +17518,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17584,7 +17584,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -17625,7 +17625,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17653,7 +17653,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -17809,7 +17809,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -18273,7 +18273,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 1 tooltip @@ -18295,7 +18295,7 @@ Returns true if result is non-zero. energy 0 return - void + () sleep 0 tooltip @@ -18382,7 +18382,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -18423,7 +18423,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 20 tooltip @@ -18502,7 +18502,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -18534,7 +18534,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -18703,7 +18703,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -18749,7 +18749,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -20149,7 +20149,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -21582,7 +21582,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -21623,7 +21623,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 3 tooltip @@ -21689,7 +21689,7 @@ Returns true if result is non-zero. god-mode 1 return - void + () sleep 0 tooltip @@ -21799,7 +21799,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -21947,7 +21947,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22043,7 +22043,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 2 tooltip @@ -22376,7 +22376,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22408,7 +22408,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22458,7 +22458,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22490,7 +22490,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22522,7 +22522,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22563,7 +22563,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22586,7 +22586,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -22863,7 +22863,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -23825,7 +23825,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -23848,7 +23848,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -23889,7 +23889,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -23976,7 +23976,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24008,7 +24008,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24040,7 +24040,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24072,7 +24072,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24183,7 +24183,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -24262,7 +24262,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -24359,7 +24359,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -24438,7 +24438,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -24511,7 +24511,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 1 tooltip @@ -24552,7 +24552,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 1 tooltip @@ -24602,7 +24602,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24625,7 +24625,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24698,7 +24698,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24730,7 +24730,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24785,7 +24785,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24826,7 +24826,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -24882,7 +24882,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 1 tooltip @@ -24960,7 +24960,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -24983,7 +24983,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 2 tooltip @@ -25111,7 +25111,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25134,7 +25134,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25157,7 +25157,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25189,7 +25189,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25221,7 +25221,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25253,7 +25253,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25308,7 +25308,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 1 tooltip @@ -25340,7 +25340,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25390,7 +25390,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25430,7 +25430,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 20 tooltip @@ -25462,7 +25462,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25503,7 +25503,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25528,7 +25528,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25541,7 +25541,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25564,7 +25564,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25616,7 +25616,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 3 tooltip @@ -25631,7 +25631,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25690,7 +25690,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 3 tooltip @@ -25713,7 +25713,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -25736,7 +25736,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -25759,7 +25759,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -25782,7 +25782,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26020,7 +26020,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26077,7 +26077,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26204,7 +26204,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26217,7 +26217,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -26230,7 +26230,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -26253,7 +26253,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26266,7 +26266,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26279,7 +26279,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26393,7 +26393,7 @@ Returns true if result is non-zero. energy 200 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -26452,7 +26452,7 @@ Returns true if result is non-zero. energy 200 return - void + () sleep 0.1000000000000000055511151 tooltip @@ -26695,7 +26695,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26750,7 +26750,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26782,7 +26782,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -26906,7 +26906,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -26970,7 +26970,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -27016,7 +27016,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27127,7 +27127,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27140,7 +27140,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27208,7 +27208,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27281,7 +27281,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27313,7 +27313,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27345,7 +27345,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27377,7 +27377,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27400,7 +27400,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27423,7 +27423,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27446,7 +27446,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27469,7 +27469,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27492,7 +27492,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27524,7 +27524,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27556,7 +27556,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27579,7 +27579,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27643,7 +27643,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27684,7 +27684,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27748,7 +27748,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27791,7 +27791,7 @@ Returns true if result is non-zero. god-mode 1 return - void + () sleep 0 tooltip @@ -27823,7 +27823,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27864,7 +27864,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27905,7 +27905,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27946,7 +27946,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -27987,7 +27987,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28062,7 +28062,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28094,7 +28094,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28135,7 +28135,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28167,7 +28167,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28208,7 +28208,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28294,7 +28294,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28317,7 +28317,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28363,7 +28363,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28386,7 +28386,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28420,7 +28420,7 @@ Returns true if result is non-zero. god-mode 1 return - void + () sleep 0 tooltip @@ -28475,7 +28475,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 2 tooltip @@ -28507,7 +28507,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28566,7 +28566,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28589,7 +28589,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28646,7 +28646,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 20 tooltip @@ -28671,7 +28671,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28717,7 +28717,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28749,7 +28749,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28772,7 +28772,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -28795,7 +28795,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28827,7 +28827,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28850,7 +28850,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28873,7 +28873,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28896,7 +28896,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28928,7 +28928,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -28969,7 +28969,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29001,7 +29001,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0.2000000000000000111022302 tooltip @@ -29078,7 +29078,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29101,7 +29101,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29133,7 +29133,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29156,7 +29156,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29179,7 +29179,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29211,7 +29211,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29243,7 +29243,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29266,7 +29266,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29298,7 +29298,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29330,7 +29330,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29362,7 +29362,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29490,7 +29490,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29513,7 +29513,7 @@ Returns true if result is non-zero. energy 0 return - void + () sleep 0 tooltip @@ -29565,7 +29565,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29590,7 +29590,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29636,7 +29636,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29659,7 +29659,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29682,7 +29682,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29695,7 +29695,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29708,7 +29708,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29721,7 +29721,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29744,7 +29744,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29757,7 +29757,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29892,7 +29892,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -29933,7 +29933,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30029,7 +30029,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30052,7 +30052,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30093,7 +30093,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 20 tooltip @@ -30143,7 +30143,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30193,7 +30193,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30216,7 +30216,7 @@ Returns true if result is non-zero. energy 100 return - void + () sleep 5 tooltip @@ -30257,7 +30257,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 1 tooltip @@ -30408,7 +30408,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30458,7 +30458,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30481,7 +30481,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30527,7 +30527,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30730,7 +30730,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30771,7 +30771,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip @@ -30826,7 +30826,7 @@ Returns true if result is non-zero. energy 10 return - void + () sleep 0 tooltip From fbeb7b03035177fa2360bb50e58a4ec427e5be40 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 17:28:26 -0800 Subject: [PATCH 50/51] mark slua deprecated events/functions --- indra/newview/app_settings/keywords_lua_default.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index b794e048780..c6787f6e0ab 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -10381,6 +10381,8 @@ vector position - position in local coordinates timer + deprecated + 1 arguments tooltip @@ -18933,6 +18935,8 @@ Returns true if result is non-zero. arguments + deprecated + 1 energy 10 return @@ -26276,6 +26280,8 @@ Returns true if result is non-zero. arguments + deprecated + 1 energy 10 return @@ -28337,6 +28343,8 @@ Returns true if result is non-zero. + deprecated + 1 energy 10 return @@ -29098,6 +29106,8 @@ Returns true if result is non-zero. + deprecated + 1 energy 10 return From 9957a979808e43972e8defdd05cf9ad7aaecd2d7 Mon Sep 17 00:00:00 2001 From: tapple Date: Wed, 21 Jan 2026 17:29:15 -0800 Subject: [PATCH 51/51] rename LLDetectedEvent to DetectedEvent --- .../app_settings/keywords_lua_default.xml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index c6787f6e0ab..270236fee1f 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -153,7 +153,7 @@ The union of every type. Similar to any without disabling type-checking. - LLDetectedEvent + DetectedEvent tooltip Event detection class providing access to detected object/avatar information @@ -177,7 +177,7 @@ LLDetectedEventHandler tooltip - type LLDetectedEventHandler = (detected: {LLDetectedEvent}) -> () + type LLDetectedEventHandler = (detected: {DetectedEvent}) -> () LLDetectedEventName @@ -9624,7 +9624,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -9642,7 +9642,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -9660,7 +9660,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -9838,7 +9838,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -10222,7 +10222,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -10371,7 +10371,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -10398,7 +10398,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -10417,7 +10417,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent} @@ -10435,7 +10435,7 @@ vector position - position in local coordinates tooltip Array of detected events. type - {LLDetectedEvent} + {DetectedEvent}