DamageType
< ModdingModding/DamageType
Jump to navigation
Jump to search
Code location (what's this?):
Cosmoteer.DamageType
Contains all of the hardcoded part categories.
Hardcoded means we can learn about them by looking at the source code, but never modify them.
It is unknown whether anything custom can be added to this list.
Name | Type | Access | Description | |
---|---|---|---|---|
Salvage | ID<DamageType> | readonly | Only used by crew and mining_beam_small .
| |
Default | ID<DamageType> | readonly | Used by most non-explosive weapons and effects, including ion_beam .
| |
Explosive | ID<DamageType> | readonly | Used by all part explosions and explosive projectiles. |
Notes
- Somewhat unexpectedly,
heat
damage exists only for the sun's red zone.fire.rules
hasDamageType = fire
but that's not in the list...- ion_beam has default damage type.
- Judging by the difference between the hardcoded damage types and the other existing ones, it should be possible to define your own for your mod.