diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 83f87d3..75c1475 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -4190,8 +4190,14 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4190 | public int llGetInventoryType(string name) | 4190 | public int llGetInventoryType(string name) |
4191 | { | 4191 | { |
4192 | m_host.AddScriptLPS(1); | 4192 | m_host.AddScriptLPS(1); |
4193 | NotImplemented("llGetInventoryType"); | 4193 | foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory) |
4194 | return 0; | 4194 | { |
4195 | if (inv.Value.Name == name) | ||
4196 | { | ||
4197 | return inv.Value.InvType; | ||
4198 | } | ||
4199 | } | ||
4200 | return -1; | ||
4195 | } | 4201 | } |
4196 | 4202 | ||
4197 | public void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons) | 4203 | public void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons) |