anchor.diff:  	name = "magrifle magazine (lethal)"
   	icon = 'modular_citadel/icons/obj/guns/cit_guns.dmi'
   	icon_state = "mediummagmag"
  -	ammo_type = /obj/item/ammo_casing/caseless/amagm
  +	ammo_type = /obj/item/ammo_casing/energy/mag/amagm
   	max_ammo = 24
   
   ///the gun itself///
   
  -/obj/item/gun/ballistic/automatic/magrifle
  +/obj/item/gun/mag/automatic/magrifle
   	name = "\improper Magnetic Rifle"
   	desc = "A simple upscalling of the technologies used in the magpistol, the magrifle is capable of firing slightly larger slugs in bursts. Compatible with the magpistol's slugs."
   	icon = 'modular_citadel/icons/obj/guns/cit_guns.dmi'
   	icon_state = "magrifle"
   	item_state = "arg"
   	slot_flags = 0
  +	cell_type = /obj/item/stock_parts/cell/magrifle
   	mag_type = /obj/item/ammo_box/magazine/mmag
   	fire_sound = 'sound/weapons/magrifle.ogg'
   	can_suppress = 0
  
positive.code: 
  /////actual ammo/////
  
  /obj/item/ammo_casing/caseless/amags
  	desc = "A ferromagnetic slug intended to be launched out of a compatible weapon."
  	caliber = "mags"
  	icon = 'modular_citadel/icons/obj/guns/cit_guns.dmi'
  	icon_state = "mag-casing-live"
  	projectile_type = /obj/item/projectile/bullet/mags
  
  /obj/item/ammo_casing/caseless/anlmags
  	desc = "A specialized ferromagnetic slug designed with a less-than-lethal payload."
  	caliber = "mags"
  	icon = 'modular_citadel/icons/obj/guns/cit_guns.dmi'
  	icon_state = "mag-casing-live"
  	projectile_type = /obj/item/projectile/bullet/nlmags
  
  //////magazines/////
  
negative.code: 	id = "magpisol"
  	build_type = PROTOLATHE
  	materials = list(MAT_METAL = 7500, MAT_GLASS = 1000, MAT_URANIUM = 1000, MAT_TITANIUM = 5000, MAT_SILVER = 2000)
  	build_path = /obj/item/gun/mag/automatic/pistol/mag/nopin
  	category = list("Weapons")
  	departmental_flags = DEPARTMENTAL_FLAG_SECURITY
  
  