RimWorld

RimWorld

2,830 ratings
Prison Labor
12
43
3
19
2
6
3
5
2
3
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
2.911 MB
Oct 26, 2019 @ 1:16pm
May 18 @ 6:15am
46 Change Notes ( view )

Subscribe to download
Prison Labor

Description
Description
This mod force prisoners to work. To enable this feature prisoners must have "Force to work" option checked ("Prisoner" tab). Prison labor needs management that consist of:
  • Motivation - prisoners need to be motivated by presence of colonists. Wardens have new job - supervising prisoners. Low motivation can lead to revolts.
  • Work assignment - prisoners that have option "Force to work" are added to "Work" tab.
  • Time restrictions - prisoners that have option "Force to work" are added to "Restrict" tab.
  • Prison area - prisoners in order to work need to reach target. You can check "Hold open" option on doors. Be aware, they will try to run if they see opportunity.
  • "Prisoners only" tools - You can mark orders and bills by tools that exclude colonist from work.

IMPORTANT
Upgrading from 0.9.11
This version is not compatible with older Prison Labor (0.9.11 and older).
In order to upgrade savegame, firstly you need to remove PrisonLabor data from save.
1. Go to mod settings (Options > Mod Settings > Prison Labor)
2. Flick "Disable mod" option.
3. Re-save your savegame with "Disable" option enabled.
After above steps you can safely run savegame without or with new Prison Labor.

Older versions
Rimworld b19 version (0.19)[github.com]
Rimworld b18 version (0.18)[github.com]
Rimworld a17 version (0.17)[github.com]
Most of you prefer one workshop item, so for those who don't want to update mod to the latest version automatically, please use GitHub repository[github.com], or links above

Locks mod
I highly recommend using my other mod Locks. This will allow you to enable prisoners to leave their cells.

Compatibility
  • Works with mods that add custom Jobs, to enable some of them you need to go to the mod settings. However, items created by custom jobs can be forbidden (depends on their implementation).
  • Works with old saves.
  • To disable mod from existing saves use utility found in Prison Labor settings: "remove Prison Labor mod from save".
  • UI mods may cause disapperance of prison labor area or option to release prisoners. PL adds some additional options to prisoners interaction and unless ui mod allows to scrolldown options you will not see the old options.

Message from author
Orginal creator actually took time off and maintanace of his mods is currently on me. Still, I'm working on this mod in my free time so please be patient. If you want to improve something feel free to contact me on discord or github.
Hazzer


Translations
Please do not contact me via comments section! Use discord or link provided in contact section.
Please contact me if you want to help me writing translations. It will take you a few minutes to translate few sentences, and you will help making the mod even better. Thank you in advance!
Also I would gladly hear about misspellings or grammar mistakes in English version.


Support
[ko-fi.com]


Links
Github repository[github.com]


Discord server[discord.gg]
Popular Discussions View All (125)
9
Feb 2 @ 6:35am
Work Assignments Resetting
RileyQuinn
3
Dec 13, 2024 @ 11:26pm
Is this mod still worth it?
Mark Bobaba
4
Apr 16, 2024 @ 8:16am
Most work types are disabled for prisoners
Baby Muncher
2,482 Comments
Monkey Magic May 20 @ 1:48am 
You may need to set some flags for Ideology .Errrors start from line 185 at the below link. They all appear to be options for that DLC:

https://pastebin.com/gCxaNwrw

Another small issue regards prisoner jobs.

Mod added jobs are always disabled by this mod. For example, I have Nurse Job, [WYD] Separate Deconstruction , and Separate Tee Chopping enabled. All are disabled by this mod, which is fine for the first two, but the last (a job split off from Plant Cut ) which is enabled) is not. I'd like to have my prisoners clear trees, but not cut down every plant they see.

Also, why is Patient and Bed Rest disabled for prisoners?.

@Maux - joy object? Oo What kind of prison are you running? D:

My slav-ah, prisoners are just forced to work, dammit! The get a little free time, but that's it. :D
chrisque1 May 15 @ 10:12pm 
@Maux ask Mlie, he may help
Enrico May 14 @ 6:23pm 
I can't see the work priorities tab dedicated to prisoners
Maux May 14 @ 6:59am 
Currently, there’s a bug where if a prisoner has full treatment happiness, they can’t do any recreation and just end up bouncing between joy objects endlessly during the recreation schedule. The issue comes from this check: if ((NeedLevelFull(treatment) || NeedLevelFull(pawn.needs.joy)) && !curJob.doUntilGatheringEnded) in Core/Recreation/Recreation.Utils.cs. It’s preventing pawns with full treatment from doing joy activities.

To fix it, all you need to do is change that check to: if ((NeedLevelFull(pawn.needs.joy)) && !curJob.doUntilGatheringEnded).

I posted about this issue on GitHub seven months ago, but it seems like no one’s really looked at it, so I’m bringing it up here.
Monkey Magic May 13 @ 9:57pm 
@Hazzer - Not sure to be honest. The default option is set to "Maintain Only" currently, so likely it was the same back then. There error is not occurring at this time though.
Hazzer  [author] May 7 @ 2:10pm 
@Monkey Magic what default interaction did you set in mod options?
Monkey Magic May 7 @ 10:42am 
This error popped up when I was testing out interaction between this mod, Rim Languages and Custom Prisoner Interactions in dev mode. I also had Prison Labor and a few other prison mods enabled.

This error popped up just after depositing a captured pirate raider into a prison cell. I figured you might want to take a look:

https://pastebin.com/NXmg5uW9

EDIT - I narrowed this down to just occur when these mods are active - Harmony, Core, Prison Labour . Below is the full error report

https://pastebin.com/cMX3YTHH

EDIT II - I meant to add that this error happens the first time (possibly each seassion?), but does not reoccur. Likely only shows up in Dev mode
Monkey Magic Apr 20 @ 8:15am 
@Hazzer - Yeah, just ignore that

This issue appears to present itself when your mod (or Mlines mod) is enabled, but the mod Research Reinvented is not enabled. Enabling that mod stops the issue.

EDIT - I figured out why. That mod changes info in the config file, so when it's disabled it throws up this error. Deleting the config file fixed it
Hazzer  [author] Apr 19 @ 5:47am 
@Slim try to set vanilla allowed area for your prison site. Probably prisoners trying to do job that is outside of they reachable path.

@Monkey Magic are you sure that you do not have more mods? Def mentioned in logs don't start with PL_ prefix which I use for my defs
Monkey Magic Apr 18 @ 10:54pm 
There appears to be an issue with this mod. This popped up in my build, so I tested with just the core mods (Core, Royalty, Ideology, Biotech, Anomoly) and Harmony, Hugs Lib, [SYR] Processor Framework and is still threw up the error.

Pastebin of issue: https://pastebin.com/4hvfzm53

Even with just Core, Harmony, Hugs Lib and Prison Labour the error persisted to some degree.