mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Added the Xanan dNAC-6.5 assault rifle (#17613)
Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
@@ -356,6 +356,21 @@
|
||||
/obj/item/ammo_magazine/a556/makeshift/empty
|
||||
initial_ammo = 0
|
||||
|
||||
/obj/item/ammo_magazine/a65
|
||||
name = "magazine (6.5mm)"
|
||||
icon_state = "c6.5mm"
|
||||
origin_tech = list(TECH_COMBAT = 3)
|
||||
mag_type = MAGAZINE
|
||||
caliber = "a65"
|
||||
insert_sound = /singleton/sound_category/rifle_slide_reload
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 1800)
|
||||
ammo_type = /obj/item/ammo_casing/a65
|
||||
max_ammo = 20
|
||||
multiple_sprites = 1
|
||||
|
||||
/obj/item/ammo_magazine/a65/empty
|
||||
initial_ammo = 0
|
||||
|
||||
/obj/item/ammo_magazine/a75
|
||||
name = "ammo magazine (20mm)"
|
||||
icon_state = "75"
|
||||
|
||||
@@ -262,6 +262,15 @@
|
||||
desc = "A 5.56mm blank casing."
|
||||
projectile_type = /obj/item/projectile/bullet/blank
|
||||
|
||||
/obj/item/ammo_casing/a65
|
||||
desc = "A 6.5mm bullet casing."
|
||||
desc_extended = "Designed by de Namur not long after the interstellar war, the 6.5mmx40mm cartridge, designed to fit the needs of Xanu's military while going away from the legacy of NATO rounds used by the Sol Alliance. This cartridge has been wildly successful, and has been adopted by the majority of the Coalition of Colonies and beyond."
|
||||
caliber = "a65"
|
||||
projectile_type = /obj/item/projectile/bullet/rifle/a65
|
||||
icon_state = "rifle-casing"
|
||||
spent_icon = "rifle-casing-spent"
|
||||
max_stack = 7
|
||||
|
||||
/obj/item/ammo_casing/rocket
|
||||
name = "rocket shell"
|
||||
desc = "A high explosive designed to be fired from a launcher."
|
||||
|
||||
@@ -565,6 +565,26 @@
|
||||
..()
|
||||
icon_state = (ammo_magazine)? "owen" : "owen-empty"
|
||||
|
||||
/obj/item/gun/projectile/automatic/rifle/dnac
|
||||
name = "dNAC-6.5 assault rifle"
|
||||
desc = "A durable, sleek-looking bullpup rifle manufactured by d.N.A Defense & Aerospace for the All-Xanu Armed Forces. This model has been adopted by a majority of the Coalition's military forces as well due to its simplicity and reliability."
|
||||
icon = 'icons/obj/guns/xanu_rifle.dmi'
|
||||
icon_state = "xanu_rifle"
|
||||
item_state = "xanu_rifle"
|
||||
magazine_type = /obj/item/ammo_magazine/a65
|
||||
allowed_magazines = list(/obj/item/ammo_magazine/a65)
|
||||
caliber = "a65"
|
||||
|
||||
firemodes = list(
|
||||
list(mode_name="semiauto", burst=1, fire_delay=ROF_RIFLE),
|
||||
list(mode_name="3-round bursts", burst=3, burst_accuracy=list(1,0,0), dispersion=list(0, 5, 10)),
|
||||
list(mode_name="full auto", can_autofire=1, burst=1, fire_delay=5, fire_delay_wielded=2, one_hand_fa_penalty=12, burst_accuracy = list(0,-1,-1,-2,-2,-2,-3,-3), dispersion = list(5, 10, 15, 20, 25)),
|
||||
)
|
||||
|
||||
/obj/item/gun/projectile/automatic/rifle/dnac/update_icon()
|
||||
..()
|
||||
icon_state = (ammo_magazine)? "xanu_rifle" : "xanu_rifle-empty"
|
||||
|
||||
/obj/item/gun/projectile/automatic/railgun
|
||||
name = "railgun"
|
||||
desc = "An advanced rifle that magnetically propels hyperdense rods at breakneck speeds to devastating effect."
|
||||
|
||||
@@ -280,6 +280,11 @@
|
||||
armor_penetration = 34
|
||||
penetrating = FALSE
|
||||
|
||||
/obj/item/projectile/bullet/rifle/a65
|
||||
damage = 30
|
||||
armor_penetration = 30
|
||||
penetrating = FALSE
|
||||
|
||||
/obj/item/projectile/bullet/rifle/a145
|
||||
damage = 80
|
||||
stun = 3
|
||||
|
||||
Reference in New Issue
Block a user