Difference between revisions of "Template:LSL Function/inventory"
Jump to navigation
Jump to search
m (oops!) |
|||
Line 8: | Line 8: | ||
{{#vardefine:caveats{{#var:direction}}|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats{{#var:direction}}}} | {{#vardefine:caveats{{#var:direction}}|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats{{#var:direction}}}} | ||
{{#if:{{{empty|}}}|* If '''{{LSL Param|{{{1}}}}}''' is not an empty string and... | {{#if:{{{empty|}}}|* If '''{{LSL Param|{{{1}}}}}''' is not an empty string and... | ||
**'''{{LSL Param|{{{1}}}}}''' is missing from the prim'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 {{#var:DEBUG_CHANNEL}}. | **'''{{LSL Param|{{{1}}}}}''' is missing from the prim'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 {{#if:{{{silent|}}}|it fails silently|an error is shouted on {{#var:DEBUG_CHANNEL}}}}. | ||
|* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim'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 {{#var:DEBUG_CHANNEL}}. }}{{#ifeq:{{{uuid|}}}{{{UUID|}}}|true| | |* If '''{{LSL Param|{{{1}}}}}''' is missing from the prim'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 {{#if:{{{silent|}}}|it fails silently|an error is shouted on {{#var:DEBUG_CHANNEL}}}}. }}{{#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{{#var:direction}}}}}}}} | ** The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.}}|{{#var:caveats{{#var:direction}}}}}}}} |
Revision as of 21:15, 30 May 2012
Press this link after making a change, so it becomes displayed.
#var | value |
---|---|
caveats |
|
p_ta_desc | a sound in the prim's inventory or UUID of a sound |
p_ta_hover | a sound in the prim's inventory or UUID of a sound |
#var | value |
---|---|
caveats |
|
p_ta_desc | a sound in the prim's inventory |
p_ta_hover | a sound in the prim's inventory |
#var | value |
---|---|
caveats |
|
p_ta_desc | a landmark in the prim's inventory, UUID of a landmark or an empty string (for teleporting within the same region) |
p_ta_hover | a landmark in the prim's inventory, UUID of a landmark or an empty string (for teleporting within the same region) |