Fixes Bugged Modular Laser Component Sprites (#13576)

This commit is contained in:
SleepyGemmy
2022-04-19 11:30:26 +02:00
committed by GitHub
parent 5cd3ff551c
commit 868faaa7e0
2 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
/obj/item/laser_components
icon = 'icons/obj/guns/modular_laser.dmi'
var/base_icon_state = "bfg"
icon_state = "bfg"
contained_sprite = TRUE
var/reliability = 0
var/damage = 1
@@ -69,7 +69,7 @@
/obj/item/laser_components/capacitor
name = "capacitor"
desc = "A basic laser weapon capacitor."
base_icon_state = "capacitor"
icon_state = "capacitor"
shots = 5
damage = 10
reliability = 50
@@ -104,7 +104,7 @@
/obj/item/laser_components/focusing_lens
name = "focusing lens"
desc = "A basic laser weapon focusing lens."
base_icon_state = "lens"
icon_state = "lens"
var/list/dispersion = list(0.6,1.0,1.0,1.0,1.2,0.6,1.0,1.0,1.0,1.2,0.6,1.0,1.0,1.0,1.2,0.6,1.0,1.0,1.0,1.2)
reliability = 25
repair_item = /obj/item/stack/nanopaste
@@ -128,7 +128,7 @@
/obj/item/laser_components/modulator
name = "laser modulator"
desc = "A modification that modulates the beam into a standard laser beam."
base_icon_state = "laser"
icon_state = "laser"
origin_tech = list(TECH_COMBAT = 1, TECH_MAGNET = 2)
var/obj/item/projectile/beam/projectile = /obj/item/projectile/beam
var/firing_sound = 'sound/weapons/laser1.ogg'