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

From Second Life Wiki
Jump to navigation Jump to search
m (clarification)
m
Line 1: Line 1:
<includeonly>{{#if:
<includeonly>{{#if:
{{#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}}}_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 the prim&#39;s 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|
* If '''{{LSL Param|{{{1}}}}}''' is a {{HoverLink|UUID|Universally Unique IDentifier}} then there are no new [[:Category:LSL_Permissions/Asset|asset permissions]] consequences for the object.
* If '''{{LSL Param|{{{1}}}}}''' is a {{HoverLink|UUID|Universally Unique IDentifier}} then there are no new [[:Category:LSL_Permissions/Asset|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.}}|{{#var:caveats}}}}}}
** The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.}}|{{#var:caveats}}}}}}
{{{{#if:{{{volume|}}}|LSL Function/volume|!}}|{{{volume|}}}|}}
 
{{{{#if:{{{volume|}}}|LSL Function/volume}}|{{{volume|}}}|}}
 
}}</includeonly><noinclude>
}}</includeonly><noinclude>
*----
 
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}{{#var:caveats}}
{| {{Prettytable}} {{#vardefine:caveats}}
*----
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}
*{{#var:p_ta_desc}}
|-{{Hl2}}
*{{#var:p_ta_hover}}
! #var
*----
! value
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}{{#var:caveats}}
|-
*----
{{VarPair|caveats}}
*{{#var:p_ta_desc}}
|-
*{{#var:p_ta_hover}}
{{VarPair|p_ta_desc}}
|-
{{VarPair|p_ta_hover}}
|}
 
{| {{Prettytable}} {{#vardefine:caveats}}
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}
|-{{Hl2}}
! #var
! value
|-
{{VarPair|caveats}}
|-
{{VarPair|p_ta_desc}}
|-
{{VarPair|p_ta_hover}}
|}
</noinclude>
</noinclude>

Revision as of 06:05, 16 April 2009


{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}
#var value
caveats
  • 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.
p_ta_desc a sound in the prim's inventory or UUID
p_ta_hover a sound in the prim's inventory or UUID
{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}
#var value
caveats
  • If ta is missing from the prim's inventory or it is not a sound then an error is shouted on DEBUG_CHANNEL.
p_ta_desc a sound in the prim's inventory
p_ta_hover a sound in the prim's inventory