Sets KEEP_TOGETHER appearance_flag for humans, energy draining text updated to DisplayPower (#31150)

* Hides ninja socks, draining updated to DisplayPower

* CB

* KEEP_TOGETHER
This commit is contained in:
ShizCalev
2017-10-04 17:29:19 -04:00
committed by CitadelStationBot
parent 282dcb3c16
commit 4d23dd56b8
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
voice_name = "Unknown"
icon = 'icons/mob/human.dmi'
icon_state = "caucasian_m"
appearance_flags = KEEP_TOGETHER|TILE_BOUND|PIXEL_SCALE
/mob/living/carbon/human/Initialize()
verbs += /mob/living/proc/mob_sleep

View File

@@ -63,7 +63,7 @@
if(isnum(.)) //Numerical values of drained handle their feedback here, Alpha values handle it themselves (Research hacking)
if(.)
to_chat(H, "<span class='notice'>Gained <B>[.]</B> energy from \the [A].</span>")
to_chat(H, "<span class='notice'>Gained <B>[DisplayPower(.)]</B> of energy from [A].</span>")
else
to_chat(H, "<span class='danger'>\The [A] has run dry of power, you must find another source!</span>")
else