Difference between revisions of "Template:LSL Function/inventory"

From Second Life Wiki
Jump to navigation Jump to search
m
m (clarification)
Line 1: Line 1:
<includeonly>{{#if:
<includeonly>{{#if:
{{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{{insert|{{{type|item}}}}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or {{HoverLink|UUID|Universally Unique IDentifier}}}}}}
{{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{{insert|{{{type|item}}}}}}}} in the prim&#39;s inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or {{HoverLink|UUID|Universally Unique IDentifier}}}}}}
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{{insert|{{{type|item}}}}}}}} in inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}}}
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{{insert|{{{type|item}}}}}}}} in the prim&#39;s inventory {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| or UUID}}}}
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}}
* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim&#39;s inventory {{#if:{{{full|}}}|or not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}}} {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|and it is not a {{HoverLink|UUID|Universally Unique IDentifier}}}} {{#if:{{{type|}}}|or it is not {{AAn|{{{type|item}}}}}}} then an error is shouted on {{LSL Const|DEBUG_CHANNEL|integer|hex=0x7FFFFFFF}}. {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|
* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim&#39;s inventory {{#if:{{{full|}}}|or not {{HoverLink|:Category:LSL_Permissions/Asset|copy, mod and transfer|full permissions}}}} {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|and it is not a {{HoverLink|UUID|Universally Unique IDentifier}}}} {{#if:{{{type|}}}|or it is not {{AAn|{{{type|item}}}}}}} then an error is shouted on {{LSL Const|DEBUG_CHANNEL|integer|hex=0x7FFFFFFF}}. {{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|
Line 10: Line 10:
*----
*----
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}{{#var:caveats}}
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}{{#var:caveats}}
*----
*{{#var:p_ta_desc}}
*{{#var:p_ta_hover}}
*----
*----
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}{{#var:caveats}}
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}{{#var:caveats}}
*----
*----
*{{#var:p_ta_desc}}
*{{#var:p_ta_hover}}
</noinclude>
</noinclude>

Revision as of 02:00, 20 April 2008

  • ----
  • If ta is missing from the prim's inventory and it is not a UUID or it is not a sound then an error is shouted on DEBUG_CHANNEL.
  • If ta is a UUID then there are no new asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.
  • ----
  • a sound in the prim's inventory or UUID
  • a sound in the prim's inventory or UUID
  • ----
  • If ta is missing from the prim's inventory or it is not a sound then an error is shouted on DEBUG_CHANNEL.
  • ----
  • a sound in the prim's inventory
  • a sound in the prim's inventory