AI HUD color update, add icon for sensors

This commit is contained in:
Markolie
2014-12-04 22:20:32 +01:00
parent bd97e02524
commit d0e9752931
4 changed files with 19 additions and 1 deletions
+2 -1
View File
@@ -157,4 +157,5 @@
#define ui_ai_pda_send "SOUTH:6,WEST+10:16"
#define ui_ai_pda_log "SOUTH:6,WEST+11:16"
#define ui_ai_take_picture "SOUTH:6,WEST+12:16"
#define ui_ai_view_images "SOUTH:6,WEST+13:16"
#define ui_ai_view_images "SOUTH:6,WEST+13:16"
#define ui_ai_sensor "SOUTH:6,WEST+14:16"
+12
View File
@@ -129,6 +129,18 @@
using.screen_loc = ui_ai_view_images
using.layer = 20
adding += using
//Medical/Security sensors
using = new /obj/screen()
using.name = "Toggle Sensors"
using.icon = 'icons/mob/screen_ai.dmi'
using.icon_state = "ai_sensor"
using.screen_loc = ui_ai_sensor
using.layer = 20
adding += using
mymob.client.screen += adding + other
return
mymob.client.screen += adding + other
+5
View File
@@ -548,6 +548,11 @@
if(isAI(usr))
var/mob/living/silicon/ai/AI = usr
AI.aiCamera.viewpictures()
if("Toggle Sensors")
if(isAI(usr))
var/mob/living/silicon/ai/AI = usr
AI.control_hud()
else
return 0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB