Create and Fuck your AI Slut -70% OFF
x

slick97

Active Member
Dec 2, 2021
820
2,158
377
You can just download and modify the one file without getting the whole project from Git?
I'm quoting you but this applies to anyone who wants to download the source code from the git page. Every file mentioned can be found following this link:
  1. Go to the Git page. You should see the source code for the "develop" branch
  2. Click the dropdown tab and select "master"
  3. Click on the "Code" tab
  4. Select "zip" for the file format
  5. Extract the file into the folder and open it
  6. Look for the "LR2-Runtime.zip" file and "extract here"
    • Note: This zip file contains the executables and libraries for the game so you don't need to redownload or modify older versions
  7. Repeat the above steps for downloading the "develop" branch except making sure you're looking at the "develop" branch instead of the "master"
You don't have permission to view the spoiler content. Log in or register now.

You can technically edit any .py or .rpy file with Notepad, but Notepad++ contains the format for the Python language which will make editing way easier. Also keep in mind that you cannot use tab characters in .rpy files (i.e. pressing "tab" on your keyboard) as it will always result in an error on load.


Happy modding!
 

rb813

Well-Known Member
Aug 28, 2018
1,584
1,082
326
I'm quoting you but this applies to anyone who wants to download the source code from the git page. Every file mentioned can be found following this link:
  1. Go to the Git page. You should see the source code for the "develop" branch
  2. Click the dropdown tab and select "master"
  3. Click on the "Code" tab
  4. Select "zip" for the file format
  5. Extract the file into the folder and open it
  6. Look for the "LR2-Runtime.zip" file and "extract here"
    • Note: This zip file contains the executables and libraries for the game so you don't need to redownload or modify older versions
  7. Repeat the above steps for downloading the "develop" branch except making sure you're looking at the "develop" branch instead of the "master"
You don't have permission to view the spoiler content. Log in or register now.

You can technically edit any .py or .rpy file with Notepad, but Notepad++ contains the format for the Python language which will make editing way easier. Also keep in mind that you cannot use tab characters in .rpy files (i.e. pressing "tab" on your keyboard) as it will always result in an error on load.


Happy modding!
Thank you. Clear step-by-step instructions like that are very helpful.
 

Draakaap23

Dying is always an option
Donor
Jul 5, 2017
1,286
2,891
499
You don't have permission to view the spoiler content. Log in or register now.

That also triggered another event, where she just walks into the office and starts sucking MC cock while still completely virgin and innocent.
I think the order of story-events (and triggers) got borked.
 
Last edited:

slick97

Active Member
Dec 2, 2021
820
2,158
377
You don't have permission to view the spoiler content. Log in or register now.

That also triggered another event, where she just walks into the office and starts sucking MC cock while still completely virgin and innocent.
I think the order of story-events (and triggers) got borked.
Do you have an HR director? That could be what's causing this specific error.
 

Draakaap23

Dying is always an option
Donor
Jul 5, 2017
1,286
2,891
499
Do you have an HR director? That could be what's causing this specific error.
I can't recall if I had one at that time. I have made some random my HR director after letting Sarah go (this fucks with certain dialog on the screen btw) But i am not sure if I had already done that when Ellie's events triggered.
 

slick97

Active Member
Dec 2, 2021
820
2,158
377
I can't recall if I had one at that time. I have made some random my HR director after letting Sarah go (this fucks with certain dialog on the screen btw) But i am not sure if I had already done that when Ellie's events triggered.
Sluttiness is handled a bit differently in the code compared to love and obedience (idk why). It can be referenced two ways, but only one of them can actually be changed in .rpy scripts (see spoiler 1).

The location that the error log points to is in the second spoiler, but the only reference is to the current HR director (which could be where the error comes from). According to PyTom regarding this specific error, it occurs when passing one thing when whatever the target is meant to be something else (i.e. you're expecting to get a banana but instead you get an apple).

As to how this can happen, I honestly have no idea. Someone way smarter than me could figure it out, but this might be worth posting to the bug report section on the discord for Tristim to fix.

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
 
  • Like
Reactions: Burt and oldshoe

divas72

Newbie
Jul 12, 2017
92
105
78
Sluttiness is handled a bit differently in the code compared to love and obedience (idk why). It can be referenced two ways, but only one of them can actually be changed in .rpy scripts (see spoiler 1).

The location that the error log points to is in the second spoiler, but the only reference is to the current HR director (which could be where the error comes from). According to PyTom regarding this specific error, it occurs when passing one thing when whatever the target is meant to be something else (i.e. you're expecting to get a banana but instead you get an apple).

As to how this can happen, I honestly have no idea. Someone way smarter than me could figure it out, but this might be worth posting to the bug report section on the discord for Tristim to fix.

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
The thing is, sluttiness is a computed attribute, or property of an object. If a class doesn't have a special setter that sets a value affecting sluttiness (I think it's the _sluttiness attribute), it's impossible to set it with the assign (attr=value) operator. As far as I remember, sluttiness is the sum of this variable (_sluttiness) and situational sluttiness, which is also calculated.
 
  • Like
Reactions: slick97

Grumlydude

Newbie
Mar 15, 2023
23
23
54
Sluttiness is handled a bit differently in the code compared to love and obedience (idk why). It can be referenced two ways, but only one of them can actually be changed in .rpy scripts (see spoiler 1).
This is because Pyhton has no restriction of visibility for properties/fields of an object. All properties are "public" like in Javascript for example.
As a workaround, devs use a commonly accepted syntax to describe a property that should only be used inside of an object ("private"). Those "private" properties are beginning with one or two underscore. For those two reasons you can see the internal value using ._sluttiness

In our case, when you want to show a calculated value based on the inner value, you define a method to show what you want. This is why you also have access to this value using .sluttiness syntax. But you cannot modify it because it's a "getter" method and not a real property.
Python:
    @property
    def sluttiness(self) -> int:
        return max(min(self._sluttiness + sum(amount for (amount, _) in self.situational_sluttiness.values()), 100), 0)
This last one is taking account of situational sluttiness (like "I don't like cheating on my husbnad!" or "I'm so happy") and is minmaxed to 0-100
 
Last edited:

Silentheart42

Member
May 10, 2019
366
114
129
Lol, I wasn't talking about personal drama, I was talking about a transcript that gives a blow-by-blow of how complicated it actually is to mod this game. Apparently you don't even pass your own test on the "a bit of curiosity" criterion. Whatever you gotta do to feel superior to other people, I guess.
Clearly ibnarabi doesn't have a Functional Brain.
 

ZarakiZ

Member
Nov 1, 2019
262
246
227
How to disable the obedience bleed? I can't go 5 minutes without it dropping below 200, how do I keep it at 300.
 

Draakaap23

Dying is always an option
Donor
Jul 5, 2017
1,286
2,891
499
How to disable the obedience bleed? I can't go 5 minutes without it dropping below 200, how do I keep it at 300.
- don't use serums which decrease it
- have an HR employee the work duty that increases it
- when interacting sexually use those options that increase it for that girl/woman, this differs from personality.
- cheat
- make serums that increase it and spread it around (possible through Serum Policies)
- make em submissive, dominant ones bleed obedience fast(er)
 
Last edited:
  • Like
Reactions: oldshoe
4.60 star(s) 79 Votes