Difference between revisions of "Template:LSL Function/inventory"
Jump to navigation
Jump to search
m |
m (Hovertext location for added information? Maybe this should be a link?) |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: | {{LSL Injection Test}}<includeonly>{{#if: | ||
{{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{{insert|{{{type|item}}}}}}}} in | {{:DEBUG_CHANNEL}} | ||
{{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{{insert|{{{type|item}}}}}}}} in | |||
{{#vardefine:caveats|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats}} | {{#vardefine:p_{{{1|none}}}_desc|{{AAn|{{#if:{{{insert|}}}|{{{insert}}}|{{#if:{{{type|}}}|{{{type}}}|item}}}}}} in the {{LSLGC|Inventory|inventory}} {{#if:{{{remote|}}}|of the {{#if:{{{target|}}}|[[{{{target|}}}|target]]|target}} prim|of the prim this script is in}}{{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|{{#if:{{{empty|}}}|,| or}} a {{HoverLink|UUID|Universally Unique IDentifier}}{{#if:{{{type|}}}| of {{AAn|{{{type}}}}}}}}}{{#if:{{{empty|}}}| or an empty string{{#ifeq:{{{empty}}}|*|| {{{empty}}}}}}}{{#var:p_{{{1|none}}}_desc}}}} | ||
* If | |||
* If | {{#vardefine:p_{{{1|none}}}_hover|{{AAn|{{#if:{{{insert|}}}|{{{insert}}}|{{#if:{{{type|}}}|{{{type}}}|item}}}}}} in the inventory {{#if:{{{remote|}}}|of the target prim|of the prim this script is in}}{{#ifeq:{{{uuid|}}}{{{UUID|}}}|true|{{#if:{{{empty|}}}|,| or}} a UUID{{#if:{{{type|}}}| of {{AAn|{{{type}}}|{{{type_hover|{{{type}}}}}}}}}}}}{{#if:{{{empty|}}}| or an empty string{{#ifeq:{{{empty}}}|*|| {{{empty_hover|{{{empty}}}}}}}}}}{{#var:p_{{{1|none}}}_hover}}}} | ||
** 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 | {{#vardefine:caveats{{#var:direction}}|{{#if:{{#if:{{{no_caveat|}}}||{{{1|}}}}}|{{#var:caveats{{#var:direction}}}} | ||
{{#if:{{{empty|}}}|* If {{LSLP|{{{1}}}}} is not an empty string and... | |||
**{{LSLP|{{{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 {{LSLP|{{{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 {{LSLP|{{{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}}}}}}}} | |||
{{{{#if:{{{volume|}}}|LSL Function/volume}}|{{{volume|}}}|}} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Multi-lang}} | |||
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}{{#var | {{UpdateLink}} | ||
{{#vardefine:caveats}}{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=false}}{{#var:caveats}} | {| {{Prettytable}} {{#vardefine:caveats}}{{#vardefine:p_ta_desc}}{{#vardefine:p_ta_hover}} | ||
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=sound|uuid=true}} | |||
|-{{Hl2}} | |||
! #var | |||
! value | |||
|- | |||
{{VarPair|caveats}} | |||
|- | |||
{{VarPair|p_ta_desc}} | |||
|- | |||
{{VarPair|p_ta_hover}} | |||
|} | |||
{| {{Prettytable}} {{#vardefine:caveats}}{{#vardefine:p_ta_desc}}{{#vardefine:p_ta_hover}} | |||
|+<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}} | |||
|} | |||
{| {{Prettytable}} {{#vardefine:caveats}}{{#vardefine:p_ta_desc}}{{#vardefine:p_ta_hover}} | |||
|+<code><nowiki>{{{{FULLPAGENAMEE}}|ta|type=landmark|uuid=true|empty=(for teleporting within the same region)}}</nowiki></code>{{{{FULLPAGENAMEE}}|ta|type=landmark|uuid=true|empty=(for teleporting within the same region)}} | |||
|-{{Hl2}} | |||
! #var | |||
! value | |||
|- | |||
{{VarPair|caveats}} | |||
|- | |||
{{VarPair|p_ta_desc}} | |||
|- | |||
{{VarPair|p_ta_hover}} | |||
|} | |||
</noinclude> | </noinclude> |
Latest revision as of 13:46, 7 June 2014
Press this link after making a change, so it becomes displayed.
#var | value |
---|---|
caveats |
|
p_ta_desc | a sound in the inventory of the prim this script is in or a UUID of a sound |
p_ta_hover | a sound in the inventory of the prim this script is in or a UUID of a sound |
#var | value |
---|---|
caveats |
|
p_ta_desc | a sound in the inventory of the prim this script is in |
p_ta_hover | a sound in the inventory of the prim this script is in |
#var | value |
---|---|
caveats |
|
p_ta_desc | a landmark in the inventory of the prim this script is in, a UUID of a landmark or an empty string (for teleporting within the same region) |
p_ta_hover | a landmark in the inventory of the prim this script is in, a UUID of a landmark or an empty string (for teleporting within the same region) |