/tg/ Station 13 - Modules - TypesVar Details - Proc Details

/datum/component/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_deletewheter we always delete. useful for nukes turned plasma and such, so they don't default delete and can survive

Procs

detonateExpldoe and remove the object
explodable_attackCalled when you use this object to attack sopmething
explodable_attack_zoneCalled when you attack a specific body part of the thing this is equipped on. Useful for exploding pants.
is_hitting_zoneChecks if we're hitting the zone this component is covering

Var Details

always_delete

wheter we always delete. useful for nukes turned plasma and such, so they don't default delete and can survive

Proc Details

detonate

Expldoe 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