mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Makes Knock path grasp way easier to use against mechs than before (#87451)
Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
This commit is contained in:
co-authored by
necromanceranne
parent
f94ed49e02
commit
f7359b4519
@@ -76,10 +76,12 @@
|
||||
if(ismecha(target))
|
||||
var/obj/vehicle/sealed/mecha/mecha = target
|
||||
mecha.dna_lock = null
|
||||
mecha.mecha_flags &= ~ID_LOCK_ON
|
||||
for(var/mob/living/occupant as anything in mecha.occupants)
|
||||
if(isAI(occupant))
|
||||
continue
|
||||
mecha.mob_exit(occupant, randomstep = TRUE)
|
||||
occupant.Paralyze(5 SECONDS)
|
||||
else if(istype(target,/obj/machinery/door/airlock))
|
||||
var/obj/machinery/door/airlock/door = target
|
||||
door.unbolt()
|
||||
|
||||
Reference in New Issue
Block a user