sifena7986

Newbie
Jun 5, 2021
59
103
It could maybe have 10x times more lines than needed but if it works, it works.
It's actually a misconception that the better code the larger it is. It's the opposite
Simple example similar to which you could see throughout the game code:
JavaScript:
Game_Actor.prototype.checkForNewMouthPassives = function() {
   if(this.meetsPassiveReq(PASSIVE_MAX_MOUTH_DESIRE_FIRST_ID, this._recordMaxReached50MouthDesireCount)) {
      this.learnNewPassive(PASSIVE_MAX_MOUTH_DESIRE_FIRST_ID);
   }

   if(this.meetsPassiveReq(PASSIVE_MAX_MOUTH_DESIRE_SECOND_ID, this._recordMaxReached75MouthDesireCount)) {
      this.learnNewPassive(PASSIVE_MAX_MOUTH_DESIRE_SECOND_ID);
   }

   ...<2000 lines of repeated code skipped>...

   if(this.meetsPassiveReq(PASSIVE_SEXUAL_PARTNERS_YETI_THREE_ID, this._recordSexualPartnersYeti) && this.hasPassive(PASSIVE_SEXUAL_PARTNERS_YETI_TWO_ID)) {
      this.learnNewPassive(PASSIVE_SEXUAL_PARTNERS_YETI_THREE_ID);
   }
}
Can be replaced with more compact and structured code (without duplicates that can cause bugs when you add new passives):
JavaScript:
const passiveRequirements = [
   {passiveId: PPASSIVE_MAX_MOUTH_DESIRE_FIRST_ID, recordName: '_recordMaxReached50MouthDesireCount'},
   {passiveId: PASSIVE_MAX_MOUTH_DESIRE_SECOND_ID, recordName: '_recordMaxReached75MouthDesireCount'},
   ...<400 lines of structured passives>...
   {passiveId: PASSIVE_SEXUAL_PARTNERS_ROGUE_THREE_ID, recordName: '_recordSexualPartnersRogue', isDemo: true},
];

for (const {passiveId, requirement, isDemo} of passiveRequirements) {
   if(
      this.meetsPassiveReq(passiveId, this[requirement]) &&
      this.hasPassive(passiveId) &&
      (isDemo || !$gameParty.isDemoVersion())
   ) {
      this.learnNewPassive(passiveId);
   }
}
Source: Karryn's Prison/www/js/plugins/RemtairyNewPassives.js
 
Last edited:
  • Like
Reactions: CereBros and ethix

SVS

New Member
Jan 17, 2018
1
2
Also you can enable manual saving. I have autosave active. It only autosaves after a fight, at the start of a fight and when entering a room. Thus you can easily save-scum by just alt+f4 and start the fight or action (e.g. waitress job) again. It's an easy tweak:

You don't have permission to view the spoiler content. Log in or register now.
The game autosaves to the file that was last saved to. So if you want to make a backup save just save it to a new file (aka save slot) and afterwards save to the regular file again. Thus, the next autosave overwrites the usual save location and the backup save is left untouched.

EDIT: Updated for v1.0.1.


About the line where the code is, search in the 1464 line, there it is now in the Version 1.2.9.15. Thank you for the tweakthat was very usefull!
 

crashdingo

Member
Jan 25, 2018
218
89
hello,
i am using an old version of the game (1.2.7.2), i run the game with "kp cheat v8" and along with so many other mods.
Usually i edit passive depending on the playthrough and it goes smothly.
However when i use kp cheat v8 to edit them, a message pops up.
Does someone knows how to fix it?
1706798960515.png
 

Ilusha480

Newbie
Jul 2, 2023
42
17
Karryn's Prison [v1.2.9.14 + DLCs] [Remtairy] - Compressed

Use at your own risk. Not sure about both versions, testing worked fine though.

Win: Full [586 MB]
- MEGA - - PIXELDRAIN

Win: Full + Unofficial CC Mod [602 MB] from here
- MEGA - - PIXELDRAIN

You don't have permission to view the spoiler content. Log in or register now.
Hello, do you plan to make such archives again? CCMod Preferably:oops::ROFLMAO:
 

Shizusan

Well-Known Member
Nov 21, 2019
1,301
999
Can Karryn get so Corrupt she joins the baddies?. I mean yes she can set up a Bar...in a prison. Karryn even can be a lewd waitress for the prisoners. She still remains the "Warden" albeit a lewd one. However if Karryn get's so corrupt and start's to enjoy her...management of the prison with the sexual tension always increasing with them. I would think at one point Karryn would just say screw you can have me and silently switch sides. While on the outside still looking like she is running things for the good guys.
So like a double agent whilst getting double penetration? So her title double penetration agent lol
 
  • Like
Reactions: JaszMan

Shizusan

Well-Known Member
Nov 21, 2019
1,301
999
I find the game boring when Karryn starts to enjoy getting fucked, I probably prefer her getting gang raped, and her saying no and I can't move, ahh don't worry lads, I'm not evil or sick my mother had me tested.
 

Shizusan

Well-Known Member
Nov 21, 2019
1,301
999
hello,
i am using an old version of the game (1.2.7.2), i run the game with "kp cheat v8" and along with so many other mods.
Usually i edit passive depending on the playthrough and it goes smothly.
However when i use kp cheat v8 to edit them, a message pops up.
Does someone knows how to fix it?
View attachment 3315796
I get that a lot too, out of memory, damn game's code uses up too much memory lol
 

honkuma

Member
Oct 29, 2017
118
76
You need to resize the window for the toggleable stuff to appear, don't know why it's made like that, window size limitations perhaps?
...---
Thankyou but besides the RJ Cheats, Is there a way to manually edits .js or thing that can removes her hat/gloves/tie, Just curious?
Thankyou in advance.
 
4.60 star(s) 455 Votes