Prison Architect

Prison Architect

Prison Lottery
85 Comments
Cowboy 8 May, 2021 @ 12:58pm 
Nice. :highlvl:
maemento mori 11 Aug, 2020 @ 7:39pm 
Note for anyone in the future, this mod has been combined with vending machines 2.0. This version is deprecated and should not be installed.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2000211277&searchtext=lottery
GummyStuff 24 May, 2020 @ 7:25pm 
@睡にまびちらいはい
This is intended. I don't remember the lore surrounding why they riot. Something about them being angry the prisoners didn't win or something.
GummyStuff 24 May, 2020 @ 7:24pm 
This is my favorite mod. Glad to see it will be merged with vending machines 2.0
睡にまびちらいはい 9 Apr, 2020 @ 1:14am 
Why do all prisoners riot as soon as I release the lottery results
murgh  [author] 21 Mar, 2020 @ 2:09am 
It's in my CombiPack.
GaylordRaggamuffin 20 Mar, 2020 @ 9:11pm 
What mod is the red door from? Would greatly appreciate a reply.
murgh  [author] 14 Feb, 2020 @ 5:10pm 
This mod will be merged into Vending Machines 2.0 soon, and no longer receive updates.
Since the Vending Machines mod and this mod are practically brother and sister, I gave all the vending machine scripts an overhaul and put them inside one mod for convenience.

@Max I see what the problem is and fixed it for the upcoming release of Vending Machines 2.0
Max Attax 31 Jan, 2020 @ 12:09pm 
That's fine No problum :) I am testing it on a map with no mods installed apart form this one I think could be one of the mods am useing or could just be as am useing a very old map , but so far on new made map its working fine so far
murgh  [author] 31 Jan, 2020 @ 12:05pm 
Then I don't know. It should be working fine, you're the first with this issue.
Sorry I'm too busy scripting something else right now.
Max Attax 31 Jan, 2020 @ 11:21am 
Thanks for Replay Yes has Safe Placed , I have two Prison Lottery Vending and one Prison Lottery Safe , I have also tryed with two Sylvester Lottery Vending and one Sylvester Lottery Safe and same string error
murgh  [author] 31 Jan, 2020 @ 11:14am 
Did you place a safe? Sounds like not.
Max Attax 31 Jan, 2020 @ 10:10am 
debug Menu pops up somes times when the Vending Machine is used says String 220: Attempt to perform aritmetic on global 'thestake' a nill value
FrixxTwitchTV 3 Nov, 2019 @ 10:02am 
Its working for me now i just had to delete my old mods
Khalunka 22 Oct, 2019 @ 3:24am 
Dude, your imagination is amazing. So many awesome ideas.
♦FR♦-_-♠NaNoMister♠ 14 Sep, 2019 @ 12:19am 
Oh nevermind, I just forgot to place both the safe AND the lottery tickets vending machine.
♦FR♦-_-♠NaNoMister♠ 13 Sep, 2019 @ 10:31am 
This is a bit weird. No one is buying tickets, is it normal ?
murgh  [author] 6 Sep, 2019 @ 10:14am 
I see no problems, the mod is working fine here.
aegis 6 Sep, 2019 @ 9:06am 
since the last update (game update) i cant open the lotery menu bye clicking on the safe anyone else haveing this problem
murgh  [author] 30 Aug, 2019 @ 2:55pm 
I've just verified the files on steam, and they are fine as expected. I have no idea what's happening on your end. Perhaps the debug.txt will show you what's going on. Most likely it's a broken old mod which confuses the game - I suggest you clean out the mods folder to get rid of it and only subscribe to stuff which is known to work properly with the latest game version.
FrixxTwitchTV 30 Aug, 2019 @ 2:25pm 
I did activate it but Nothing still I have other mods on even if i have the only 1 on its not working!
murgh  [author] 30 Aug, 2019 @ 12:02am 
Did you activate the mod in the game menu after downloading it? It seems not.
And if Steam fkd up during downloading, then just install it manually with the guide above.
FrixxTwitchTV 29 Aug, 2019 @ 12:01pm 
ummm Can i get a reply?
FrixxTwitchTV 29 Aug, 2019 @ 8:23am 
Ok Nothing Is there what do i do
FrixxTwitchTV 29 Aug, 2019 @ 7:55am 
Ok ill Try But I do not see anything i will get back to you if i see it or not
murgh  [author] 28 Aug, 2019 @ 4:13pm 
Nope, nothing needed. Press the + in the objects menu to expand it, the objects must be there.
FrixxTwitchTV 28 Aug, 2019 @ 4:05pm 
The Objects arnt there is there another mod i need?
murgh  [author] 8 Aug, 2019 @ 5:58am 
Sound exactly like how the mod should work. Prisoners and gambling... a good combination. :lunar2019coolpig:
mieszko51 8 Aug, 2019 @ 5:49am 
In my prison the warden won the lottery and refused to share the money.
Result: Half of my prison burnt to the ground, most of my staff and prisoners are dead, millions of $ wasted rebuilding this mess, two of my most dangerous priosners got sniper rifles and killed everyone on their path and escaped.
However its a really fun mod
dabeek 29 Jul, 2019 @ 2:03pm 
This is one of your most un-serious mods...

But in all fairness it looks fun as hell
Deathwing 9 Jul, 2019 @ 5:09pm 
Great mod to use with Prisonner allowance mod :p (if not all prisonner are having jobs, or you just want to rob money with the female contraband-warden) having 1 machine in every room your prisoners can access and same with guards. (only got 4M max for now :D and 200 days to clean the riot and my burned prison :( )
murgh  [author] 30 May, 2019 @ 3:11am 
This is by design to let as many prisoners as possible buy a ticket whenever they feel like it.
I guess the ticket machine also gives a small candy bar in which the ticket is wrapped :)
murgh  [author] 26 Apr, 2019 @ 5:17am 
The modpack hasn't been updated yet.
marc345 26 Apr, 2019 @ 4:48am 
When I set a lottery Safe every incoming prisoner and some random prisoners get teleported to the left corner of the map. I use your modpack and can reproduce it.
Removing it solves the problem but is not the sense of this mod.
murgh  [author] 17 Mar, 2019 @ 7:13am 
Mod update:

- fixed out of bounds marker at lottery safe.


@Greenie the issue should be solved.
Greenie /Taxibutler 15 Mar, 2019 @ 5:14pm 
Got a pretty big glitch, the prisoners daydreaming next to the sylvester safe sometimes TELEPORT and immediately escape. Heres a pic of them in the corner [i.imgur.com], as you can see, there is no plausible reason they are there, I don't think they won the lottery for escapes, so... (little bit of comedy there, I don't let them out if they win... or should I? hmmm) The safe was up against the wall of the yard, the lottery machines are inside and arent accessible during yard time
Sean Diaz 13 Mar, 2019 @ 6:33pm 
uhm.. well my warden won 5mil... lol so uhm.... welll.... fires broke out in kitchen. all population cells andd even inn isolation O.O that was one hell of a lag fest after 2 min and well fire deppt coulnt handle it without dieing xDDDDDDDD
murgh  [author] 12 Mar, 2019 @ 4:17am 
If it becomes a huge fire like that in your prison, then you know you did that yourself :P
Sean Diaz 11 Mar, 2019 @ 5:30pm 
love this mod but id like to dissable riots in it.. my jail got torched..... i coulnt get a grip with 4 frames lol. for now i removed them again...
murgh  [author] 25 Jan, 2019 @ 12:14am 
There needs to be some room around the safe so they can walk there. If that area is blocked, then this happens, but with a setup like the screenshots I never saw them teleporting yet.
Blackhaart 24 Jan, 2019 @ 5:53pm 
Before i even got to te first lottery i found that prisoners were escaping some how even tho i have a double wall and plenty of guard patrols, It almost seemed like they were teleporting out to the top right of the map without having to climb and i already had 6 escapes that day so i knew something was wrong.
I followed a prisoner that was up there until he was back in the prison and went to the yard (where i had placed the safe) and he walked into the safe and dissapeared up to the top left of the map.

I have no idea how this is happening but i will now be moving the safe to my security office as atleast they won't keep teleporting out and escaping from my prison.

I was using the Sylvester Lottery Safe and Sylvester Lottery ticket machines.
murgh  [author] 7 Jan, 2019 @ 12:53pm 
You should click the rainbow marker above the warden to decide wether to keep the cash or not. Warden should drop the money if you keep it so you can sell it to get the money.
nado9495 7 Jan, 2019 @ 12:46pm 
I'm a little confused what to do after the warden has won. She went and picked up her money with all the guards, we weathered the storm of the riot, but now she's just sitting in her office still holding on to the money and when I try to reset the lottery it tells me to find the warden first. What am I missing?
murgh  [author] 5 Jan, 2019 @ 1:50pm 
The lottery tickets can be bought to settle any need, including sleep. This is by design to sell as many tickets as possible, or at least make it as attractive as possible for prisoners to buy tickets. If, for example, I had made a new Gambling need then this mod would only work with new prisoners and not in existing prisons. It's best to not schedule yard or freetime right before they go to bed, but let them work/lockup until sleep time.
Sint-Vaffel 5 Jan, 2019 @ 12:03pm 
way is the needs for sleep disappears when prisoners buy tickets ?
murgh  [author] 31 Dec, 2018 @ 3:11pm 
If you use the cheat tool, then it's vital to do all in the same minute: hand out tickets and start the lottery. Then the starting and ending timestamp will be the same minute, and all prisoners have a winning ticket (first prisoner wins).
Meldgaard 31 Dec, 2018 @ 2:40pm 
Using the cheat tool for testing, prisoners rarely win. Well, I know it would be 50/50 when the dev says so, but I'm so "unlucky" that I mostly have the Warden win.
(Money still doesn't matter. 500k for a little prison with 60-70 prisoners and a good cashflow, I don't need money at all.)
I've had two prisoners win, but that doesn't matter either. Just funny to have this thing going while you wait for something else.

Your mod here gives us another thing to do, whenever we're bored. (Like every other mod you make)
It's hard to believe that you spend so much time making mods, and you don't really get anything in return.
Anyways. I'll stop spamming this page.
murgh  [author] 31 Dec, 2018 @ 9:35am 
Prisoners buying a ticket get a timestamp when it's bought. Lottery picks a random timestamp between lottery day 0 and the moment the button was pressed to start the lottery, and compares it with all timestamps on the prisoners. So the chances of winning depend on how may days the lottery runs and how many tickets were bought during that time by that prisoner.

I thought there was no fkn way a prisoner would ever be able to win this way, but they actually do. During testing it was about 50/50 if the warden or a prisoner wins, so it should be fine.
Rev 31 Dec, 2018 @ 8:55am 
What are the chances of a prisoner winning?
murgh  [author] 31 Dec, 2018 @ 6:30am 
You don't put him, he comes when needed.