Template:LSL Constants/Custom Damage Types
To make it easy for the community to recognise and re-use custom damage types here is a table that scripters can add onto:
| Flag | Description | Subtype | Creator | System | |
|---|---|---|---|---|---|
| 100 | 100 | Negative damage to heal a wound, damaged limb, first aid, etc. Intended for generic healing of biological nature. Positive damage would be medical malpractice | Nexii Malthus | Vertical Sim / SLMC | |
| 101 | 101 | Negative damage from repairing an object or something mechanical, welding torch or wrench on a vehicle/robot/mech, etc. Positive damage can be due to mistakes, low skill or sabotage. Intended for generic healing of non-biological nature (e.g. a mechanical tank or an electrical system) | Nexii Malthus | Vertical Sim / SLMC | |
| 102 | 102 | Damage caused by an explosive blast, like a grenade | DAMAGE_TYPE_FORCE | Nexii Malthus | Vertical Sim / SLMC |
| 103 | 103 | Damage caused by crushing. Such as being crushed by water pressure. More of a constant type of force damage — can be nullified/reduced via diving suit | DAMAGE_TYPE_FORCE | Nexii Malthus | Vertical Sim / SLMC |
| 104 | 104 | Damage caused by anti-tank/anti-armor. Such as from a specialised armor piercing shell, rocket or other munition | DAMAGE_TYPE_PIERCING | Nexii Malthus | Vertical Sim / SLMC |
| 105 | 105 | Damage caused by suffocation. Usually lacking a breathable atmosphere, such as from drowning or being in the vacuum of space | Nexii Malthus | Vertical Sim / SLMC | |
| 106 | 106 | Special damage to indicate combatant chose to redeploy. You can code in side effect(s) such as using up a ticket off the team to do so | Nexii Malthus | Vertical Sim / SLMC | |
| 200 | 200 | Damage caused by lack of survival needs, such as starvation and dehydration. Negative damage used to heal through recovery by food and water | Adam Silver-Mane (Adamphillip) | Silver-mane's survival HUD | |
| 201 | 201 | Damage caused by active bleeding. Damage type check, sets health to 0 on unsustainable systemic failure | Adam Silver-Mane (Adamphillip) | Silver-mane's survival HUD |
documentation:
{{documentation|Template:LSL_Constants/Custom_Damage_Types/doc|heading=}}Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.