Francisca Fragmentation Ammo (#15848)

This commit is contained in:
TheDanseMacabre
2023-02-20 17:34:01 -05:00
committed by GitHub
parent f003d81da4
commit 986991c135
14 changed files with 208 additions and 12 deletions

View File

@@ -15,7 +15,7 @@
/obj/item/ship_ammunition/francisca
name = "40mm FMJ ammunition box"
name_override = "40mm FMJ burst"
desc = "A box of FMJ bullets for use in a Francisca rotary gun."
desc = "A box of FMJ shells for use in a Francisca rotary gun."
icon = 'icons/obj/guns/ship/ship_ammo_rotary.dmi'
icon_state = "box_fmj"
overmap_icon_state = "cannon_salvo"
@@ -28,20 +28,38 @@
/obj/item/ship_ammunition/francisca/ap
name = "40mm AP ammunition box"
name_override = "40mm AP burst"
desc = "A box of AP bullets for use in a Francisca rotary gun."
desc = "A box of AP shells for use in a Francisca rotary gun."
icon_state = "box_ap"
impact_type = SHIP_AMMO_IMPACT_AP
projectile_type_override = /obj/item/projectile/ship_ammo/francisca/ap
/obj/item/ship_ammunition/francisca/frag
name = "40mm fragmentation ammunition box"
name_override = "40mm FRAG burst"
desc = "A box of fragmentation shells for use in a Francisca rotary gun."
icon_state = "box_inc"
impact_type = SHIP_AMMO_IMPACT_HE
projectile_type_override = /obj/item/projectile/ship_ammo/francisca/frag
/obj/item/projectile/ship_ammo/francisca
name = "40mm FMJ bullet"
name = "40mm FMJ shell"
icon_state = "small"
damage = 50
armor_penetration = 50
penetrating = 2
/obj/item/projectile/ship_ammo/francisca/ap
name = "40mm AP bullet"
name = "40mm AP shell"
damage = 30
armor_penetration = 100
penetrating = 4
/obj/item/projectile/ship_ammo/francisca/frag
name = "40mm FRAG shell"
damage = 30
armor_penetration = 50
penetrating = 1
/obj/item/projectile/ship_ammo/francisca/frag/on_impact(var/atom/A)
fragem(src, 70, 70, 1, 2, 10, 4, TRUE)
..()