Difference between revisions of "Template:LSL Constants Inventory"

From Second Life Wiki
Jump to navigation Jump to search
(Fix broken link to explain meaning of INVENTORY_SETTING: It's for the sky/environment)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table style="{{Prettytable}}" valign="top">
{{{!}}
<tr>
{{!}}- valign="top"
<td> '''Flag'''
{{!}}
<td> '''Value'''
{{{!}} {{Prettytable|style=margin-top:0;}}
<td> '''Inventory Type'''
{{!}}-{{Hl2}}
</tr><tr>
! colspan="2" {{!}}'''Flag'''
<td> <tt>INVENTORY_NONE</tt><br/><tt>INVENTORY_ALL</tt>
! '''Inventory Type'''
<td> -1
{{!}}-
<td> Item does not exist
{{!}} {{LSL Const|INVENTORY_NONE|integer|-1|c=Item does not exist.}}
</tr><tr>
{{!}} rowspan="2" {{!}} {{#var:value}}
<td> <tt>INVENTORY_TEXTURE</tt>
{{!}} {{#var:comment}}
<td> 0
{{!}}-
<td> {{LSLG|texture}}
{{!}} {{LSL Const|INVENTORY_ALL|integer|-1|c=Any inventory type.}}
</tr><tr>
{{!}} {{#var:comment}}
<td> <tt>INVENTORY_SOUND</tt>
{{!}}-
<td> 1
{{!}} {{LSL Const|INVENTORY_TEXTURE|integer|0|c=texture}}
<td> {{LSLG|sound}}
{{!}} {{#var:value}}
</tr><tr>
{{!}} [[texture]]
<td> <tt>INVENTORY_LANDMARK</tt>
{{!}}-
<td> 3
{{!}} {{LSL Const|INVENTORY_SOUND|integer|1|c=sound}}
<td> {{LSLG|landmark}}
{{!}} {{#var:value}}
</tr><tr>
{{!}} [[sound]]
<td> <tt>INVENTORY_CLOTHING</tt>
{{!}}-
<td> 5
{{!}} {{LSL Const|INVENTORY_LANDMARK|integer|3|c=landmark}}
<td> {{LSLG|clothing}}
{{!}} {{#var:value}}
</tr><tr>
{{!}} [[landmark]]
<td> <tt>INVENTORY_OBJECT</tt>
{{!}}-
<td> 6
{{!}} {{LSL Const|INVENTORY_CLOTHING|integer|5|c=clothing}}
<td> {{LSLG|object}}
{{!}} {{#var:value}}
</tr><tr>
{{!}} [[clothing]]
<td> <tt>INVENTORY_NOTECARD</tt>
{{!}}-
<td> 7
{{!}} {{LSL Const|INVENTORY_OBJECT|integer|6|c=object}}
<td> {{LSLG|notecard}}
{{!}} {{#var:value}}
</tr><tr>
{{!}} [[object]]
<td> <tt>INVENTORY_SCRIPT</tt>
{{!}}}
<td> 10
{{!}}
<td> {{LSLG|script}}
{{{!}} {{Prettytable|style=margin-top:0;}}
</tr><tr>
{{!}}-{{Hl2}}
<td> <tt>INVENTORY_BODYPART</tt>
! colspan="2" {{!}}'''Flag'''
<td> 13
! '''Inventory Type'''
<td> {{LSLG|body part}}
{{!}}-
</tr><tr>
{{!}} {{LSL Const|INVENTORY_NOTECARD|integer|7|c=notecard}}
<td> <tt>INVENTORY_ANIMATION</tt>
{{!}} {{#var:value}}
<td> 20
{{!}} [[notecard]]
<td> {{LSLG|animation}}
{{!}}-
</tr><tr>
{{!}} {{LSL Const|INVENTORY_SCRIPT|integer|10|c=script}}
<td> <tt>INVENTORY_GESTURE</tt>
{{!}} {{#var:value}}
<td> 21
{{!}} [[script]]
<td> {{LSLG|gesture}}
{{!}}-
</tr></table>
{{!}} {{LSL Const|INVENTORY_BODYPART|integer|13|c=body part}}
{{!}} {{#var:value}}
{{!}} [[body part]]
{{!}}-
{{!}} {{LSL Const|INVENTORY_ANIMATION|integer|20|c=animation}}
{{!}} {{#var:value}}
{{!}} [[animation]]
{{!}}-
{{!}} {{LSL Const|INVENTORY_GESTURE|integer|21|c=gesture}}
{{!}} {{#var:value}}
{{!}} [[gesture]]
{{!}}-
{{!}} {{LSL Const|INVENTORY_SETTING|integer|56|c=setting}}
{{!}} {{#var:value}}
{{!}} [[Environmental_Enhancement_Project|setting]]
{{!}}-
{{!}} {{LSL Const|INVENTORY_MATERIAL|integer|57|c=render_material}}
{{!}} {{#var:value}}
{{!}} [[PBR_Materials|material]]
{{!}}}
{{!}}}

Latest revision as of 16:27, 23 March 2023