VS: Resolves #2599 - Dogborgs now use eye-flashlight sprites

This commit is contained in:
Arokha Sieyes
2018-03-20 18:28:00 -04:00
parent 70723930ff
commit ab806adc44
2 changed files with 3 additions and 0 deletions

View File

@@ -360,6 +360,7 @@
lights_on = !lights_on
usr << "You [lights_on ? "enable" : "disable"] your integrated light."
handle_light()
updateicon() //VOREStation Add - Since dogborgs have sprites for this
/mob/living/silicon/robot/verb/self_diagnosis_verb()
set category = "Robot Commands"

View File

@@ -52,6 +52,8 @@
add_overlay("laser")
if(istype(module_active,/obj/item/weapon/gun/energy/taser/mounted/cyborg))
add_overlay("taser")
if(lights_on)
add_overlay("eyes-[module_sprites[icontype]]-lights")
if(resting)
cut_overlays() // Hide that gut for it has no ground sprite yo.
icon_state = "[module_sprites[icontype]]-rest"