mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixes silicons not having access to malfunctiong AI stats (#35022)
* fixes * Move this to /mob/living instead.
This commit is contained in:
committed by
GitHub
parent
430d9c0949
commit
2b7edf4e09
@@ -101,7 +101,7 @@ Once done, you will be able to interface with all systems, notably the onboard n
|
||||
/datum/role/malfAI/StatPanel()
|
||||
stat(null, text("APCs hacked: [apcs.len]"))
|
||||
stat(null, text("APC hack limit: [currently_hacking_apcs.len]/[apc_hacklimit]"))
|
||||
stat(null, text("Machine hack limit: [currently_hacking_machines.len]/[apcs.len]")) //Machine limit is equal to APCs hacked
|
||||
stat(null, text("Machine hack limit: [currently_hacking_machines.len]/[apcs.len + 1]")) //Machine limit is equal to APCs hacked, and +1 from innate malf AI hacking slot
|
||||
stat(null, text("Processing power per minute: [apcs.len * apc_process_power * 30]")) // 0.03 * 30 (process ticks, a tick is ~2 seconds)
|
||||
|
||||
////////////////////////////////////////////////
|
||||
|
||||
@@ -284,11 +284,6 @@
|
||||
if(R.activated)
|
||||
stat("\The [R.name]", "Modules: [english_list(R.modules)]")
|
||||
|
||||
if (mind)
|
||||
for (var/role in mind.antag_roles)
|
||||
var/datum/role/R = mind.antag_roles[role]
|
||||
stat(R.StatPanel())
|
||||
|
||||
/mob/living/carbon/human/attack_slime(mob/living/carbon/slime/M as mob)
|
||||
M.unarmed_attack_mob(src)
|
||||
|
||||
|
||||
@@ -1919,3 +1919,11 @@ Thanks.
|
||||
if(B.host_brain.ckey)
|
||||
to_chat(src, "<span class='danger'>You send a punishing spike of psychic agony lancing into your host's brain.</span>")
|
||||
to_chat(B.host_brain, "<span class='danger'><FONT size=3>Horrific, burning agony lances through you, ripping a soundless scream from your trapped mind!</FONT></span>")
|
||||
|
||||
/mob/living/Stat()
|
||||
..()
|
||||
if(statpanel("Status"))
|
||||
if(mind)
|
||||
for(var/role in mind.antag_roles)
|
||||
var/datum/role/R = mind.antag_roles[role]
|
||||
stat(R.StatPanel())
|
||||
|
||||
Reference in New Issue
Block a user