Adds chemical meter on HUD.

This commit is contained in:
Neerti
2015-09-04 16:57:55 -04:00
parent 73f13d8084
commit e4267ea449
5 changed files with 21 additions and 0 deletions
@@ -1447,6 +1447,12 @@
/mob/living/carbon/human/proc/handle_changeling()
if(mind && mind.changeling)
mind.changeling.regenerate()
if(hud_used)
ling_chem_display.invisibility = 0
ling_chem_display.maptext = "<div align='center' valign='middle' style='position:relative; top:0px; left:6px'><font color='#dd66dd'>[round(mind.changeling.chem_charges)]</font></div>"
else
if(mind && hud_used)
ling_chem_display.invisibility = 101
/mob/living/carbon/human/handle_shock()
..()
+1
View File
@@ -33,6 +33,7 @@
var/obj/screen/gun/move/gun_move_icon = null
var/obj/screen/gun/run/gun_run_icon = null
var/obj/screen/gun/mode/gun_setting_icon = null
var/obj/screen/ling/chems/ling_chem_display = null
//spells hud icons - this interacts with add_spell and remove_spell
var/list/obj/screen/movable/spell_master/spell_masters = null