How are the chances of prisoners revolting calculated? Is it culmutative and sooner or later it will happen 100% or can you reduce it to zero (without the special level 3 Edict) or can you save scum before sleeping to never have a revolt at all?
I don't mind one revolt, it is annoying if two and possibly more revolt at the same time.
I don't know or remember all the details about how they are calculated, I only know/remember a few things.
I know there is a small grace period after you supress a riot(should be 2 days in vanilla game) to prevent riot on the same floor happening so soon again. Then, chance for a floor to riot increases each day. If a riot doesn't happen for sometime(should be 7 days in vanilla game) chance increases even more each day. You can check this by reading the first few lines of
RemtairyPrison.js
file:
Code:
const RIOT_GLOBAL_STARTING_CHANCE = 6;
const RIOT_GLOBAL_BANKRUPTCY_CHANCE = 5;
const RIOT_MIN_DAYS_BEFORE_BUILDUP = 2;
const RIOT_MIN_DAYS_BEFORE_EXTRA_BUILDUP = 7;
const RIOT_EXTRA_BUILDUP = 3;
I know you can save scum if you backup your saves before sleeping each day.
I am not sure about this one but I think there is no way to entirely reduce riot chance to zero. You can lower it as much as possible but it will still happen. But for example they may happen on 8th day instead of 6th if you buy edicts that lower riot chances.
I am not sure about this too but don't let prison bankrupt, I think it does increase chances of riots happening.
Lastly, if you want to see
exactly how they are calculated, you should do some digging through game's files. I think they are calculated in this file:
RemtairyPrison.js
and in this function:
Game_Party.prototype.nextDayRiotManager = function()