Cyborg bugfixes

This commit is contained in:
Cadyn
2020-08-23 20:15:20 -07:00
parent bc4780a29b
commit 12c77bd905
2 changed files with 3 additions and 1 deletions

View File

@@ -72,6 +72,8 @@
W.attack_self(src)
return
if(A.type==/obj/structure/flora/pottedplant || A.parent_type==/obj/structure/flora/pottedplant)
return
// cyborgs are prohibited from using storage items so we can I think safely remove (A.loc in contents)
if(A == loc || (A in loc) || (A in contents))

View File

@@ -63,7 +63,7 @@
to_chat(user, "<span class='warning'>This syringe is broken!</span>")
return
if(user.a_intent == I_HURT && ismob(target))
if(user.a_intent == I_HURT && ismob(target) && user.type!=/mob/living/silicon/robot)
if((CLUMSY in user.mutations) && prob(50))
target = user
syringestab(target, user)