mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Allows mech drills to drill through blobs (#12119)
This commit is contained in:
@@ -449,7 +449,10 @@ its easier to just keep the beam vertical.
|
||||
|
||||
/atom/proc/mech_drill_act(var/severity, var/child=null)
|
||||
return ex_act(severity, child)
|
||||
|
||||
|
||||
/atom/proc/can_mech_drill()
|
||||
return acidable()
|
||||
|
||||
/atom/proc/blob_act(destroy = 0)
|
||||
//DEBUG to_chat(pick(player_list),"blob_act() on [src] ([src.type])")
|
||||
if(flags & INVULNERABLE)
|
||||
|
||||
@@ -174,7 +174,10 @@ var/list/blob_looks
|
||||
apply_beam_damage(B)
|
||||
update_health()
|
||||
update_icon()
|
||||
|
||||
|
||||
/obj/effect/blob/can_mech_drill()
|
||||
return TRUE
|
||||
|
||||
/obj/effect/blob/process()
|
||||
handle_beams()
|
||||
Life()
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
if(!action_checks(target))
|
||||
return
|
||||
if(isobj(target))
|
||||
if(!target.acidable())
|
||||
if(!target.can_mech_drill())
|
||||
return
|
||||
set_ready_state(0)
|
||||
chassis.visible_message("<font color='red'><b>[chassis] starts to drill [target]!</b></font>", "You hear a drill.")
|
||||
|
||||
7
html/changelogs/JustSumDrill.yml
Normal file
7
html/changelogs/JustSumDrill.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
author: JustSumGuy
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Mech drills can now drill through blobs."
|
||||
Reference in New Issue
Block a user