diff --git a/code/_onclick/click.dm b/code/_onclick/click.dm index 715b8eda90e..17ee4689026 100644 --- a/code/_onclick/click.dm +++ b/code/_onclick/click.dm @@ -167,9 +167,9 @@ animals lunging, etc. */ /mob/proc/RangedAttack(var/atom/A, var/params) - if(!mutations.len) return if(ishuman(src) && (istype(src:gloves, /obj/item/clothing/gloves/yellow/power)) && a_intent == "harm") PowerGlove(A) + if(!mutations.len) return if((M_LASER in mutations) && a_intent == "harm") LaserEyes(A) // moved into a proc below return @@ -302,6 +302,7 @@ var/turf/U = get_turf(A) var/obj/structure/cable/cable = locate() in T if(!cable || !istype(cable)) + src << "No cable" return if(world.time < G.next_shock) src << "[G] aren't ready to shock again!" diff --git a/code/_onclick/other_mobs.dm b/code/_onclick/other_mobs.dm index eceb3659fd2..e4cc4bbcb5e 100644 --- a/code/_onclick/other_mobs.dm +++ b/code/_onclick/other_mobs.dm @@ -20,7 +20,12 @@ /mob/living/carbon/human/RestrainedClickOn(var/atom/A) return + + +// Commented out to prevent overwriting RangedAttack in click.dm ~ Bone White +/* /mob/living/carbon/human/RangedAttack(var/atom/A) + world << "Ranged Attack Start! other_mobs" if(!gloves && !mutations.len) return var/obj/item/clothing/gloves/G = gloves if((M_LASER in mutations) && a_intent == "harm") @@ -41,6 +46,8 @@ return A.attack_tk(src) +*/ + /* Animals & All Unspecified */