clothing_damaged_by_bullets
Component that lets clothing be damaged in zones by piercing bullets. The parent MUST have limb_integrity set.
Vars | |
projectile_damage_multiplier | How much of the incoming projectile damage is taken, multiplier |
---|---|
wearer | Who is wearing the target? |
Procs | |
hit_by_projectile | Checks an incoming projectile to see if it should damage the thing we're attached to, |
lost_wearer | Either we've been dropped or our wearer has been QDEL'd. Either way, they're no longer our problem |
on_equipped | Check if we've been equipped to a valid slot to shield |
on_examine | Warns any examiner that the clothing we're stuck to will be damaged by piercing bullets |
set_wearer | Sets the wearer and registers the appropriate signals for them |
Var Details
projectile_damage_multiplier
How much of the incoming projectile damage is taken, multiplier
wearer
Who is wearing the target?
Proc Details
hit_by_projectile
Checks an incoming projectile to see if it should damage the thing we're attached to,
lost_wearer
Either we've been dropped or our wearer has been QDEL'd. Either way, they're no longer our problem
on_equipped
Check if we've been equipped to a valid slot to shield
on_examine
Warns any examiner that the clothing we're stuck to will be damaged by piercing bullets
set_wearer
Sets the wearer and registers the appropriate signals for them