mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 09:32:21 +00:00
* 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:  ## Changelog 🆑 fix: Desert Eagles can no longer load .50 BMG sniper rifle rounds and vice versa. /🆑 * Prevents desert eagles from loading sniper rounds (and vice versa) * Update projectiles.dm * Update guns.dm --------- Co-authored-by: ynot01 <ynot000001@gmail.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
/obj/item/ammo_box/magazine/sniper_rounds
|
|
name = "anti-materiel sniper rounds (.50 BMG)"
|
|
icon_state = ".50mag"
|
|
base_icon_state = ".50mag"
|
|
ammo_type = /obj/item/ammo_casing/p50
|
|
max_ammo = 6
|
|
caliber = CALIBER_50BMG
|
|
|
|
/obj/item/ammo_box/magazine/sniper_rounds/update_icon_state()
|
|
. = ..()
|
|
icon_state = "[base_icon_state][ammo_count() ? "-ammo" : ""]"
|
|
|
|
/obj/item/ammo_box/magazine/sniper_rounds/surplus
|
|
name = "anti-materiel sniper rounds (.50 BMG Surplus)"
|
|
icon_state = "surplus"
|
|
base_icon_state = "surplus"
|
|
ammo_type = /obj/item/ammo_casing/p50/surplus
|
|
|
|
/obj/item/ammo_box/magazine/sniper_rounds/disruptor
|
|
name = "anti-materiel sniper rounds (.50 BMG Bzzt)"
|
|
desc = "Disruptor sniper rounds. A special blend of soporific chemicals \
|
|
and a electromagnetic payload to cause anything to come to a grinding halt."
|
|
base_icon_state = "disruptor"
|
|
ammo_type = /obj/item/ammo_casing/p50/disruptor
|
|
|
|
/obj/item/ammo_box/magazine/sniper_rounds/incendiary
|
|
name = "anti-materiel sniper rounds (.50 BMG incendiary)"
|
|
desc = "Incediary sniper rounds. Causes a massive combustion at the site of impact."
|
|
base_icon_state = "incendiary"
|
|
ammo_type = /obj/item/ammo_casing/p50/incendiary
|
|
|
|
/obj/item/ammo_box/magazine/sniper_rounds/penetrator
|
|
name = "anti-materiel sniper rounds (.50 BMG penetrator)"
|
|
desc = "An extremely powerful round capable of passing straight through cover and anyone unfortunate enough to be behind it."
|
|
base_icon_state = "penetrator"
|
|
ammo_type = /obj/item/ammo_casing/p50/penetrator
|
|
|
|
/obj/item/ammo_box/magazine/sniper_rounds/marksman
|
|
name = "anti-materiel sniper rounds (.50 BMG marksman)"
|
|
desc = "An extremely fast sniper round able to pretty much instantly shoot through something."
|
|
base_icon_state = "marksman"
|
|
ammo_type = /obj/item/ammo_casing/p50/marksman
|