[MIRROR] circuit diagnostic status icon changes (#6019)
* circuit diagnostic status icon changes * circuit diagnostic status icon changes (#36218) * circuit diagnostic hud revisit warning icon replaced with red versions of prefered icons, new icons added to the AR interface * did this fix it? * ok how about now put all the new icons at the end of the file instead of at different places inside
This commit is contained in:
committed by
Poojawa
parent
c8004a088e
commit
889ff6fa08
@@ -446,14 +446,14 @@
|
||||
var/image/holder = hud_list[DIAG_STAT_HUD]
|
||||
var/icon/I = icon(icon, icon_state, dir)
|
||||
holder.pixel_y = I.Height() - world.icon_size
|
||||
if((!isturf(loc))||hide) //if not on the ground dont show overlay
|
||||
if((!isturf(loc))||hide) //if not on the ground don't show overlay
|
||||
holder.icon_state = null
|
||||
else if(!battery)
|
||||
holder.icon_state = "hudoffline"
|
||||
else if(battery.charge == 0)
|
||||
holder.icon_state = "hudoffline"
|
||||
else if(combat_circuits) //has a circuit that can harm people
|
||||
holder.icon_state = "hudwarn"
|
||||
holder.icon_state = prefered_hud_icon + "-red"
|
||||
else //Bot is on and not dangerous
|
||||
holder.icon_state = prefered_hud_icon
|
||||
|
||||
|
||||
@@ -345,10 +345,14 @@
|
||||
/obj/item/integrated_circuit/output/diagnostic_hud
|
||||
name = "AR interface"
|
||||
desc = "Takes an icon name as an input, and will update the status hud when data is written to it."
|
||||
extended_desc = "Takes an icon name as an input, and will update the status hud when data is written to it, this means it can change the icon and have the icon stay that way even if the circuit is removed. The acceptable inputs are 'alert' and 'move'. Any input other than that will return the icon to its default state. The danger warning and offline status will appear over any input from this circuit."
|
||||
extended_desc = "Takes an icon name as an input, and will update the status hud when data is written to it, this means it can change the icon and have the icon stay that way even if the circuit is removed. The acceptable inputs are 'alert', 'move', 'working', 'patrol', 'called', and 'heart'. Any input other than that will return the icon to its default state."
|
||||
var/list/icons = list(
|
||||
"alert" = "hudalert",
|
||||
"move" = "hudmove"
|
||||
"move" = "hudmove",
|
||||
"working" = "hudworkingleft",
|
||||
"patrol" = "hudpatrolleft",
|
||||
"called" = "hudcalledleft",
|
||||
"heart" = "hudsentientleft"
|
||||
)
|
||||
complexity = 1
|
||||
icon_state = "led"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user