Plasma Cutter Improvements (#11231)

This commit is contained in:
Geeves
2021-02-24 16:01:28 +01:00
committed by GitHub
parent ef8afc41e6
commit 824b47d91b
9 changed files with 67 additions and 19 deletions
+5 -1
View File
@@ -129,11 +129,15 @@ var/list/mineral_can_smooth_with = list(
GetDrilled()
/turf/simulated/mineral/bullet_act(var/obj/item/projectile/Proj)
if(istype(Proj, /obj/item/projectile/beam/plasmacutter))
var/obj/item/projectile/beam/plasmacutter/PC_beam = Proj
. = PC_beam.pass_check(src)
// Emitter blasts
if(istype(Proj, /obj/item/projectile/beam/emitter))
emitter_blasts_taken++
if(emitter_blasts_taken > 2) // 3 blasts per tile
if(emitter_blasts_taken >= 3)
GetDrilled()
/turf/simulated/mineral/CollidedWith(AM)