mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
// .50 (Sniper)
|
|
|
|
/obj/item/projectile/bullet/p50
|
|
name =".50 bullet"
|
|
pixels_per_second = TILES_TO_PIXELS(25)
|
|
damage = 70
|
|
knockdown = 100
|
|
dismemberment = 50
|
|
armour_penetration = 50
|
|
zone_accuracy_factor = 100 //guarunteed 100%
|
|
var/breakthings = TRUE
|
|
|
|
/obj/item/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/item/projectile/bullet/p50/soporific
|
|
name =".50 soporific bullet"
|
|
armour_penetration = 0
|
|
damage = 0
|
|
dismemberment = 0
|
|
knockdown = 0
|
|
breakthings = FALSE
|
|
|
|
/obj/item/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/item/projectile/bullet/p50/penetrator
|
|
name =".50 penetrator bullet"
|
|
icon_state = "gauss"
|
|
name = "penetrator round"
|
|
damage = 60
|
|
movement_type = FLYING | UNSTOPPABLE
|
|
dismemberment = 0 //It goes through you cleanly.
|
|
knockdown = 0
|
|
breakthings = FALSE
|
|
|
|
/obj/item/projectile/bullet/p50/penetrator/shuttle //Nukeop Shuttle Variety
|
|
icon_state = "gaussstrong"
|
|
damage = 25
|
|
pixels_per_second = TILES_TO_PIXELS(33.33)
|
|
range = 16
|