diff --git a/code/modules/mob/living/silicon/silicon.dm b/code/modules/mob/living/silicon/silicon.dm index adbddb736ff..def23817765 100644 --- a/code/modules/mob/living/silicon/silicon.dm +++ b/code/modules/mob/living/silicon/silicon.dm @@ -6,7 +6,7 @@ var/datum/ai_laws/laws = null//Now... THEY ALL CAN ALL HAVE LAWS immune_to_ssd = 1 var/list/hud_list[9] - var/list/speech_synthesizer_langs = list() //which languages can be vocalized by the speech synthesizer + var/list/speech_synthesizer_langs = list() //which languages can be vocalized by the speech synthesizer /mob/living/silicon/proc/show_laws() return @@ -80,7 +80,7 @@ // this function shows the health of the pAI in the Status panel /mob/living/silicon/proc/show_system_integrity() if(!src.stat) - stat(null, text("System integrity: [(src.health+100)/2]%")) + stat(null, text("System integrity: [round((health/maxHealth)*100)]%")) else stat(null, text("Systems nonfunctional")) @@ -157,4 +157,4 @@ dat += "[L.name] (:[L.key])
Speech Synthesizer: [(L in speech_synthesizer_langs)? "YES":"NOT SUPPORTED"]
[L.desc]

" src << browse(dat, "window=checklanguage") - return + return