Files
fulpstation/code/modules/projectiles/projectile/bullets/sniper.dm
spookydonut 4e8ff18b07 Fix Travis grep script to use PCRE to actually match things (#47065)
Several of the greps were missing the `-P` switch which caused them to 
fail to match things. The EOL grep also wasn't working right so I 
replaced it with the one I added to TGMC.
2019-10-19 10:21:05 -07:00

46 lines
1.1 KiB
Plaintext

// .50 (Sniper)
/obj/projectile/bullet/p50
name =".50 bullet"
speed = 0.4
damage = 70
paralyze = 100
dismemberment = 50
armour_penetration = 50
var/breakthings = TRUE
/obj/projectile/bullet/p50/on_hit(atom/target, blocked = 0)
if(isobj(target) && (blocked != 100) && breakthings)
var/obj/O = target
O.take_damage(80, BRUTE, "bullet", FALSE)
return ..()
/obj/projectile/bullet/p50/soporific
name =".50 soporific bullet"
armour_penetration = 0
damage = 0
dismemberment = 0
paralyze = 0
breakthings = FALSE
/obj/projectile/bullet/p50/soporific/on_hit(atom/target, blocked = FALSE)
if((blocked != 100) && isliving(target))
var/mob/living/L = target
L.Sleeping(400)
return ..()
/obj/projectile/bullet/p50/penetrator
name = "penetrator round"
icon_state = "gauss"
damage = 60
movement_type = FLYING | UNSTOPPABLE
dismemberment = 0 //It goes through you cleanly.
paralyze = 0
breakthings = FALSE
/obj/projectile/bullet/p50/penetrator/shuttle //Nukeop Shuttle Variety
icon_state = "gaussstrong"
damage = 25
speed = 0.3
range = 16