diff options
author | alondria | 2008-03-24 19:05:44 +0000 |
---|---|---|
committer | alondria | 2008-03-24 19:05:44 +0000 |
commit | 3423ed4739f79bfb4a04c9654a07e6e13fdc709c (patch) | |
tree | bbe10e0221cc84dcbe5a73b7031777b035a461cd | |
parent | * Fix build break in last revision. Thanks to paulieFemto for pointing it out. (diff) | |
download | opensim-SC-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.zip opensim-SC-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.tar.gz opensim-SC-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.tar.bz2 opensim-SC-3423ed4739f79bfb4a04c9654a07e6e13fdc709c.tar.xz |
Implements llGetInventoryCreator()
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 10 |
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 | ||