Ludeon Forums

RimWorld => Releases => Mods => Outdated => Topic started by: rshingleton on December 21, 2016, 12:04:37 AM

Title: [A16] Prison Extensions
Post by: rshingleton on December 21, 2016, 12:04:37 AM
(http://i.imgur.com/7vNvcduh.png) (http://imgur.com/7vNvcdu)

A prison extension mod.

Current features:
--------------------------------------------------------------------------------------------
- Remove shared bedroom complaining from prisoners. (No longer -5 in needs for prisoners only)

Description:
I've started creating my prisons as a shared environments, but noticed that the prinsoners were crying about being in a shared bedroom, this had to go.

As always, let me know if there are issues and I will address them as soon as possible.

*latest* Dropbox Download: https://www.dropbox.com/s/m0jgcwpxgwvlwj7/PrisonExtensions.zip?dl=0 (https://www.dropbox.com/s/m0jgcwpxgwvlwj7/PrisonExtensions.zip?dl=0)

Steam Workshop Link: https://steamcommunity.com/sharedfiles/filedetails/?id=822487597 (https://steamcommunity.com/sharedfiles/filedetails/?id=822487597)

-------
UPDATE: 12/23/2016
By popular request, I started looking at the old prison mods out there and was able to get some stuff out of it.
I Uploaded a new version to dropbox which needs testing with the following features:

I've done a little testing, but would like to put it out there to see if anyone has any issues with this build.
**PS - This version is only available from the dropbox link for now. Once/If I get some feedback I will post it to steam as well.

-------
Title: Re: [A16] Prison Extensions
Post by: SteelRev on December 21, 2016, 12:50:57 AM
The title gave me high hopes. I'm a little sad now.  Good job on the mod  either way.
Title: Re: [A16] Prison Extensions
Post by: Tgr on December 21, 2016, 01:49:39 AM
The default debuff makes total sense to me. It's minor, and prison isn't pleasant.
Title: Re: [A16] Prison Extensions
Post by: Love on December 21, 2016, 01:51:15 AM
Quote from: TREH on December 21, 2016, 01:49:39 AM
The default debuff makes total sense to me. It's minor, and prison isn't pleasant.
I was actually going to post this, but in the middle I kind of realized that prisoners would probably prefer to have a roommate since they can't exactly leave.
Title: Re: [A16] Prison Extensions
Post by: killerx243 on December 21, 2016, 02:25:47 AM
Yeah I would rather have 20 people around and only talk to a few then be imprisoned alone except for, "Join us."
Title: Re: [A16] Prison Extensions
Post by: Love on December 21, 2016, 03:06:32 AM
Could you make it so prisoners are able to use joy items?
Title: Re: [A16] Prison Extensions
Post by: Sluupii on December 21, 2016, 08:21:04 AM
It would be cool if you could add more prison regimes like beating and stuff.
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 21, 2016, 09:17:42 AM
Quote from: Love on December 21, 2016, 03:06:32 AM
Could you make it so prisoners are able to use joy items?

Joy items are next on my list of things to add.
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 21, 2016, 09:18:54 AM
Quote from: Love on December 21, 2016, 01:51:15 AM
I was actually going to post this, but in the middle I kind of realized that prisoners would probably prefer to have a roommate since they can't exactly leave.

This was my thought. It's why there is solitary confinement in real prisons right?
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 21, 2016, 09:21:00 AM
Quote from: SteelRev on December 21, 2016, 12:50:57 AM
The title gave me high hopes. I'm a little sad now.  Good job on the mod  either way.

Any suggestions on what you would like to see?

I put this together in around a an hour. I prefer the incremental development approach, so I had planned on adding more features (joy items for instance).
Title: Re: [A16] Prison Extensions
Post by: SteelRev on December 21, 2016, 09:27:12 AM
Quote from: rshingleton on December 21, 2016, 09:21:00 AM
Quote from: SteelRev on December 21, 2016, 12:50:57 AM
The title gave me high hopes. I'm a little sad now.  Good job on the mod  either way.

Any suggestions on what you would like to see?

I put this together in around a an hour. I prefer the incremental development approach, so I had planned on adding more features (joy items for instance).

I was hoping that your MOD was similar to this old MOD that I would really like to see.

https://ludeon.com/forums/index.php?topic=10069.0 (https://ludeon.com/forums/index.php?topic=10069.0)
Title: Re: [A16] Prison Extensions
Post by: drakemasta on December 21, 2016, 10:36:11 AM
i would love to see......
a special door prisoners can open so they can keep their indipendant rooms
a manager bench for designating jobs for prisoners to be able to do in their "jail"
a selection of joy activities for prisoners/colonists to do together
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 21, 2016, 11:33:03 AM
Quote from: drakemasta on December 21, 2016, 10:36:11 AM
i would love to see......
a special door prisoners can open so they can keep their indipendant rooms
a manager bench for designating jobs for prisoners to be able to do in their "jail"
a selection of joy activities for prisoners/colonists to do together

Joy items should be next, at least standard ones.

I'll dig through that old mod to see if I can do anything with it.
Title: Re: [A16] Prison Extensions
Post by: SteelRev on December 21, 2016, 08:27:52 PM
Thanks,  would be totally awesome if you could incorporate that mods ideas into your mod.
Title: Re: [A16] Prison Extensions
Post by: LugKnut on December 21, 2016, 10:13:46 PM
How about a tennis court? Just adding simple tennis racket sounds would work fine.

These are decent. Just edit them a  bit.
-https://www.youtube.com/watch?v=xKb6GjGK_Ks

or

-https://www.youtube.com/watch?v=WRmk7DcFLyM
Title: Re: [A16] Prison Extensions
Post by: MisterVertigo on December 21, 2016, 11:19:25 PM
Quote from: SteelRev on December 21, 2016, 09:27:12 AM
Quote from: rshingleton on December 21, 2016, 09:21:00 AM
Quote from: SteelRev on December 21, 2016, 12:50:57 AM
The title gave me high hopes. I'm a little sad now.  Good job on the mod  either way.

Any suggestions on what you would like to see?

I put this together in around a an hour. I prefer the incremental development approach, so I had planned on adding more features (joy items for instance).

I was hoping that your MOD was similar to this old MOD that I would really like to see.

https://ludeon.com/forums/index.php?topic=10069.0 (https://ludeon.com/forums/index.php?topic=10069.0)

Totally this. I'd love to see a mod that just adds jail doors that prisoners can use so they can have individual rooms, and then a common area where they can mingle and eat their meals. Maybe a courtyard so they can go outside.

Someone else was working on a HUGE prison mod but the feature list was as long as a novel. 95% of it was stuff I personally don't want or need. I just want a prison door! :)
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 23, 2016, 05:01:51 PM
UPDATE: 12/23/2016
By popular request, I started looking at the old prison mods out there and was able to get some stuff out of it.
I Uploaded a new version to dropbox which needs testing with the following features:

I've done a little testing, but would like to put it out there to see if anyone has any issues with this build.
**PS - This version is only available from the dropbox link for now. Once/If I get some feedback I will post it to steam as well.

-------
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 23, 2016, 06:00:36 PM
BUG FIX:
- Fixed bug where prisoner joy routines were causing an exception because prisoner couldn't reach drugs, removed drug request from joygiver routine for prisoners.
Title: Re: [A16] Prison Extensions
Post by: OmG_PotatoeZ on December 23, 2016, 10:30:52 PM
Tried to build cameras and cell doors.
1: Are cameras supposed to not require resources?
2: I keep getting an error for both of them.
https://gist.github.com/363765d2b14c74c5462656cb8a69e93c
The last two are the errors I receive. I am using a bunch of mods and if needed, I will list them.
Title: Re: [A16] Prison Extensions
Post by: SteelRev on December 23, 2016, 11:13:47 PM
Woot,  thank you so much.  Starting new colony to test this out with my list of mods.

edit: cell doors are not separating rooms as intended.  Cameras are free to build.  But are useless because of the doors not limiting the rooms. No errors yet with my mods.
Title: Re: [A16] Prison Extensions
Post by: koni on December 24, 2016, 07:41:21 AM
very wow!
is it possible to make it a content of your mod, that prisoners can be forced to wear special apparel?
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 24, 2016, 08:58:48 AM
Quote from: OmG_PotatoeZ on December 23, 2016, 10:30:52 PM
Tried to build cameras and cell doors.
1: Are cameras supposed to not require resources?
2: I keep getting an error for both of them.
https://gist.github.com/363765d2b14c74c5462656cb8a69e93c
The last two are the errors I receive. I am using a bunch of mods and if needed, I will list them.

Is the mod being included twice? Do you also have it subscribed on steam or something?
I see this at the beginning of your output log, just as the mods are loaded:

Easy Kibble: (no assemblies)
Expanded Prosthetics and Organ Engineering: (no assemblies)
High Caliber: (no assemblies)
PrisonExtensions: PrisonExtensions(1.0.0.0)
PrisonExtensions: PrisonExtensions(1.0.0.0)

Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 24, 2016, 09:01:02 AM
Quote from: SteelRev on December 23, 2016, 11:13:47 PM
Woot,  thank you so much.  Starting new colony to test this out with my list of mods.

edit: cell doors are not separating rooms as intended.  Cameras are free to build.  But are useless because of the doors not limiting the rooms. No errors yet with my mods.

Thanks for the feedback.

I'll look at the doors and cameras. I had to modify the xml from the original mod quite a bit, I probably overlooked it.

Not sure why the doors are non-blocking for the prison region, I'll dig into it.

It may be after tomorrow as it is Christmas and all.
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 24, 2016, 09:01:55 AM
Quote from: koni on December 24, 2016, 07:41:21 AM
very wow!
is it possible to make it a content of your mod, that prisoners can be forced to wear special apparel?

Possibly. Like prison uniforms? That would be interesting. You'd probably have to tailor them and everything.
Title: Re: [A16] Prison Extensions
Post by: Sammo346 on December 24, 2016, 09:25:55 AM
Suggestion: A simple toggle to stop multiple prisoners colluding and picking the locks to escape.



Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 24, 2016, 10:15:00 AM
Quote from: Sammo346 on December 24, 2016, 09:25:55 AM
Suggestion: A simple toggle to stop multiple prisoners colluding and picking the locks to escape.

Noted.
Title: Re: [A16] Prison Extensions
Post by: SteelRev on December 24, 2016, 01:31:05 PM
Quote from: rshingleton on December 24, 2016, 09:01:02 AM
Quote from: SteelRev on December 23, 2016, 11:13:47 PM
Woot,  thank you so much.  Starting new colony to test this out with my list of mods.

edit: cell doors are not separating rooms as intended.  Cameras are free to build.  But are useless because of the doors not limiting the rooms. No errors yet with my mods.

Thanks for the feedback.

I'll look at the doors and cameras. I had to modify the xml from the original mod quite a bit, I probably overlooked it.

Not sure why the doors are non-blocking for the prison region, I'll dig into it.

It may be after tomorrow as it is Christmas and all.
I wish you the best of luck with it.  I know the last guy who tried to update the mod couldn't get the doors to act correctly.
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 24, 2016, 02:37:14 PM
Quote from: SteelRev on December 24, 2016, 01:31:05 PM
we wish you the best of luck with it.  I know the last guy who tried to update the mod couldn't get the doors to act correctly.

Without looking into it to hard, or at all at this point, I think it has something to do with prisoner permissions. Since they can pass through the doors, the prison zone can also. The cameras would be useful for setting up work zones away from the prison, provided the warden pawns could transport the prisoners for instance. I need to think about how it should work and dig through the code some more.
Title: Re: [A16] Prison Extensions
Post by: 1000101 on December 25, 2016, 04:25:45 AM
fyi, I had started a mod which would allow for more complex interactions with prisoners but there have been core code changes which made things like doors virtually impossible without massive detours (trust me, I had to do it).  Prisoners don't "see" beyond the room they are in, they won't search beyond the room they are in and they can't access anything that isn't in the same room they are in, regardless of whether both rooms are prison cells and there is a proper door between them.  (By "proper" I mean one that is an actual portal between two regions assigned different room IDs).

Take a look at where I was with this mod (https://ludeon.com/forums/index.php?topic=20854.0) and you'll see that just having a door for them to use is a monumental task now due to how the core code has changed.

Anyway, just to get doors to work took several detours in several low level systems which are not even visible to the player (ie, regions, region manager, (regions are not rooms, rooms are made up of regions), etc) as well as the detours to the player visible systems (needs, rooms, etc).

Unfortunately, making prisoners more than they are in the vanilla game has become a lot more work and thus my P&S mod is on hold until the game comes out of alpha.
Title: Re: [A16] Prison Extensions
Post by: rshingleton on December 25, 2016, 07:44:59 AM
Quote from: 1000101 on December 25, 2016, 04:25:45 AM
fyi, I had started a mod which would allow for more complex interactions with prisoners but there have been core code changes which made things like doors virtually impossible without massive detours (trust me, I had to do it).  Prisoners don't "see" beyond the room they are in, they won't search beyond the room they are in and they can't access anything that isn't in the same room they are in, regardless of whether both rooms are prison cells and there is a proper door between them.  (By "proper" I mean one that is an actual portal between two regions assigned different room IDs).

Take a look at where I was with this mod (https://ludeon.com/forums/index.php?topic=20854.0) and you'll see that just having a door for them to use is a monumental task now due to how the core code has changed.

Anyway, just to get doors to work took several detours in several low level systems which are not even visible to the player (ie, regions, region manager, (regions are not rooms, rooms are made up of regions), etc) as well as the detours to the player visible systems (needs, rooms, etc).

Unfortunately, making prisoners more than they are in the vanilla game has become a lot more work and thus my P&S mod is on hold until the game comes out of alpha.

This is good info. Good to know before I get too far down the rabbit hole, as I am prone to do on some projects. I may just keep this one simple then.
Title: Re: [A16] Prison Extensions
Post by: gaylenin on December 25, 2016, 10:27:06 PM
I think one of the biggest things that the community (but definitely myself) would appreciate is the ability to use prisoners as a source of labor, mining, crafting, farming etc.
Title: Re: [A16] Prison Extensions
Post by: OmG_PotatoeZ on December 27, 2016, 07:56:27 AM
Quote from: rshingleton on December 24, 2016, 08:58:48 AM
Quote from: OmG_PotatoeZ on December 23, 2016, 10:30:52 PM
Tried to build cameras and cell doors.
1: Are cameras supposed to not require resources?
2: I keep getting an error for both of them.
https://gist.github.com/363765d2b14c74c5462656cb8a69e93c
The last two are the errors I receive. I am using a bunch of mods and if needed, I will list them.

Is the mod being included twice? Do you also have it subscribed on steam or something?
I see this at the beginning of your output log, just as the mods are loaded:

Easy Kibble: (no assemblies)
Expanded Prosthetics and Organ Engineering: (no assemblies)
High Caliber: (no assemblies)
PrisonExtensions: PrisonExtensions(1.0.0.0)
PrisonExtensions: PrisonExtensions(1.0.0.0)

Ah, yes! Thank you, no idea why but I installed the first version then the updated one on Ludeon and my computer didn't automatically overwrite it, thank you.
Title: Re: [A16] Prison Extensions
Post by: OmG_PotatoeZ on December 27, 2016, 07:58:54 AM
Also, possible addition to this mod, an explosive collar for if the prisoners try to break out, if they get too close to the borders of the map then they explode? That would be awesome and give me a more tyrannical feel.
Title: Re: [A16] Prison Extensions
Post by: lllMWNlll on December 30, 2016, 07:33:30 PM
Quote from: rshingleton on December 21, 2016, 12:04:37 AM
(http://i.imgur.com/7vNvcduh.png) (http://imgur.com/7vNvcdu)

...

-------
UPDATE: 12/23/2016
By popular request, I started looking at the old prison mods out there and was able to get some stuff out of it.
I Uploaded a new version to dropbox which needs testing with the following features:

  • Added prison menu on architect tab
  • Added prison cell doors which prisoners can pass through
  • Added prisoner joy needs **needs tested with hospitality mod
  • Added security camera which can designate a room as a prison
  • Remove shared bedroom debuff from prisoners for bunk room style prisons

...}


Now it's just perfect!

Please make them SLAVES! I really could use hauling and cleaning tasks!
Title: Re: [A16] Prison Extensions
Post by: nbielinski on January 03, 2017, 12:41:53 AM
I love this mod. You have no idea how amazing this is when combined with Remote Explosives and Call of Cthulhu. Remote explosives means they cant ever leave with sleep gas bombs and CoC means I have a good reason to keep them around. And your mod, damned if it doesn't make designing prisons more fun with common rooms, separated barracks, etc.

One request though, if you're able; could we see some sort of truncheon or stun baton to keep rioters down? I know making weapons can be a bit of a pain but I'd love to have some way to keep down uppity prisoners without.. you know... buckshot.
Title: Re: [A16] Prison Extensions
Post by: Tinkerer on January 03, 2017, 11:13:59 AM
Quote from: nbielinski on January 03, 2017, 12:41:53 AM
One request though, if you're able; could we see some sort of truncheon or stun baton to keep rioters down? I know making weapons can be a bit of a pain but I'd love to have some way to keep down uppity prisoners without.. you know... buckshot.

I'm not sure a weapon would fit this mod, as it would compete for balance with any overhaul. I suggest just using a blunt weapon, or download a non-lethal weapon mod.
Title: Re: [A16] Prison Extensions
Post by: Senio on January 09, 2017, 09:39:01 PM
hi thank you dev this mod
if you have time can update a new version for fix door and camera.

Door have wrong , room is share.
camera Not use power...
Title: Re: [A16] Prison Extensions
Post by: asquirrel on January 11, 2017, 12:00:59 PM
Just a head's up for people about this latest build.  I had a previous build of prison extensions and just copied the new files into the old files folder.  I then started getting errors about prisoner "needs."  I ended up deleting the folder and installed it like a brand new mod.  The error is gone now. :)
Title: Re: [A16] Prison Extensions
Post by: ambivalence on January 13, 2017, 02:24:29 AM
+1 for explosive collars and some labor for prisoners :3 as a debuff it also would be suitable to give some bad thoughts.
Title: Re: [A16] Prison Extensions
Post by: Andy_Dandy on January 17, 2017, 02:28:26 AM
Had some hopes, but why the heck remove the shared room debuff malus?
Title: Re: [A16] Prison Extensions
Post by: Wishmaster on March 04, 2017, 05:28:40 PM
Just downloaded prison extension and I want to let you know that you should put all the directories (/defs /about...) in main directory so we won't have to create one.
Title: Re: [A16] Prison Extensions
Post by: OldManSteve on March 05, 2017, 07:20:45 AM
On a related note, I remember reading on many news sites about solitary confinement (prolonged, I think) is now considered a torture method. So, if you want throw in extra realism, you could set up solitary prisoners to crack repeatedly after 3 days "in the hole".

We'll wait for Alpha 19 before you should code for "Prison Gangs", though I think in the base game, rival factions attack each other if members are in the same jail.
Title: Re: [A16] Prison Extensions
Post by: Igan on March 05, 2017, 03:33:58 PM
How does this mod works with Dubs Bad Hygiene? (https://ludeon.com/forums/index.php?topic=29043.0) I'd love to put a door to separate the bathroom from the barracks.
Title: Re: [A16] Prison Extensions
Post by: Ruisuki on March 09, 2017, 07:26:48 PM
Do beds still designate prison rooms or only cameras now? Either way im glad to see somebody taking over from where improvements left off. I would suggest adding more items to be used in the courtyard. Maybe even ways made to improve skills for prisoners exclusively? Like increase melee by lifting weights or the like.  Or increase at a slower rate if its for prisoners and made available generally.

I dont really know what I want to see in this regard but something to mimic prison economy and make it more unique, smuggling smokeleaf joints, bribing guards for items? I'll be thinking along these lines for future suggestions its a bit hazy for me right now.
Title: Re: [A16] Prison Extensions
Post by: AngleWyrm on March 15, 2017, 11:29:47 PM
Could you please make removal of the debuff for shared sleeping quarters an optional feature? Maybe a mod setting, or an xml entry.

Also, I'm getting a pop-up that says the included library is too old and will cause compatibility problems.
Title: Re: [A16] Prison Extensions
Post by: Ruisuki on March 24, 2017, 01:10:19 AM
whats the state of the mod? anyone test with hospitality?
Title: Re: [A16] Prison Extensions
Post by: Navy1227 on March 24, 2017, 01:19:47 AM
Quote from: Ruisuki on March 24, 2017, 01:10:19 AM
whats the state of the mod? anyone test with hospitality?
I use this mod with Hospitality, yes. However I am unsure whether or not both mods were being fully utilized or not. But I can attest that the game does work with both mods loaded.
Title: Re: [A16] Prison Extensions
Post by: AngleWyrm on March 24, 2017, 01:27:48 AM
Quote from: Ruisuki on March 09, 2017, 07:26:48 PM
Do beds still designate prison rooms or only cameras now?
Yes, beds still designate prison areas.

The camera is made as an item that requires only work but no resources, and makes an enclosed area a jail. Jail doors count as open doorways for the purpose of area design. And if the area is breached into the outside then the camera disappears, as outside cannot be designated jail.
Title: Re: [A16] Prison Extensions
Post by: Ruisuki on March 24, 2017, 01:54:37 AM
Quote from: AngleWyrm on March 24, 2017, 01:27:48 AM
Quote from: Ruisuki on March 09, 2017, 07:26:48 PM
Do beds still designate prison rooms or only cameras now?
Yes, beds still designate prison areas.

The camera is made as an item that requires only work but no resources, and makes an enclosed area a jail. Jail doors count as open doorways for the purpose of area design. And if the area is breached into the outside then the camera disappears, as outside cannot be designated jail.
Hm that sounds promising. I hope the author adds more to the mod, theres a lot of potential.

Quote from: Navy1227 on March 24, 2017, 01:19:47 AM
Quote from: Ruisuki on March 24, 2017, 01:10:19 AM
whats the state of the mod? anyone test with hospitality?
I use this mod with Hospitality, yes. However I am unsure whether or not both mods were being fully utilized or not. But I can attest that the game does work with both mods loaded.
Hmmm i guess as long as it doesnt cause an error thats fine. Might wait on the OPs next update
Title: Re: [A16] Prison Extensions
Post by: Napple on March 24, 2017, 02:16:52 AM
The mod dev hasn't logged on since February.
Title: Re: [A16] Prison Extensions
Post by: Decembler on March 24, 2017, 05:50:32 AM
Meh, 25k views on this topic, everyone need good prison mod, this one should've been promising, but seems R.I.P. Any similar out there?
Title: Re: [A16] Prison Extensions
Post by: Ruisuki on March 24, 2017, 02:04:09 PM
Yeah thats a shame. As it stands the cell door and security cam are good additions, important when expanding prison, but i hope we see more in the future
Title: Re: [A16] Prison Extensions
Post by: Modraneth on September 13, 2017, 05:41:27 PM
a17 update  ?
Title: Re: [A16] Prison Extensions
Post by: 8hbc on October 31, 2017, 08:27:02 PM
Quote from: Modraneth on September 13, 2017, 05:41:27 PM
a17 update  ?
Title: Re: [A16] Prison Extensions
Post by: Nightinggale on October 31, 2017, 08:55:36 PM
I think this mod has been abandoned. Luckily we have Prison Labor (https://ludeon.com/forums/index.php?topic=34465.0), which seems to be even better.
Title: Re: [A16] Prison Extensions
Post by: nathan280 on November 09, 2017, 05:24:26 AM
The Dropbox Link Is Not Working