Skip to content
lsl.devlsl.devLSL Dev

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
100100Negative damage to heal a wound, damaged limb, first aid, etc. Intended for generic healing of biological nature. Positive damage would be medical malpracticeNexii MalthusVertical Sim / SLMC
101101Negative 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 MalthusVertical Sim / SLMC
102102Damage caused by an explosive blast, like a grenadeDAMAGE_TYPE_FORCENexii MalthusVertical Sim / SLMC
103103Damage caused by crushing. Such as being crushed by water pressure. More of a constant type of force damage — can be nullified/reduced via diving suitDAMAGE_TYPE_FORCENexii MalthusVertical Sim / SLMC
104104Damage caused by anti-tank/anti-armor. Such as from a specialised armor piercing shell, rocket or other munitionDAMAGE_TYPE_PIERCINGNexii MalthusVertical Sim / SLMC
105105Damage caused by suffocation. Usually lacking a breathable atmosphere, such as from drowning or being in the vacuum of spaceNexii MalthusVertical Sim / SLMC
106106Special 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 soNexii MalthusVertical Sim / SLMC
200200Damage caused by lack of survival needs, such as starvation and dehydration. Negative damage used to heal through recovery by food and waterAdam Silver-Mane (Adamphillip)Silver-mane's survival HUD
201201Damage caused by active bleeding. Damage type check, sets health to 0 on unsustainable systemic failureAdam 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.