diff --git a/code/datums/autolathe/arms.dm b/code/datums/autolathe/arms.dm index 769aa0b2b62..f06a10c61c4 100644 --- a/code/datums/autolathe/arms.dm +++ b/code/datums/autolathe/arms.dm @@ -159,9 +159,18 @@ path =/obj/item/ammo_magazine/m762 hidden = 1 -/datum/category_item/autolathe/arms/shotgun_magazine - name = "24rnd shotgun magazine (12g)" - path =/obj/item/ammo_magazine/m12gdrum +/datum/category_item/autolathe/arms/shotgun_clip_slug + name = "4-round 12g shell clip (slug)" + path =/obj/item/ammo_magazine/clip/c12g + +/datum/category_item/autolathe/arms/shotgun_clip_pellet + name = "4-round 12g shell clip (buckshot)" + path =/obj/item/ammo_magazine/clip/c12g/pellet + hidden = 1 + +/datum/category_item/autolathe/arms/shotgun_clip_beanbag + name = "4-round 12g shell clip (beanbag)" + path =/obj/item/ammo_magazine/clip/c12g/beanbag hidden = 1 /* diff --git a/code/modules/projectiles/ammunition/magazines.dm b/code/modules/projectiles/ammunition/magazines.dm index 50fce97f392..05833d05683 100644 --- a/code/modules/projectiles/ammunition/magazines.dm +++ b/code/modules/projectiles/ammunition/magazines.dm @@ -467,7 +467,7 @@ icon_state = "12g" mag_type = MAGAZINE caliber = "12g" - matter = list(DEFAULT_WALL_MATERIAL = 2200) + matter = list(DEFAULT_WALL_MATERIAL = 13000) //did the math. now fixed the exploityness of this thing. Have fun! ammo_type = /obj/item/ammo_casing/a12g max_ammo = 24 multiple_sprites = 1 @@ -511,4 +511,32 @@ ammo_type = /obj/item/ammo_casing/cap matter = list(DEFAULT_WALL_MATERIAL = 600) max_ammo = 7 - multiple_sprites = 1 \ No newline at end of file + multiple_sprites = 1 + + +/obj/item/ammo_magazine/clip/c12g + name = "ammo clip (12g slug)" + icon_state = "12gclip_s" //largely a codersprite, looks good enough. feel free to make a better one. + desc = "A color-coded metal clip for holding and quickly loading shotgun shells. This one is loaded with slugs." + caliber = "12g" + ammo_type = /obj/item/ammo_casing/a12g + matter = list(DEFAULT_WALL_MATERIAL = 1790) // slugs shells x4 + 350 metal for the clip itself. + max_ammo = 4 + +/obj/item/ammo_magazine/clip/c12g/pellet + name = "ammo clip (12g buckshot)" + icon_state = "12gclip_p" + desc = "A color-coded metal clip for holding and quickly loading shotgun shells. This one is loaded with buckshot." + ammo_type = /obj/item/ammo_casing/a12g/pellet + matter = list(DEFAULT_WALL_MATERIAL = 1790) // buckshot and slugs cost the same + +/obj/item/ammo_magazine/clip/c12g/beanbag + name = "ammo clip (12g beanbag)" + icon_state = "12gclip_bean" + desc = "A color-coded metal clip for holding and quickly loading shotgun shells. This one is loaded with beanbags." + ammo_type = /obj/item/ammo_casing/a12g/beanbag + matter = list(DEFAULT_WALL_MATERIAL = 1070) //beanbags x4 + 350 metal + + + + diff --git a/code/modules/projectiles/guns/projectile/shotgun.dm b/code/modules/projectiles/guns/projectile/shotgun.dm index bc14bb94256..2f4ba9d978c 100644 --- a/code/modules/projectiles/guns/projectile/shotgun.dm +++ b/code/modules/projectiles/guns/projectile/shotgun.dm @@ -10,7 +10,7 @@ slot_flags = SLOT_BACK caliber = "12g" origin_tech = list(TECH_COMBAT = 4, TECH_MATERIAL = 2) - load_method = SINGLE_CASING + load_method = SINGLE_CASING|SPEEDLOADER ammo_type = /obj/item/ammo_casing/a12g/beanbag handle_casings = HOLD_CASINGS fire_sound = 'sound/weapons/shotgun.ogg' @@ -49,6 +49,7 @@ origin_tech = list(TECH_COMBAT = 5, TECH_MATERIAL = 2) max_shells = 7 //match the ammo box capacity, also it can hold a round in the chamber anyways, for a total of 8. ammo_type = /obj/item/ammo_casing/a12g + load_method = SINGLE_CASING|SPEEDLOADER /obj/item/weapon/gun/projectile/shotgun/doublebarrel name = "double-barreled shotgun" diff --git a/icons/obj/ammo.dmi b/icons/obj/ammo.dmi index b105cb9e122..8b9850f164b 100644 Binary files a/icons/obj/ammo.dmi and b/icons/obj/ammo.dmi differ