diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index c3a66ac45a..3fdce32a44 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -685,11 +685,32 @@ add_fingerprint(user) + + //YW changes, adding borg petting. Help intent pets, Disarm intent taps, Grab should remove the battery for replacement, and Harm is punching(no damage) 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), "slashed") - return + //if(H.species.can_shred(H)) + // attack_generic(H, rand(30,50), "slashed") + // return + + switch(H.a_intent) + if(I_HELP) + visible_message("[H] pets [src].") + return + if(I_HURT) + H.do_attack_animation(src) + if(H.species.can_shred(H)) + attack_generic(H, rand(30,50), "slashed") + return + else + playsound(src.loc, 'sound/effects/bang.ogg', 10, 1) + visible_message("[H] punches [src], but doesn't leave a dent.") + return + if(I_DISARM) + H.do_attack_animation(src) + playsound(src.loc, 'sound/effects/clang1.ogg', 10, 1) + visible_message("[H] taps [src].") + return if(opened && !wiresexposed && (!istype(user, /mob/living/silicon))) var/datum/robot_component/cell_component = components["power cell"] diff --git a/sound/effects/clang1.ogg b/sound/effects/clang1.ogg new file mode 100644 index 0000000000..91b13eb2ef Binary files /dev/null and b/sound/effects/clang1.ogg differ