Files
Bubberstation/code/modules/projectiles/ammunition/ballistic/sniper.dm
ynot01 27650dac1d Prevents desert eagles from loading sniper rounds (and vice versa) (#75382)
## About The Pull Request

This splits CALIBER_50 into CALIBER_50BMG and CALIBER_50AE, setting the
sniper rifle to use the former and the deagle to use the latter.
## Why It's Good For The Game

Prevents each of these weapons from loading calibers that they are not
intended to.

Recorded from yogs:


![teS5bum](https://github.com/tgstation/tgstation/assets/28408322/856a8af0-2fd4-40a2-b473-0bea160028e4)
## Changelog
🆑
fix: Desert Eagles can no longer load .50 BMG sniper rifle rounds and
vice versa.
/🆑
2023-05-13 00:04:07 -07:00

35 lines
1.1 KiB
Plaintext

// .50 (Sniper)
/obj/item/ammo_casing/p50
name = ".50 BMG bullet casing"
desc = "A .50 BMG bullet casing."
caliber = CALIBER_50BMG
projectile_type = /obj/projectile/bullet/p50
icon_state = ".50"
/obj/item/ammo_casing/p50/surplus
name = ".50 BMG surplus bullet casing"
desc = "A .50 BMG surplus bullet casing."
projectile_type = /obj/projectile/bullet/p50/surplus
/obj/item/ammo_casing/p50/disruptor
name = ".50 BMG disruptor bullet casing"
desc = "A .50 BMG disruptor bullet casing."
projectile_type = /obj/projectile/bullet/p50/disruptor
icon_state = ".50disruptor"
/obj/item/ammo_casing/p50/incendiary
name = ".50 BMG incendiary bullet casing"
desc = "A .50 BMG incendiary bullet casing."
projectile_type = /obj/projectile/bullet/p50/incendiary
/obj/item/ammo_casing/p50/penetrator
name = ".50 BMG penetrator round bullet casing"
desc = "A .50 BMG penetrator round casing."
projectile_type = /obj/projectile/bullet/p50/penetrator
/obj/item/ammo_casing/p50/marksman
name = ".50 BMG marksman round bullet casing"
desc = "A .50 caliber marksman round casing."
projectile_type = /obj/projectile/bullet/p50/marksman