mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-03 05:21:27 +00:00
* Octuples sniper range * Yeah yeah Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
// .50 (Sniper)
|
|
|
|
/obj/projectile/bullet/p50 /////OVERRIDEN IN MODULAR > BULLETREBALANCE
|
|
name =".50 bullet"
|
|
speed = 0.2 //SKYRAT EDIT: Original value (0.4)
|
|
range = 400 // Enough to travel from one corner of the Z to the opposite corner and then some.
|
|
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
|
|
range = 50
|
|
projectile_piercing = PASSMOB|PASSVEHICLE
|
|
projectile_phasing = ~(PASSMOB|PASSVEHICLE)
|
|
phasing_ignore_direct_target = TRUE
|
|
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
|