Fixes more monkey HUD issues

This commit is contained in:
Krausus
2015-06-05 03:16:52 -04:00
parent a8d1313e7f
commit 1cbacdb36d
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ datum/hud/New(mob/owner)
var/ui_alpha = mymob.client.prefs.UI_style_alpha
if(issmall(mymob))
monkey_hud(ui_style)
monkey_hud(ui_style, ui_color, ui_alpha)
else if(ishuman(mymob))
human_hud(ui_style, ui_color, ui_alpha) // Pass the player the UI style chosen in preferences
else if(isbrain(mymob))
+4
View File
@@ -154,6 +154,8 @@
inv_box.screen_loc = ui_monkey_mask
inv_box.slot_id = slot_wear_mask
inv_box.layer = 19
inv_box.color = ui_color
inv_box.alpha = ui_alpha
src.adding += inv_box
inv_box = new /obj/screen/inventory()
@@ -164,6 +166,8 @@
inv_box.screen_loc = ui_back
inv_box.slot_id = slot_back
inv_box.layer = 19
inv_box.color = ui_color
inv_box.alpha = ui_alpha
src.adding += inv_box
mymob.throw_icon = new /obj/screen()
+4 -4
View File
@@ -41,7 +41,7 @@
H.set_species(H.species.primitive_form)
if(H.hud_used)
H.hud_used.monkey_hud()
H.hud_used.instantiate()
H << "<B>You are now a [H.species.name]. </B>"
qdel(animation)
@@ -79,11 +79,11 @@
H.gib()
return
if(H.hud_used)
H.hud_used.human_hud()
H.set_species(H.species.greater_form)
if(H.hud_used)
H.hud_used.instantiate()
H << "<B>You are now a [H.species.name]. </B>"
qdel(animation)