Adds emp shotgun shells, not yet obtainable.

This commit is contained in:
Anewbe
2016-09-25 14:31:42 -05:00
parent b92334a9ac
commit e65b0851f3
5 changed files with 32 additions and 1 deletions

View File

@@ -144,6 +144,14 @@
projectile_type = /obj/item/projectile/energy/flash/flare
matter = list(DEFAULT_WALL_MATERIAL = 90, "glass" = 90)
/obj/item/ammo_casing/shotgun/emp
name = "ion shell"
desc = "An advanced shotgun round that creates a small EMP when it strikes a target."
icon_state = "empshell"
projectile_type = /obj/item/projectile/bullet/shotgun/ion
matter = list(DEFAULT_WALL_MATERIAL = 360, "glass" = 720)
/obj/item/ammo_casing/a762
desc = "A 7.62mm bullet casing."
caliber = "a762"

View File

@@ -168,6 +168,19 @@
range_step = 1
spread_step = 10
//EMP shotgun 'slug', it's basically a beanbag that pops a tiny emp when it hits.
/obj/item/projectile/bullet/shotgun/ion
name = "ion slug"
damage = 15
embed = 0
sharp = 0
check_armour = "melee"
/obj/item/projectile/bullet/shotgun/ion/on_hit(var/atom/target, var/blocked = 0)
..()
empulse(target, 0, 0) //Only affects what it hits
return 1
/* "Rifle" rounds */
/obj/item/projectile/bullet/rifle

View File

@@ -14,7 +14,6 @@
empulse(target, 1, 1)
return 1
/obj/item/projectile/bullet/gyro
name ="explosive bolt"
icon_state= "bolter"