Gives mech autocannon projectiles their own entry with unique sprite and lighting, also makes it a bit louder.

This commit is contained in:
Serithi
2022-03-26 21:31:51 -07:00
parent 5c1be8a040
commit 069adff1a3
3 changed files with 17 additions and 3 deletions

View File

@@ -257,6 +257,17 @@
fire_sound = 'sound/weapons/gunshot4.ogg'
damage = 50
/* Mech rounds */
/obj/item/projectile/bullet/mech/autocannon // Splitting it off from the original pistol/medium to give it its own sprite and potentially separate damage values later on.
icon_state = "mech_autocannon"
fire_sound = 'sound/weapons/mech_autocannon.ogg' // Doesn't actually work for the mech autocannon normally in my testing, putting it here in case anything else wants to use the sound.
light_range = 2
light_power = 0.5
light_color = "#FF7F01"
plane = PLANE_LIGHTING_ABOVE // I don't know if this actually does anything here but nothing breaks and the end result works soooo
damage = 25
/* Miscellaneous */
/obj/item/projectile/bullet/suffocationbullet//How does this even work?
@@ -358,7 +369,7 @@
agony = 0
embed_chance = 0
sharp = FALSE
silenced = TRUE
silenced = TRUE
/obj/item/projectile/bullet/pellet/shotgun/bb // Shotgun
name = "BB"