mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
Added proc for can_shred() on robots.
This commit is contained in:
@@ -896,6 +896,12 @@ var/list/robot_verbs_default = list(
|
||||
|
||||
add_fingerprint(user)
|
||||
|
||||
if(istype(user,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(H.species.can_shred(H))
|
||||
attack_generic(H, rand(30,50), "slashes")
|
||||
return
|
||||
|
||||
if(opened && !wiresexposed && (!istype(user, /mob/living/silicon)))
|
||||
var/datum/robot_component/cell_component = components["power cell"]
|
||||
if(cell)
|
||||
|
||||
Reference in New Issue
Block a user