4.60 star(s) 65 Votes

themagiman

Well-Known Member
Mar 3, 2018
1,422
450
What is the breeding quest about? What can you do with slaves? Can you release collared slaves back into the wild lol?
 

Minoin

Member
Jan 16, 2018
122
64
Furthermore,what are the requirements for the yoga lessons? Sarah tries to convince the other girls with no success.Are there spesific girls for yoga?
Greetings dondani, You need to develop persuasion/suggest serums before she can convince them. You then need to have the Monday meetings with Sarah where she sees that these serums have been developed and you should agree to use them in the company. Then, she can use them during these yoga chats and convince them to join.

Hope this helps,
Minoin!
 
  • Like
Reactions: Goods and dondani

Minoin

Member
Jan 16, 2018
122
64
Greetings Gents (and Ladies, if you are out there),

I've been trying to read the [modded] files to increase my ability to understand the code, with the hope to one day start Modding myself. I do not have much (read: any :giggle:) experience coding/programming, so it's slow going.

I was looking into the modded Serums and came across a few lines I do not know what they do, so I was hoping one of you could clarify this for me. I would be much obliged!

1) From "Female Viagra" (Quest_Arrousal_serum.rpy), Lines 411:
init python:
def arousal_serum_function_on_turn(the_person, add_to_log):
if the_person.arousal < the_person.suggestibility:
the_person.change_arousal(__builtin__.min(15, the_person.suggestibility - the_person.arousal),add_to_log = False)
return


What does the Builtin__.min (red highlight) do?
Would it also work if you want to 15 add arousal to just write:
the_person.change_arousal(15, add_to_log)?

2) From Pheremone Therapy Serum by Starbuck (behavior_adjeustment_serum.rpy), line 3:
init -1 python:
def behavior_adjustment_on_turn(the_person, add_to_log, fire_event = True):
if renpy.random.randint(0,100) < (the_person.suggestibility - (the_person.obedience - 90)) * 5:
the_person.change_obedience(1, add_to_log)


I'm not completely sure what this random comparison achieves (why -90, *5?). It's a construction I see more often and I haven't been able to crack its effect yet.

3) If you want to make a serum that each turn would randomly increase of decrease the weight (or have no effect), would it work if you code it like this?
def randomweight_function_on_turn(the_person, add_to_log):
return person.change_weight(amount = 0.5, chance = 25)
return person.change_weight(amount = -0.5, chance = 25)

Or is there a more elegant/better way to do so?
Edit: Noops, it doesn't work -and yup, I went ahead and tried :D.
It gives:
'AttributeError: 'NoneType' object has no attribute 'change_weight''
No clue why.. :unsure:


That's it for now. I have more questions, but I'll first see what replies I get from these three.

Thanks, and take care,
Minoin!
 
Last edited:

TS2016

Member
May 7, 2017
453
244
Is there a bug? I had many girls with obedience over 1,000 due to serums and suddenly in a day or two many were below 100. It appearly happened on one weekend Sat or Sunday.
 

useraccount01

New Member
Oct 16, 2017
12
17
Greetings Gents (and Ladies, if you are out there),

I've been trying to read the [modded] files to increase my ability to understand the code, with the hope to one day start Modding myself. I do not have much (read: any :giggle:) experience coding/programming, so it's slow going.

I was looking into the modded Serums and came across a few lines I do not know what they do, so I was hoping one of you could clarify this for me. I would be much obliged!

1) From "Female Viagra" (Quest_Arrousal_serum.rpy), Lines 411:
init python:
def arousal_serum_function_on_turn(the_person, add_to_log):
if the_person.arousal < the_person.suggestibility:
the_person.change_arousal(__builtin__.min(15, the_person.suggestibility - the_person.arousal),add_to_log = False)
return


What does the Builtin__.min (red highlight) do?
Would it also work if you want to 15 add arousal to just write:
the_person.change_arousal(15, add_to_log)?

2) From Pheremone Therapy Serum by Starbuck (behavior_adjeustment_serum.rpy), line 3:
init -1 python:
def behavior_adjustment_on_turn(the_person, add_to_log, fire_event = True):
if renpy.random.randint(0,100) < (the_person.suggestibility - (the_person.obedience - 90)) * 5:
the_person.change_obedience(1, add_to_log)


I'm not completely sure what this random comparison achieves (why -90, *5?). It's a construction I see more often and I haven't been able to crack its effect yet.

3) If you want to make a serum that each turn would randomly increase of decrease the weight (or have no effect), would it work if you code it like this?
def randomweight_function_on_turn(the_person, add_to_log):
return person.change_weight(amount = 0.5, chance = 25)
return person.change_weight(amount = -0.5, chance = 25)

Or is there a more elegant/better way to do so?
Edit: Noops, it doesn't work -and yup, I went ahead and tried :D.
It gives:
'AttributeError: 'NoneType' object has no attribute 'change_weight''
No clue why.. :unsure:


That's it for now. I have more questions, but I'll first see what replies I get from these three.

Thanks, and take care,
Minoin!
Here's my read on those functions.

  1. Increase arousal by a maximum of 15, but it can be less if arousal and suggestibility are within 15 points of each other.
  2. Gives a chance to increase obedience by 1/turn for the following ranges:
    SuggestibilityObedience
    070+
    2595+
    50120+
    75145+
    100170+
  3. I don't know about the attribute error, but I don't think the second return statement will ever be reached. Probably need to randomly pick the amount value before the return.
You might want to check out the discord
 
  • Red Heart
Reactions: Minoin

Minoin

Member
Jan 16, 2018
122
64
Here's my read on those functions.

  1. Increase arousal by a maximum of 15, but it can be less if arousal and suggestibility are within 15 points of each other.
  2. Gives a chance to increase obedience by 1/turn for the following ranges:
    SuggestibilityObedience
    070+
    2595+
    50120+
    75145+
    100170+
  3. I don't know about the attribute error, but I don't think the second return statement will ever be reached. Probably need to randomly pick the amount value before the return.
You might want to check out the discord
Thanks useraccount01! get the first and last now, the 2nd is still not completely clear: it also depends on what the obedience is to start with, right?

Anyway, thanks again. I'll check out the discord asap (I still need to make an account, but I guess I should do that if I wanna move into learning to code/mod :D)

Thanks again,
Minoin!
 

Corrado

Newbie
Modder
Mar 16, 2018
90
115
Is there a bug? I had many girls with obedience over 1,000 due to serums and suddenly in a day or two many were below 100. It appearly happened on one weekend Sat or Sunday.
Employees are no longer taking their serum during the weekend (not-working time), and without the serum the levels tend to decrease to the initial value.
 

TS2016

Member
May 7, 2017
453
244
Employees are no longer taking their serum during the weekend (not-working time), and without the serum the levels tend to decrease to the initial value.
I know that, but in a huge drop in value? Many of them went way below what they had before taking serum at work. Also not only that, some of girls' sluttiness even ended up in negative, again way below what they had before the serum.
 

Minoin

Member
Jan 16, 2018
122
64
Hi there everyone, I have another Code-Newbie question:

a) Why do some serums have the code 'fire_event = True/False' added to their definition?
b) What does it do/trigger and why is it needed
c) When is it needed and when not? (Also: when True and when False?)

These are 3 different variations of the same question -I know- but I wanna be sure to cover all its angles :)

Thanks a bundle,
Minoin!
 

LewdGanglia

Newbie
Dec 13, 2020
42
12
Hey folks, loving the game and mod so far! I have a few questions:

1 - Can you use a potion that gives suggestibility AFTER a sex encounter and still get core sluttiness the next day?
2 - How do you unlock the dungeon?
3 - Is love only rising through conversation/dates and potions? After sex and multiple orgasms I dont see an increase.
4 - Is there a way to set how lengthy pregnancy is through cheats or editing a file?
5 - Does this game feature super accelerated growth of children and they can show up on the game later as adults?
 

useraccount01

New Member
Oct 16, 2017
12
17
the 2nd is still not completely clear: it also depends on what the obedience is to start with, right?
Yeah, the starting obedience factors into it.

A practical example:
We have a girl with 0 suggestibility and 100 obedience. The equation gives -50 which is never greater than random(0,100), so obedience never increases.

But we pump a couple of suggestibility serums in, with 20 suggestibility and 100 obedience the equation gives 50. This can be greater than random(0,100), so obedience might increase.

Get suggestibility up to 30+ and the equation returns values > 100. Now the condition always evaluates to true since it's always greater than random(0,100) and the obedience is guaranteed to increase.


So the equation is just a way to define a boundary between when a thing happens and doesn't happen. And it can be tweaked or changed to match how a dev wants the game to play.
 
  • Red Heart
  • Like
Reactions: Goods and Minoin
Nov 21, 2017
90
19
I currently have 2 HR directors, because I made my current HR person to HR directors and then the event with Sarah triggered.

Also I have currently a hint for active quest "essential oils" but I already researched (and added into a serum) exotic ingredients - not sure if there is any connection between those 2, but I am bit scared that I have screwed up this quest.

Both the base game as well as the mod are some of the best games around here, but transitions from one place to another (clicking on "go somewhere else") leads to a huge lag (even with animation turned off).
 

none589

New Member
Mar 12, 2018
5
4
I currently have 2 HR directors, because I made my current HR person to HR directors and then the event with Sarah triggered.

Also I have currently a hint for active quest "essential oils" but I already researched (and added into a serum) exotic ingredients - not sure if there is any connection between those 2, but I am bit scared that I have screwed up this quest.

Both the base game as well as the mod are some of the best games around here, but transitions from one place to another (clicking on "go somewhere else") leads to a huge lag (even with animation turned off).
IIRC the Essential Oils quest involves chatting with one of your employees (for me it's always been someone in Supply) who is using scented oils around the office and you get the idea to add essential oils as a serum attribute to increase the sale price of serums.
 

Minoin

Member
Jan 16, 2018
122
64
Yeah, the starting obedience factors into it.

A practical example:
We have a girl with 0 suggestibility and 100 obedience. The equation gives -50 which is never greater than random(0,100), so obedience never increases.

But we pump a couple of suggestibility serums in, with 20 suggestibility and 100 obedience the equation gives 50. This can be greater than random(0,100), so obedience might increase.

Get suggestibility up to 30+ and the equation returns values > 100. Now the condition always evaluates to true since it's always greater than random(0,100) and the obedience is guaranteed to increase.


So the equation is just a way to define a boundary between when a thing happens and doesn't happen. And it can be tweaked or changed to match how a dev wants the game to play.
Hi useraccount01 ... It's crystal clear now... thanks a bundle! :D :love:
 
Nov 21, 2017
90
19
IIRC the Essential Oils quest involves chatting with one of your employees (for me it's always been someone in Supply) who is using scented oils around the office and you get the idea to add essential oils as a serum attribute to increase the sale price of serums.
Yes the quest continued lateron, but I already had the research done. and everything is alright ;-)
 
Last edited:

CarbonBeast

Member
Aug 24, 2017
168
109
are the mods not working with labrats2 v0.36.1 ???
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 4, in script
    init 2 python:
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 31, in <module>
    for position in supported_positions:
NameError: name 'supported_positions' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 4, in script
    init 2 python:
  File "C:\Users\CarbonBeast\Desktop\Lab_Rats_2-v0.36.1-pc\renpy\ast.py", line 922, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\CarbonBeast\Desktop\Lab_Rats_2-v0.36.1-pc\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 31, in <module>
    for position in supported_positions:
NameError: name 'supported_positions' is not defined

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Lab Rats 2 - Down to Business v0.36.1
Sat Jan 09 10:41:08 2021
 

TS2016

Member
May 7, 2017
453
244
are the mods not working with labrats2 v0.36.1 ???
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 4, in script
    init 2 python:
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 31, in <module>
    for position in supported_positions:
NameError: name 'supported_positions' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 4, in script
    init 2 python:
  File "C:\Users\CarbonBeast\Desktop\Lab_Rats_2-v0.36.1-pc\renpy\ast.py", line 922, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\CarbonBeast\Desktop\Lab_Rats_2-v0.36.1-pc\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/Mods/Core/Mechanics/Wardrobe_Extensions/extra_character_images.rpy", line 31, in <module>
    for position in supported_positions:
NameError: name 'supported_positions' is not defined

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Lab Rats 2 - Down to Business v0.36.1
Sat Jan 09 10:41:08 2021
No. Cause it's not updated yet. Beta might be- haven't checked.
 
  • Like
Reactions: CarbonBeast
4.60 star(s) 65 Votes