Merge pull request #3805 from Menshin/hud_and_pulling

Non-human HUD polishing (stop pulling and intent buttons)
This commit is contained in:
Cheridan
2014-06-13 17:58:49 -05:00
5 changed files with 13 additions and 4 deletions
+1
View File
@@ -72,6 +72,7 @@
using = new /obj/screen()
using.name = "act_intent"
using.icon = 'icons/mob/screen_alien.dmi'
using.icon_state = mymob.a_intent
using.screen_loc = ui_acti
using.layer = 20
+1
View File
@@ -6,6 +6,7 @@
using = new /obj/screen()
using.name = "act_intent"
using.icon = 'icons/mob/screen_alien.dmi'
using.icon_state = mymob.a_intent
using.screen_loc = ui_acti
using.layer = 20
+1
View File
@@ -7,6 +7,7 @@
using = new /obj/screen()
using.name = "act_intent"
using.icon = ui_style
using.icon_state = mymob.a_intent
using.screen_loc = ui_acti
using.layer = 20
@@ -326,8 +326,11 @@
else
healths.icon_state = "health6"
if(pullin) pullin.icon_state = "pull[pulling ? 1 : 0]"
if(pullin)
if(pulling)
pullin.icon_state = "pull"
else
pullin.icon_state = "pull0"
if (toxin) toxin.icon_state = "tox[toxins_alert ? 1 : 0]"
if (oxygen) oxygen.icon_state = "oxy[oxygen_alert ? 1 : 0]"
@@ -511,8 +511,11 @@
if(pressure)
pressure.icon_state = "pressure[pressure_alert]"
if(pullin) pullin.icon_state = "pull[pulling ? 1 : 0]"
if(pullin)
if(pulling)
pullin.icon_state = "pull"
else
pullin.icon_state = "pull0"
if (toxin) toxin.icon_state = "tox[toxins_alert ? 1 : 0]"
if (oxygen) oxygen.icon_state = "oxy[oxygen_alert ? 1 : 0]"