Little QOL change for AI cyborg display power (#83625)

## About The Pull Request

Slightly changes the formating from ugly 1e777 numbers to neat Jules
format.
## FROM 

![image](https://github.com/tgstation/tgstation/assets/81807356/755d4e2f-feed-4aa5-afed-e3f6f410910c)
## TO 

![image](https://github.com/tgstation/tgstation/assets/81807356/1e276476-afa7-46f2-a5a2-ef2a245a4fa2)

## Why It's Good For The Game

Much prettier stat panel and easier to read

## Changelog
🆑
qol: Cyborgs on AI statpanel now have jules energy format. 
/🆑
This commit is contained in:
Erol509
2024-06-06 10:17:34 +01:00
committed by GitHub
parent 413dc66af1
commit f6569b4a14
+2 -2
View File
@@ -42,7 +42,7 @@
var/obj/machinery/ai_voicechanger/ai_voicechanger = null // reference to machine that holds the voicechanger
var/malfhacking = FALSE // More or less a copy of the above var, so that malf AIs can hack and still get new cyborgs -- NeoFite
/// List of hacked APCs
var/list/hacked_apcs = list()
var/list/hacked_apcs = list()
var/malf_cooldown = 0 //Cooldown var for malf modules, stores a worldtime + cooldown
var/obj/machinery/power/apc/malfhack
@@ -333,7 +333,7 @@
else if(!connected_robot.cell || connected_robot.cell.charge <= 0)
robot_status = "DEPOWERED"
//Name, Health, Battery, Model, Area, and Status! Everything an AI wants to know about its borgies!
. += "[connected_robot.name] | S.Integrity: [connected_robot.health]% | Cell: [connected_robot.cell ? "[connected_robot.cell.charge]/[connected_robot.cell.maxcharge]" : "Empty"] | \
. += "[connected_robot.name] | S.Integrity: [connected_robot.health]% | Cell: [connected_robot.cell ? "[display_energy(connected_robot.cell.charge)]/[display_energy(connected_robot.cell.maxcharge)]" : "Empty"] | \
Model: [connected_robot.designation] | Loc: [get_area_name(connected_robot, TRUE)] | Status: [robot_status]"
. += "AI shell beacons detected: [LAZYLEN(GLOB.available_ai_shells)]" //Count of total AI shells