Add code that forces an error if compiled in LSO to all scripts
This should prevent accidents when saving in inventory in the official viewer.
This commit is contained in:
parent
9c84243390
commit
f1ec6bde26
22 changed files with 46 additions and 32 deletions
|
@ -29,7 +29,7 @@ string last_menu_avatar;
|
|||
integer menu_channel;
|
||||
key notecard_key;
|
||||
key notecard_query;
|
||||
list MENU_LIST;
|
||||
list MENU_LIST = [custom_text]; //OSS::list MENU_LIST; // Force error in LSO
|
||||
list DATA_LIST;
|
||||
integer MTYPE;
|
||||
integer LMSOURCE = 0; //lmsource self = 0, lmsource linkset = 1
|
||||
|
@ -314,6 +314,7 @@ default
|
|||
{
|
||||
remove_script("Use only one copy of this script!");
|
||||
}
|
||||
MENU_LIST = [];
|
||||
check_avsit();
|
||||
notecard_key = llGetInventoryKey(notecard_name);
|
||||
Out(0, "Loading...");
|
||||
|
|
|
@ -25,6 +25,7 @@ integer experience_denied_reason;
|
|||
key originalowner;
|
||||
key parentkey;
|
||||
key give_prop_warning_request;
|
||||
list A = [parentkey]; //OSS::list A; // Force error in LSO
|
||||
|
||||
unsit_all()
|
||||
{
|
||||
|
@ -90,7 +91,9 @@ state prop
|
|||
}
|
||||
|
||||
//LSL::
|
||||
parentkey = llList2String(llGetObjectDetails(llGetKey(), [OBJECT_REZZER_KEY]), 0);
|
||||
parentkey = llList2String(llGetObjectDetails(llGetKey(), [OBJECT_REZZER_KEY]) + A, 0);
|
||||
A = [];
|
||||
|
||||
if(llGetStartParameter() && !llList2Integer(llGetObjectDetails(parentkey, [OBJECT_ATTACHED_POINT]), 0))
|
||||
{
|
||||
llSetTimerEvent(10);
|
||||
|
|
|
@ -34,7 +34,7 @@ list prop_groups;
|
|||
list prop_points;
|
||||
list sequential_prop_groups;
|
||||
integer HAVENTNAGGED = TRUE;
|
||||
list SITTERS;
|
||||
list SITTERS = [key_request]; //OSS::list SITTERS; // Force error in LSO
|
||||
list SITTER_POSES;
|
||||
list ATTACH_POINTS =
|
||||
[ ATTACH_CHEST, "chest"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue