mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 21:27:01 +01:00
Merge pull request #2268 from CHOMPStationBot/upstream-merge-10610
[MIRROR] Makes machinery destroyable by projectiles
This commit is contained in:
@@ -460,8 +460,7 @@ GLOBAL_LIST_EMPTY(smeses)
|
||||
..()
|
||||
|
||||
/obj/machinery/power/smes/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(Proj.damage_type == BRUTE || Proj.damage_type == BURN)
|
||||
take_damage(Proj.damage)
|
||||
take_damage(Proj.get_structure_damage())
|
||||
|
||||
/obj/machinery/power/smes/ex_act(var/severity)
|
||||
// Two strong explosions will destroy a SMES.
|
||||
|
||||
Reference in New Issue
Block a user