aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index d641958..62b5c0f 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -1734,6 +1734,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1734 rgb.y = texcolor.G; 1734 rgb.y = texcolor.G;
1735 rgb.z = texcolor.B; 1735 rgb.z = texcolor.B;
1736 return rgb; 1736 return rgb;
1737
1737 } 1738 }
1738 else 1739 else
1739 { 1740 {
@@ -3192,6 +3193,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3192 return m_host.UUID.ToString(); 3193 return m_host.UUID.ToString();
3193 } 3194 }
3194 3195
3196 public LSL_Key llGenerateKey()
3197 {
3198 m_host.AddScriptLPS(1);
3199 return UUID.Random().ToString();
3200 }
3201
3195 public void llSetBuoyancy(double buoyancy) 3202 public void llSetBuoyancy(double buoyancy)
3196 { 3203 {
3197 m_host.AddScriptLPS(1); 3204 m_host.AddScriptLPS(1);