mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 22:56:33 +01:00
Hides AI Shells from the manifest.
This commit is contained in:
@@ -83,8 +83,8 @@
|
||||
bot[ai.name] = "Artificial Intelligence"
|
||||
|
||||
for(var/mob/living/silicon/robot/robot in mob_list)
|
||||
// No combat/syndicate cyborgs, no drones.
|
||||
if(!robot.scrambledcodes && !(robot.module && robot.module.hide_on_manifest))
|
||||
// No combat/syndicate cyborgs, no drones, and no AI shells.
|
||||
if(!robot.scrambledcodes && !robot.shell && !(robot.module && robot.module.hide_on_manifest))
|
||||
bot[robot.name] = "[robot.modtype] [robot.braintype]"
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -143,8 +143,8 @@ var/global/list/PDA_Manifest = list()
|
||||
bot[++bot.len] = list("name" = ai.real_name, "rank" = "Artificial Intelligence", "active" = "Active")
|
||||
|
||||
for(var/mob/living/silicon/robot/robot in mob_list)
|
||||
// No combat/syndicate cyborgs, no drones.
|
||||
if(robot.scrambledcodes || (robot.module && robot.module.hide_on_manifest))
|
||||
// No combat/syndicate cyborgs, no drones, and no AI shells.
|
||||
if(robot.scrambledcodes || robot.shell || (robot.module && robot.module.hide_on_manifest))
|
||||
continue
|
||||
|
||||
bot[++bot.len] = list("name" = robot.real_name, "rank" = "[robot.modtype] [robot.braintype]", "active" = "Active")
|
||||
|
||||
+3
-1
@@ -181,7 +181,9 @@ var/world_topic_spam_protect_time = world.timeofday
|
||||
positions["bot"] = list()
|
||||
positions["bot"][ai.name] = "Artificial Intelligence"
|
||||
for(var/mob/living/silicon/robot/robot in mob_list)
|
||||
// No combat/syndicate cyborgs, no drones.
|
||||
// No combat/syndicate cyborgs, no drones, and no AI shells.
|
||||
if(robot.shell)
|
||||
continue
|
||||
if(robot.module && robot.module.hide_on_manifest)
|
||||
continue
|
||||
if(!positions["bot"])
|
||||
|
||||
Reference in New Issue
Block a user