Ayame#1Fan

Active Member
Nov 8, 2016
898
1,279
So because I don't find the motivation to start a whole guide that covers modding, here's a collection of most of my posts regarding tweaks that I consider important/popular. This is intended as a redirecting post to find already existing tweaks easier, because some people have trouble finding the search function :HideThePain:. This list does NOT cover all tweaks, use the search function ;)

[Modding] Tweak post collection

DISCLAIMER
: Before editing any files, back them up including your saves. If stuff does not work in your game and you want to write a post here, PLEASE mention that you modded the game and what you edited. (And don't even think about reporting bugs to the devs with a modded game.) The original game is quite stable (after a few updates :LUL:). If not mentioned otherwise the files are located in www\js\plugins and can be opened with any text editor (using more powerful editors like Notepad++ or VSCode makes editing easier).

VERSIONS: Most tweaks were made for older versions of the game. But they often cover core concepts that don't change in each update (exept maybe line numbers and such). Thus, they'll work in newer versions. The version in brackets after each tweak is the last version for which I looked into it.
Blue version numbers mean I'm sure they still work up to that version, green numbers mean I've verified and tested it in that version and yellow is for outdated tweaks. However, if things change and stuff breaks, please let me know. I'll then probably update either the original post or make a new one (depending on the change).

quality of life tweaks:
  • enable manual saving for each difficulty (v.5q.2): here
  • tweaking side job values (v.5q.2): here
'naughty' tweaks:
  • wake up without panties (chance based and will be 'lost' the whole day) (v.5q.2): here
  • get her naked all the time (v.5q.2): here
  • Karryn being always aroused (v.5q.2): here
  • getting her nipples hard all the time (v.5q.2): here
  • having cum or pussy juice all the time or after battle/sleep (v.5q.2): here
game mechanic tweaks:
  • reverse the effect slut level has on charm (v.5q.2): here
  • lower enemy max levels (v.5q.2): here
  • increase charm exp gain for individual actions (v.5q.2): here
  • change alcohol tolerance (how fast she gets drunk) in the waitress job (v.5q.2): here
  • editing the groups of enemies you'll encounter (v.5q.2): here
  • removing gained passives (v.5q.2): here
  • more stamina in reception job (v.5q.2): here
  • disable bar fights (v.5q.2): here
  • change/add sensitive body part (the one you choose at the start) (v.5q.2): here
old tweaks:
  • enable the starting title which unlocks getting 3 edict points (v.7A.j): here
    • you unlock edicts that do the same and more after clearing floor 2

NOTE: I'll probably update stuff in the coming weeks.
Has anyone tried suggesting this as features to the DEV? Maybe they could be Patreon only rewards or a hidden character like they do in Fleeting Iris where you could activate these. The game would be "easier" to mod, the community would be happy and the game would have more options making it a better game so it's a win-win for everyone.
 
Last edited:

yasha121

Newbie
Jun 1, 2017
15
3
I'm being dumb here. I can't seem to edit the let points = 2; in RemtairyEdicts.
I tried amend it all but it won't give me any more Edicts on the next day.
Is it because i am playing in Prisoner mode?
 

ZunMadun

Newbie
Oct 21, 2017
70
103
I'm being dumb here. I can't seem to edit the let points = 2; in RemtairyEdicts.
I tried amend it all but it won't give me any more Edicts on the next day.
Is it because i am playing in Prisoner mode?
Prisoner mode only takes away 1 point on even days. What are you trying to change and can you post your code here to see what is wrong
 

yasha121

Newbie
Jun 1, 2017
15
3
Prisoner mode only takes away 1 point on even days. What are you trying to change and can you post your code here to see what is wrong
Game_Actor.prototype.getStoredEdictPoints = function() {
return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
this._storedEdictPoints = 0;
this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
this.resetEdictPoints();

let points = 30;
if(Prison.easyMode()) points++;
else if(Prison.hardMode() && Prison.date % 2 === 300) points--;

if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
if(Prison.date % 2 === 1)
points++;
}
else
points++;
}


let maxCarryover = 400;
maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;

points += Math.min(maxCarryover, unusedPoints);

this._storedEdictPoints = points;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
if(this.stsAsp() > 0) {
this._storedEdictPoints = this.stsAsp();
this.setAsp(0);
}
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
if(this._storedEdictPoints > 0) {
this.getAsp(this._storedEdictPoints);
this._storedEdictPoints = 0;
}
};

I'm trying to get more Edict per day. I mange it before but because I had many passive/ edit. I deleted the whole thing and now i can't get it to give me more Edict per day
 

ZunMadun

Newbie
Oct 21, 2017
70
103
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();
   
    let points = 30;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 300) points--;
   
    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }
       
   
    let maxCarryover = 400;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;
   
    points += Math.min(maxCarryover, unusedPoints);
   
    this._storedEdictPoints = points;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
I'm trying to get more Edict per day. I mange it before but because I had many passive/ edit. I deleted the whole thing and now i can't get it to give me more Edict per day
This should fix it
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();

    let points = 30;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 0) points--;

    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }


    let maxCarryover = 400;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;

    points += Math.min(maxCarryover, unusedPoints);

    this._storedEdictPoints = points + 400;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
I changed
Code:
else if(Prison.hardMode() && Prison.date % 2 === 300) points--;
back to
Code:
else if(Prison.hardMode() && Prison.date % 2 === 0) points--;
Also to give more points I simply added + 400 to this line. 400 you can change to whatever number you like
Code:
this._storedEdictPoints = points + 400;
 
  • Like
Reactions: Javis087

yasha121

Newbie
Jun 1, 2017
15
3
This should fix it
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();

    let points = 30;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 0) points--;

    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }


    let maxCarryover = 400;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;

    points += Math.min(maxCarryover, unusedPoints);

    this._storedEdictPoints = points + 400;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
I changed
Code:
else if(Prison.hardMode() && Prison.date % 2 === 300) points--;
back to
Code:
else if(Prison.hardMode() && Prison.date % 2 === 0) points--;
Also to give more points I simply added + 400 to this line. 400 you can change to whatever number you like
Code:
this._storedEdictPoints = points + 400;
Thank you very much.

Edit 1 it still didnt work, but I know why and fixed it.
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();
    
    let points = 2;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 0) points--;
    
    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }
        
    
    let maxCarryover = 0;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;
    
    points += Math.min(maxCarryover, unusedPoints);
    
    this._storedEdictPoints = points + 400;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
 
Last edited:

crocro0000

Member
Jul 31, 2020
261
146
Hi guys, I have some questions about this game (I'm not very experienced in the genre). I don't want to write in this theard silly questions, so if anyone want to help me please contact me, thanks.
 

DahliaRose

Member
Dec 22, 2018
310
282
Okay so let me ask. The file DKTools.js. Is that important in ANY way?

Just wondering as I kept getting the 'Slice' error no matter what I did.

So I decided to search for which plugin files had the word slice in them, and this was one of the few that did. And the only that didn't seem to serve a specific purpose. So I deleted it.

Since then I've been playing for the past half an hour and everything seems to be running perfectly. Didn't get that annoying error, and the game seems to be running just fine.

But like, that DKTools file has SO MUCH in it, so it doesn't make any sense that it actually served no purpose.
 

_ _ _ _ _

Newbie
Jul 20, 2017
76
37
Is there a guide on how to feasibly do a fully non-combative run by only using sexual skills? My attempts always fall flat on Level 1 because it takes too long to get the requirements for sex before the Anarchy gets run up
 

ZunMadun

Newbie
Oct 21, 2017
70
103
Okay so let me ask. The file DKTools.js. Is that important in ANY way?

Just wondering as I kept getting the 'Slice' error no matter what I did.

So I decided to search for which plugin files had the word slice in them, and this was one of the few that did. And the only that didn't seem to serve a specific purpose. So I deleted it.

Since then I've been playing for the past half an hour and everything seems to be running perfectly. Didn't get that annoying error, and the game seems to be running just fine.

But like, that DKTools file has SO MUCH in it, so it doesn't make any sense that it actually served no purpose.
I don't know what exactly this game uses specifically from there. But you might get slower loading times, graphical glitches, less save slots and some other things. I would recommend to download a fresh copy and try again to run it because it might crash your game at some point.
 

madchef

Well-Known Member
Jan 10, 2020
1,179
2,089
Is there a guide on how to feasibly do a fully non-combative run by only using sexual skills? My attempts always fall flat on Level 1 because it takes too long to get the requirements for sex before the Anarchy gets run up
Of course you can do a make lotta love not war run, even on harder levels. Do not worry about your order reaching zero, as you can restart the game in NG+ and all the passives, titles and associated sex skills will be transferred to your new gameplay. Only the edicts are lost, which is not that big of a problem.

Such a pure dedicated slut run will be grindier than just slashing your way through the Prison and getting slowly and reluctantly corrupted but it is just as rewarding and fun. Of course it could be less grindier, if Karryn had an option to decide at the beginning of the game she wants to try some unorthodox approaches to prison management, which would unlock some important sex skills from Day 1, but we can't have it all, can we?

First of all, enact Defensive Stance edict at the earliest opportunity (possible from Day 1 even in Prison Mode). This way, instead of attacking, Karryn can just be observing what their opponents are up to. Second of first of all, 'train' with Guards outside the office from Day 1. They are the most sexually open opponents and will waste no time showing Karryn the ropes, I mean dicks. The inmates are not that candid at the beginning. Do not worry about not restoring any order by having sexy time with the guards and not achieving much else in terms of subduing prisoners. At the moment, you may restart the game in NG+ as many times as you want, switching between Warden and Prison modes. And don't be afraid of defeats - they're the key to slut run, especially for submissive flavoured play. The quickest way to introduce Karryn to oral sex and bukkake is the lv 1 defeat scene. Guards can introduce her to oral, handjobs, rimming, anal, titsex, pretty much all the sex moves. Thus, if you take your time, you may defeat all the bosses and prisoners by draining their balls dry and not raising your halberd even once.
 

DahliaRose

Member
Dec 22, 2018
310
282
I don't know what exactly this game uses specifically from there. But you might get slower loading times, graphical glitches, less save slots and some other things. I would recommend to download a fresh copy and try again to run it because it might crash your game at some point.
I'm actually trying to convert it to android. It works fine on the PC with that file. But for some reason once I port it to android that file causes the error.
 

Ackillez

Newbie
Jan 7, 2019
45
52
At the moment, you may restart the game in NG+ as many times as you want, switching between Warden and Prison modes.
Are you sure? Last I checked, reducing difficulty from Prisoner to Warden would lock out Prisoner mode for future NG+ replays.

e: Also, anyone know how to get this title to unlock?

Code:
Freeloading Drunk
Proof of a waitress who often gets plastered while work.
Passive: Expense -10
Equip Effects: Stamina +25% Endurance growth +25% Mind -75%
Requirements:
actor._playthroughRecordWaitressBattleGotDeadDrunkCount >= 10
I thought dead drunk would mean triggering the waitress job scene, but I'm fairly sure I have triggered it more times than 10 at this point and still no title.
 
Last edited:

madchef

Well-Known Member
Jan 10, 2020
1,179
2,089
Are you sure? Last I checked, reducing difficulty from Prisoner to Warden would lock out Prisoner mode for future NG+ replays.
I haven't tested all possibilities, but in the current version, after losing in Prisoner mode, all 3 difficulty doors were accessible to Karryn. I know that choosing Secretary Mode locks you out from accessing higher difficulties.

Also, I haven't lost the game more than 3 times to be 100% sure that you can lose the game infinite number of times.

And then there will be two challenge runs in NG+, but they're not implemented yet. One of them is that the Warden will have to redeem herself by wearing 'Dissapointment' title at all times after losing a game, so perhaps the final version will allow the player to play infinite number NG+ only upon completion of this redemption run.
 

itsformysin

Member
Jun 21, 2019
115
115
Of course you can do a make lotta love not war run, even on harder levels.
Ever considered writing a proper walkthrough and see if it can be attached to the first page?
Obviously you are very passionate about writing all those stuff about this game.
And I also played prisoner mode a couple times so I know you are very insightful regarding the game mechanics.
 

Ackillez

Newbie
Jan 7, 2019
45
52
I haven't tested all possibilities, but in the current version, after losing in Prisoner mode, all 3 difficulty doors were accessible to Karryn. I know that choosing Secretary Mode locks you out from accessing higher difficulties.
Last I tested, reducing from Prisoner to Warden meant Prisoner was locked out from there on. From how I understand it, you can start NG+ on your current difficulty or a lower one, but the higher difficulties are locked out.
 
4.60 star(s) 483 Votes