removed useless _ folders
This commit is contained in:
3
A_Friendly_Unpacker/A_Friendly_Unpacker.sol
Normal file
3
A_Friendly_Unpacker/A_Friendly_Unpacker.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="A_Friendly_Unpacker">
|
||||
<Project name="A_Friendly_Unpacker" path="A_Friendly_Unpacker\A_Friendly_Unpacker.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="A_Friendly_Unpacker" guid="D8AEF9CC-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D8AEFAC0-6C00-1014-B904-200204C60A89">
|
||||
<Script name="A_Friendly_Unpacker_1.lsl" guid="D8AF1FB1-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
@@ -0,0 +1,71 @@
|
||||
// :CATEGORY:Inventory Giver
|
||||
// :NAME:A_Friendly_Unpacker
|
||||
// :AUTHOR:Rolig Loon
|
||||
// :CREATED:2011-07-05 15:42:02.557
|
||||
// :EDITED:2013-09-18 15:38:47
|
||||
// :ID:9
|
||||
// :NUM:14
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Unpacker scripts scatter no-copy items all over your inventory. This can mean that you get a lot of IMs from frustrated and confused SL newbies who open one of your gift boxes and then can't find where everything went. There's no new magic to this short script -- you still have to give no-copy items individually, after all -- but it does send the new owner a friendly message that tells where to look for each unpacked item.
|
||||
//
|
||||
// This work uses content from the Second Life® LSL Script library. Copyright © 2007-2009 Linden Research, Inc. Licensed under the Creative Commons Attribution-Share Alike 3.0 License.
|
||||
// :CODE:
|
||||
list gItems;
|
||||
|
||||
list gNocopy;
|
||||
|
||||
list gList_types = [INVENTORY_NONE,INVENTORY_TEXTURE, INVENTORY_SOUND, INVENTORY_LANDMARK,INVENTORY_CLOTHING, INVENTORY_OBJECT, INVENTORY_NOTECARD, INVENTORY_SCRIPT,INVENTORY_BODYPART, INVENTORY_ANIMATION, INVENTORY_GESTURE];
|
||||
|
||||
list gList_names = ["None", "Texture", "Sound", "Landmark", "Clothing", "Object", "Notecard", "Script", "Body Part", "Animation", "Gesture"];
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
integer All = llGetInventoryNumber(INVENTORY_ALL);
|
||||
|
||||
while (All)
|
||||
|
||||
{
|
||||
|
||||
string name = llGetInventoryName(INVENTORY_ALL, All - 1);
|
||||
|
||||
if (name != llGetScriptName())
|
||||
|
||||
{
|
||||
|
||||
if(llGetInventoryPermMask(name, MASK_OWNER) & PERM_COPY)
|
||||
|
||||
{
|
||||
|
||||
gItems += [name]; //Copy perm items
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
gNocopy += [name]; //No-copy perm items
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
--All;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
changed (integer change)
|
||||
Reference in New Issue
Block a user