wall

Vars | |
bullethole_overlay | A reference to the current bullethole overlay image, this is added and deleted as needed |
---|---|
bullethole_variation | The variation set we're using There are 10 sets and it gets picked randomly the first time a wall is shot It corresponds to the first number in the icon_state (bhole_[bullethole_variation]_[current_bulletholes]) Gets reset to 0 if the wall reaches maximum health, so a new variation is picked when the wall gets shot again |
current_bulletholes | The current number of bulletholes in this turf |
Procs | |
repair_damage | Repairs the wall by an amount |
take_damage | Applies damage to the wall |
Var Details
bullethole_overlay

A reference to the current bullethole overlay image, this is added and deleted as needed
bullethole_variation

The variation set we're using There are 10 sets and it gets picked randomly the first time a wall is shot It corresponds to the first number in the icon_state (bhole_[bullethole_variation]_[current_bulletholes]) Gets reset to 0 if the wall reaches maximum health, so a new variation is picked when the wall gets shot again
current_bulletholes

The current number of bulletholes in this turf
Proc Details
repair_damage
Repairs the wall by an amount
take_damage
Applies damage to the wall