mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
@@ -149,6 +149,9 @@
|
||||
if(.)
|
||||
return TRUE
|
||||
var/turf/T = get_turf(user)
|
||||
if(!T)
|
||||
to_chat(user, span_warning("You must be standing on solid ground to deploy an extraction beacon!"))
|
||||
return
|
||||
if(do_after(user, 1.5 SECONDS, target = user) && !QDELETED(src))
|
||||
new /obj/structure/extraction_point(get_turf(user))
|
||||
qdel(src)
|
||||
|
||||
@@ -153,23 +153,27 @@
|
||||
set category = "Object"
|
||||
set src = usr
|
||||
|
||||
if(ismecha(loc))
|
||||
return
|
||||
|
||||
if(INCAPACITATED_IGNORING(src, INCAPABLE_GRAB))
|
||||
return
|
||||
|
||||
if(stat || paralysis || stunned)
|
||||
return
|
||||
|
||||
if(restrained())
|
||||
return
|
||||
|
||||
if(!checkClickCooldown())
|
||||
return
|
||||
|
||||
setClickCooldown(1)
|
||||
|
||||
if(istype(loc,/obj/mecha)) return
|
||||
|
||||
if(hand)
|
||||
var/obj/item/W = l_hand
|
||||
if (W)
|
||||
W.attack_self(src)
|
||||
update_inv_l_hand()
|
||||
else
|
||||
var/obj/item/W = r_hand
|
||||
if (W)
|
||||
W.attack_self(src)
|
||||
update_inv_r_hand()
|
||||
var/obj/item/inhand = get_active_hand()
|
||||
if(inhand)
|
||||
inhand.attack_self(src)
|
||||
update_inv_active_hand()
|
||||
return
|
||||
|
||||
/mob/living/abiotic(var/full_body = 0)
|
||||
|
||||
Reference in New Issue
Block a user