diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index e76989eb79..7b7a4d6e93 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -340,7 +340,7 @@ if(target.z != user.z) return add_fingerprint(user) - + user.break_cloak() if(!special_check(user)) @@ -350,7 +350,7 @@ if (world.time % 3) //to prevent spam user << "[src] is not ready to fire again!" return - + var/shoot_time = (burst - 1)* burst_delay //These should apparently be disabled to allow for the automatic system to function without causing near-permanant paralysis. Re-enabling them while we sort that out. @@ -438,6 +438,15 @@ set_light(0) //VOREStation Edit End + //CHOMPEDIT: Recoil knockdown for micros + if(iscarbon(user)) + var/mob/living/carbon/nerd = user + var/mysize = nerd.size_multiplier + if(mysize <= 0.5) + nerd.Weaken(1) + nerd.adjustBruteLoss(5-mysize*4) + //CHOMPEDIT: Knockdown code end + // Similar to the above proc, but does not require a user, which is ideal for things like turrets. /obj/item/weapon/gun/proc/Fire_userless(atom/target) if(!target)