mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[NO GBP] Update 'try_to_crowbar_secondary' door path (#94308)
Co-authored-by: glue0000 <230859540+glue0000@users.noreply.github.com>
This commit is contained in:
@@ -1319,9 +1319,6 @@
|
||||
if(density && !open(BYPASS_DOOR_CHECKS))
|
||||
to_chat(user, span_warning("Despite your attempts, [src] refuses to open."))
|
||||
|
||||
/obj/machinery/door/airlock/try_to_crowbar_secondary(obj/item/acting_object, mob/user)
|
||||
try_to_crowbar(null, user, FALSE)
|
||||
|
||||
/obj/machinery/door/airlock/open(forced = DEFAULT_DOOR_CHECKS)
|
||||
if(cycle_pump && !operating && !welded && !seal && locked && density)
|
||||
cycle_pump.airlock_act(src)
|
||||
|
||||
@@ -452,6 +452,9 @@
|
||||
try_to_crowbar(tool, user, forced_open)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
/obj/machinery/door/try_to_crowbar_secondary(obj/item/acting_object, mob/user)
|
||||
try_to_crowbar(null, user, FALSE)
|
||||
|
||||
/obj/machinery/door/attackby(obj/item/weapon, mob/living/user, list/modifiers, list/attack_modifiers)
|
||||
if(istype(weapon, /obj/item/access_key))
|
||||
var/obj/item/access_key/key = weapon
|
||||
|
||||
Reference in New Issue
Block a user