Hides AI Shells from the manifest.

This commit is contained in:
Neerti
2019-04-19 01:55:08 -04:00
parent faf6e4a14f
commit b477178fdf
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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"])