Prison Architect

Prison Architect

Prisoner Sorter
53 Comments
Chama 23 Aug, 2022 @ 5:54am 
please update
Sean Diaz 22 Jul, 2022 @ 4:47am 
ok i might know why.. lol obviously it sorts old gang system but cant detect the new gangs update yet and thus wont sort them... hope a simple update is possible and not an entire rewrite :)
Sean Diaz 20 Jul, 2022 @ 7:35pm 
for some reason this sorter wont sort obvious gang members that are spawned by the dev menu... that sucks as i had to clear out a prison as it kept riooting despite all i tried lol
Sparktite 20 Nov, 2021 @ 2:13am 
Thanks <3
murgh  [author] 18 Nov, 2021 @ 7:14am 
The object is bigger than 1 tile, so it seems your powercable doesn't touch the correct tile.
Traits cannot be sorted afaik.
Sparktite 28 Oct, 2021 @ 6:27pm 
Would it be at all feasible to make the sorter check for specific traits too and sort if it sees specific ones or combos of traits?
Marcuz 29 Aug, 2021 @ 10:53am 
Just in case, there's a power sign blinking over the machine at all times, dispite being connected to electricity and the door timer.

It is "working" because it sorted out the protected custody, just the legendary not working.

https://imgur.com/a/OvroEzG
Marcuz 29 Aug, 2021 @ 10:41am 
Hello murgh, great mod.
Just a question, mine seems to be sorting prisoners to protected, but is not touching the legendary ones, although I said to sort to SuperMax sec.
What should I look into?
Thanks
Sny_Vs_Spyper 14 Mar, 2021 @ 9:36pm 
Okay, know of any other mods that'd be able to accomplish this?
murgh  [author] 14 Mar, 2021 @ 8:24am 
This mod was made with the idea to scan as little prisoners as possible, unlike the well known snitch sorter which will produce lag spikes due to its operation. If you need to assign people on the go in the prison at any time, this mod is not suited. Best use is indeed the reception, or better yet, the spot where the prisoner bus stops, so it only needs to adjust max 8 people at once, which will have little to no lag effects.
Sny_Vs_Spyper 14 Mar, 2021 @ 7:54am 
I primarily downloaded the mod to help control for my insane population that kept not getting assigned over to insanesec after snapping, so it'd be kind of useless for my purposes if it was only by the reception area.
I also realised that the terminals didn't start as wired to the timers, so I'll do that and check their functionality and get back to you on that
murgh  [author] 13 Mar, 2021 @ 10:37pm 
As said above, it will check prisoners only once. Prisoners get a flag when they got sorted and are not touched anymore after that. Putting this object anywhere else than the reception room is a user error. It should not be used in a yard/canteen/near cells whatsoever.
Sny_Vs_Spyper 13 Mar, 2021 @ 6:15pm 
Okay, got it to work, but they don't actually seem to do anything.
They do nothing for the prisoners coming in, they do nothing when I overlap the sorters over their cells, and they do nothing for prisoners who walk around it(all while it's active)
Sny_Vs_Spyper 10 Mar, 2021 @ 11:45am 
Same issue here
ElenaRoan 1 Feb, 2021 @ 1:55am 
Looks like I've figured it out. Tracked down the mod folder (thanks for showing where to find that btw) and the data folder was empty despite the fiddling I did trying to get it to show up. So I deleted all mods, whether enabled or not, and forced the game to redownload everything, quick look in a new game and it's finally showing. Isn't technology grand? *chuckle*
ElenaRoan 31 Jan, 2021 @ 8:29pm 
I know. It's one of my must have mods. I've tried disabling, reenabling, unsubscribing, resubscribing. It's just not showing.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2380770314
murgh  [author] 31 Jan, 2021 @ 10:19am 
It's in the utilities menu.
ElenaRoan 31 Jan, 2021 @ 6:53am 
It isn't showing up for some reason, now.
murgh  [author] 16 Oct, 2020 @ 9:43am 
Note: without gangs enabled you can also get Legendary prisoners, but in their case it's a Trait and not a Gang Rank - hence such prisoners cannot be sorted. Traits are not moddable...
murgh  [author] 30 Sep, 2020 @ 3:00pm 
They should, unless it's for example also an alcoholic, then he goes to another section which might be unexpected, like explained above.
Orbit 30 Sep, 2020 @ 7:46am 
I have set "Legendary" to "Supermax" but when Legendary prisoners are brought off the bus to my prison they are not sorted to Super. Snitches are successfully sorted to protected though.
Sabranan 20 Sep, 2020 @ 3:37pm 
I would like to see an option to lock the "Forced Scan" option on, so it always sorts regardless of whether prisoners have been sorted previously. Right now it requires too much micromanaging to maintain control of gang members who have been switched by policy settings.
skelman92 23 Mar, 2020 @ 8:06am 
hi thanks for this mod ;) i have a request can you add a sort for prisoner transfers ? thx
murgh  [author] 19 Mar, 2020 @ 4:22am 
Most likely due to the sorting order as explained above. They are for sure sorted if no other sorting options on top of it are valid.
gvanrem 19 Mar, 2020 @ 3:54am 
for some reason my drugs users are not autosorted...
murgh  [author] 12 Feb, 2020 @ 2:40pm 
The only way somebody from DR got moved to MedSec is if that person was insane and requires padded cells. Those insanes shouldn't spawn on deathrow anyway.
murgh  [author] 12 Feb, 2020 @ 12:26am 
That should be pretty much impossible since deathrow is excluded.
I can't see a way for that to happen when going through the code, so i need to know more about that prisoner.
murgh  [author] 6 Feb, 2020 @ 11:11am 
That's not possible to mod, so no go.
illinus 6 Feb, 2020 @ 11:01am 
Consider adding options to sort prisoners by other traits, specifically Volatile, Extremely Volatile, and Instigator.
Star Sanctioned Dreamer 27 Jan, 2020 @ 11:37pm 
I don't think my prisoner sorter is working? It's connected to a door timer, "open" around the clock, in the middle of reception with nothing blocking it, but I see no config menu.
Fy 25 Jan, 2020 @ 9:17am 
this is wonderful !!!!!!!
Trentscousin 11 Jan, 2020 @ 11:40am 
I will try it, the last time it did change it but as I only have a Deathrow prison set up they still were stuck in holding area as Maxsec/or what I made Insane change to.
murgh  [author] 10 Jan, 2020 @ 4:07pm 
Ok, that should be enough sorting options I guess... :winter2019happybulb:
murgh  [author] 10 Jan, 2020 @ 4:06pm 
Mod update:

- Added a Replace option at insane sorting which will replace ALL insanes with a PC prisoner.
- Added forced sorting button, when clicked the next sweep will be forced, whether prisoners got sorted before or not.
- updated the tooltip for the prisoner sorter in the utility menu.
murgh  [author] 10 Jan, 2020 @ 2:10pm 
I will also add another sorting option which will Replace all insanes with a new prisoner - though you might think that's already implemented, it's not.
Trentscousin 10 Jan, 2020 @ 9:52am 
I will try this right now....and if it works, come back to praise you.......
murgh  [author] 10 Jan, 2020 @ 3:38am 
I will also add a Forced Scan button to do a forced sorting on prisoners in range, wether they were already sorted or not.
murgh  [author] 10 Jan, 2020 @ 3:09am 
Mod update:

- added 'Remove' at insane sorting options. This will simply delete prisoners who are insane or require padded cells/solitary.
- added search for prisoners who require padded solitary as well, I forgot about those.
Trentscousin 9 Jan, 2020 @ 7:50pm 
Prisoners who arrive with security level Insane will not be touched by this sorting option. It only applies to prisoners who are insane (determined by if they need a Padded Cell, not by their Traits) but have another seclevel.

I am looking for a mod which Eliminates insane prisoners...I tried modding the text files but they still come.........I have tried your mod, and they still come......
murgh  [author] 5 Jan, 2020 @ 4:12am 
If you could manually set them to insane then people would put non-insane into the insane sector which I guess won't work properly. so implementing that is kinda tricky and prone to user errors.

Identity thiefs can't be detected, since reputations are not readable by mods. Can't do anything about those. Unless you'd manually assign them a cell in which a utility dumbscans for prisoners and replaces them with a new one. Sounds tedious to me, but would be the only solution.
Fy 4 Jan, 2020 @ 12:54pm 
this would fix many bugs, same as the identity thiefs, they sometimes get insane later, not with the bus at the beginning :/
Fy 4 Jan, 2020 @ 12:51pm 
shit, i think this needs a update, to manually set the prisoners to "insane", same as protected, maximum, supermax etc.
but the mod is great, really <3
murgh  [author] 4 Jan, 2020 @ 8:48am 
Can't do anything about that, reputations are not moddable. The sorter triggers if a prisoners cell requirement is a Padded Cell in order to find some more types of insanes who aren't on the Insane security level.
Fy 4 Jan, 2020 @ 8:26am 
it does not work when there is a unknown reputation...
i can see that the prisoner is insane, but he is minimum security. he is at the reception
January 27 Dec, 2019 @ 4:51am 
Amazing, thank you
Mar1хуана 16 Dec, 2019 @ 10:03am 
thanks, now I don't need to gas criminally insane prisoners and wait for new intake
SamuelPepys 16 Dec, 2019 @ 7:03am 
I just checked your list of mods, and it appears pretty much every single of the many mods I use are made by you. Didn't know you were the one responsible for so much of my gaming enjoyment. Thanks for that! Genuinely :)
SamuelPepys 16 Dec, 2019 @ 6:53am 
One of the best mods out there! You are a wizard! Thanks for your hard work :)
xRipSawyer 11 Dec, 2019 @ 3:39am 
cheers
murgh  [author] 11 Dec, 2019 @ 3:39am 
You can try modifying clothes.png which seems to hold all cloths colours, also for visitors etc.
Just need to find out which pixels are for the prisoners...