mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Fix issue 930: The standard module now has working eye-lights.
This is based on a patch created by Aranclanos, http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=10123 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4732 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -63,6 +63,7 @@
|
|||||||
|
|
||||||
ident = rand(1, 999)
|
ident = rand(1, 999)
|
||||||
updatename("Default")
|
updatename("Default")
|
||||||
|
updateicon()
|
||||||
|
|
||||||
if(!cell)
|
if(!cell)
|
||||||
cell = new /obj/item/weapon/cell(src)
|
cell = new /obj/item/weapon/cell(src)
|
||||||
@@ -759,6 +760,9 @@
|
|||||||
overlays = null
|
overlays = null
|
||||||
if(stat == 0)
|
if(stat == 0)
|
||||||
overlays += "eyes"
|
overlays += "eyes"
|
||||||
|
if(icon_state == "robot")
|
||||||
|
overlays = null
|
||||||
|
overlays += "eyes-standard"
|
||||||
if(icon_state == "toiletbot")
|
if(icon_state == "toiletbot")
|
||||||
overlays = null
|
overlays = null
|
||||||
overlays += "eyes-toiletbot"
|
overlays += "eyes-toiletbot"
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
Reference in New Issue
Block a user