Difference between revisions of "Template:LSL Constants/Damage Types"
Jump to navigation
Jump to search
Rider Linden (talk | contribs) (Created page with "<div style="padding: 0.5em;"> {{{!}} class="sortable" {{Prettytable}} {{!}}- {{Hl2}} ! {{!}} Flag ! title="Value" {{!}} ! class="unsortable" {{!}} Description {{!}}- {{!}}{{LS...") |
Rider Linden (talk | contribs) |
||
Line 5: | Line 5: | ||
! title="Value" {{!}} | ! title="Value" {{!}} | ||
! class="unsortable" {{!}} Description | ! class="unsortable" {{!}} Description | ||
{{!}}- | |||
{{!}}{{LSL Const|DAMAGE_TYPE_IMPACT|integer|−1|c=System damage generated by impact with terrain or a prim.}} | |||
{{!}}{{#var:value}} | |||
{{!}}{{#var:comment}} | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|DAMAGE_TYPE_GENERIC|integer|0|c=Generic or legacy damage.}} | {{!}}{{LSL Const|DAMAGE_TYPE_GENERIC|integer|0|c=Generic or legacy damage.}} |
Revision as of 13:16, 20 May 2024
Flag | Description | |
---|---|---|
DAMAGE_TYPE_IMPACT | −1 | System damage generated by impact with terrain or a prim. |
DAMAGE_TYPE_GENERIC | 0 | Generic or legacy damage. |
DAMAGE_TYPE_ACID | 1 | Damage caused by a caustic substance, such as acid. |
DAMAGE_TYPE_BLUDGEONING | 2 | Damage caused by a blunt object, such as a club. |
DAMAGE_TYPE_COLD | 3 | Damage inflicted by exposure to extreme cold. |
DAMAGE_TYPE_ELECTRIC | 4 | Damage caused by electricity. |
DAMAGE_TYPE_FIRE | 5 | Damage inflicted by exposure to heat or flames. |
DAMAGE_TYPE_FORCE | 6 | Damage inflicted by a great force or impact. |
DAMAGE_TYPE_NECROTIC | 7 | Damage caused by a direct assault on life-force. |
DAMAGE_TYPE_PIERCING | 8 | Damage caused by a piercing object such as a bullet, spear, or arrow. |
DAMAGE_TYPE_POISON | 9 | Damage caused by poison. |
DAMAGE_TYPE_PSYCHIC | 10 | Damage caused by a direct assault on the mind. |
DAMAGE_TYPE_RADIANT | 11 | Damage caused by radiation or extreme light. |
DAMAGE_TYPE_SLASHING | 12 | Damage caused by a slashing object such as a sword or axe. |
DAMAGE_TYPE_SONIC | 13 | Damage caused by loud noises, like a Crash Worship concert. |
DAMAGE_TYPE_EMOTIONAL | 14 |
Damage types are provided as a convenience and a suggestion. Scripters are free to add custom ones for their own combat systems or repurpose the damage type fields.