aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authoralondria2008-03-24 19:05:44 +0000
committeralondria2008-03-24 19:05:44 +0000
commit3423ed4739f79bfb4a04c9654a07e6e13fdc709c (patch)
treebbe10e0221cc84dcbe5a73b7031777b035a461cd /OpenSim/Region/ScriptEngine/Common
parent* Fix build break in last revision. Thanks to paulieFemto for pointing it out. (diff)
downloadopensim-SC_OLD-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.zip
opensim-SC_OLD-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.tar.gz
opensim-SC_OLD-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.tar.bz2
opensim-SC_OLD-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.tar.xz
Implements llGetInventoryCreator()
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 029abf6..83f87d3 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -4105,7 +4105,15 @@ namespace OpenSim.Region.ScriptEngine.Common
4105 public string llGetInventoryCreator(string item) 4105 public string llGetInventoryCreator(string item)
4106 { 4106 {
4107 m_host.AddScriptLPS(1); 4107 m_host.AddScriptLPS(1);
4108 NotImplemented("llGetInventoryCreator"); 4108 foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory)
4109 {
4110 if (inv.Value.Name == item)
4111 {
4112 return inv.Value.CreatorID.ToString();
4113 }
4114 }
4115 llSay(0, "No item name '" + item + "'");
4116 //NotImplemented("llGetInventoryCreator");
4109 return String.Empty; 4117 return String.Empty;
4110 } 4118 }
4111 4119