system_integrity from bay.

This commit is contained in:
eswordthecat
2014-11-23 19:01:26 -08:00
parent 2cb40796a5
commit c7e51a0adb
5 changed files with 13 additions and 9 deletions

View File

@@ -420,7 +420,7 @@ ________________________________________________________________________________
// AUTOFIXED BY fix_string_idiocy.py
// C:\Users\Rob\Documents\Projects\vgstation13\code\game\gamemodes\events\ninja_equipment.dm:416: dat += "Stored AI: <b>[A.name]</b><br>"
dat += {"Stored AI: <b>[A.name]</b><br>
System integrity: [(A.health+100)/2]%<br>"}
System integrity: [A.system_integrity()]%<br>"}
// END AUTOFIX
//I personally think this makes things a little more fun. Ninjas can override all but law 0.
//if (A.laws.zeroth)

View File

@@ -43,7 +43,7 @@
if (src.occupant)
var/laws
dat += "Stored AI: [src.occupant.name]<br>System integrity: [(src.occupant.health+100)/2]%<br>"
dat += "Stored AI: [src.occupant.name]<br>System integrity: [src.occupant.system_integrity()]%<br>"
if (src.occupant.laws.zeroth)
laws += "0: [src.occupant.laws.zeroth]<BR>"

View File

@@ -38,7 +38,7 @@
var/dat = "<TT><B>Intelicard</B><BR>"
var/laws
for(var/mob/living/silicon/ai/A in src)
dat += "Stored AI: [A.name]<br>System integrity: [(A.health+100)/2]%<br>"
dat += "Stored AI: [A.name]<br>System integrity: [A.system_integrity()]%<br>"
//AI DIDN'T KILL SOMEONE FOR ME, CARD HER TO CHECK HER LAWS