/datum/component/bullet_holes
A component which makes bullet holes appear on a thing when it gets shot
Vars | |
decal_num | Used to track where in the list we insert the impact decals |
---|---|
impact_image_base | Image which holds all of the impact decals (as overlays) to display them |
impact_images | List of individual impact decals |
max_holes | The maximum number of bullet impact decals this object can have at once |
req_damage | Minimum projectile DAMAGE (not power) required to leave a bullet hole |
Var Details
decal_num
Used to track where in the list we insert the impact decals
impact_image_base
Image which holds all of the impact decals (as overlays) to display them
impact_images
List of individual impact decals
max_holes
The maximum number of bullet impact decals this object can have at once
req_damage
Minimum projectile DAMAGE (not power) required to leave a bullet hole