explodable

Component specifically for explosion sensetive things, currently only applies to heat based explosions but can later perhaps be used for things that are dangerous to handle carelessly like nitroglycerin.
Vars | |
always_delete | Whether we always delete. Useful for nukes turned plasma and such, so they don't default delete and can survive |
---|---|
devastation_range | The devastation range of the resulting explosion. |
equipped_slot | For items, lets us determine where things should be hit. |
flame_range | The flame range of the resulting explosion. |
flash_range | The flash range of the resulting explosion. |
heavy_impact_range | The heavy impact range of the resulting explosion. |
light_impact_range | The light impact range of the resulting explosion. |
Procs | |
detonate | Explode and remove the object |
explodable_attack | Called when you use this object to attack sopmething |
explodable_attack_zone | Called when you attack a specific body part of the thing this is equipped on. Useful for exploding pants. |
is_hitting_zone | Checks if we're hitting the zone this component is covering |
Var Details
always_delete

Whether we always delete. Useful for nukes turned plasma and such, so they don't default delete and can survive
devastation_range

The devastation range of the resulting explosion.
equipped_slot

For items, lets us determine where things should be hit.
flame_range

The flame range of the resulting explosion.
flash_range

The flash range of the resulting explosion.
heavy_impact_range

The heavy impact range of the resulting explosion.
light_impact_range

The light impact range of the resulting explosion.
Proc Details
detonate
Explode and remove the object
explodable_attack
Called when you use this object to attack sopmething
explodable_attack_zone
Called when you attack a specific body part of the thing this is equipped on. Useful for exploding pants.
is_hitting_zone
Checks if we're hitting the zone this component is covering