AnotherMike

Member
Mar 26, 2020
161
132
208
Is Kaya completely broken in the current dev version? I haven't even seen her yet and I've already run into 3 crashes regarding her :)

Fixed (or at least worked myself around) the first two crashes but a bit stuck on the third since i'm not sure if her barista role is supposed to be a "real" job (current her job is set with change_job) or a side job (like Erica, who sets her job with set_side_job) since the game crashes when it tries to change settings on her side job (that doesn't exist).

I should probably wait for a few bug-fixes before bothering with the dev-version :)


Ignore everything I just wrote, somehow I missed that an update had been made (in the Dec23Content branch) with Kaya-fixes since the version I downloaded that seems like it might fix things :)
 
Last edited:

guims

Newbie
Jan 20, 2019
55
69
133
Hi everyone.
Sorry if already asked before but it seems I can't unlock any anal with Ellie the IT girl.
Can't see any of it in her sex positions and anal is a unbroken taboo in skills section of trance opinion changer. So by concequence I can't raise her mastering level and make her anal fetish so I can unlock the last IT project level.

içt seems that nothing is happening in her story line anymore.

I hope to be clear.
Thanks
 

divas72

Newbie
Jul 12, 2017
92
105
78
Here is a remodeled version of the game core, relating to the development and use of the serum.
Although it will be mostly useful for those who create add-ons to the game on their own, it also fixes some bugs in the existing version of the game.
The reason for its creation is that the original version of the game from Vren, when saving, memorizes many things that shouldn't be saved because they are constants.
And if we change them in the program code of the game, these changes have no effect after loading the saved game.
For this reason, it was quite difficult to add new serum traits to the game.
In order to be able to add them, the game developers created SerumTraitMod.
This mod is quite workable, but it did not eliminate many problems, and therefore it is impossible to pass the game, each time saving and loading saves without using cheat mods.
The new kernel allows to eliminate this problem, and supports the work of already saved games.
If you play with Pen'Py SDK, you just need to unpack the archive into the folder with the game, replacing the existing files. Base Beta version of the kernel is from 2023.12.11.
The following will outline information for those who make additions to the game on their own.
To create a new serum trait you need to either in a new file or in an existing file, write the following lines:
<name_trait> = <"Displayed Serum Name">: my_new_serum_trait = "My New Trait"
Naturally, the variable name must be unique, just like the serum name. If you use an already existing name, it may cause errors in the game, and to give an identical already existing displayed name, you will not allow the parser, giving an error message and stopping the execution of the program.
Next, you should describe the functions on_apply, on_remove, on_turn, on_day, if you intend to use them. You should not give them unique names, because they are usually not used and only clutter the namespace.
It is enough to describe a function once, before calling the class constructor, and then create a function with the same name (but with a different code), because the reference to the previously written function will be saved in the object attribute.
def on_apply(person, design, effect, add_to_log):
____<function code>
I chose not to create copies of the SerumDesign object each time I gave the drug to the girls, because that takes up a lot of memory.
Instead, a new instance of the SerumPreparate class is added to the girls with only a few attributes: a reference to the original SerumDesign object, the number of remaining moves of the serum's action, and a list of several lists, originally and usually consisting of a reference to the SerumTrait object.
The run_on_#### functions take as arguments a reference to the source SerumDesign object (design), and a list containing a reference to the source SerumTrait object (effect), since the game already has serums that have parameters that change as a result of their use.
If a function needs to save any data for later transfer to another function, the "effect" parameter is used as a stack, for example with effect.append() in on_apply and effect[-1] effect[-2] e.t.c. in on_remove.
Now instead of the SerumTrait class, the STBDDS class is used when adding a serum trait to the game. # (Serum Trait Base Default Data Store).
Giving a name to the created object is pointless.
The names passed in when the object is created are the same as those used when the SerumTrait objects were created.
STBDDS(name = my_new_serum_trait, desc = "This is a new serum trait", e.t.c
The variable we set at the beginning of the creation of a new serum trait should be passed as the name, because it allows us to avoid misprints and, of course, to use it later, if necessary.
Among the parameters that are passed when creating a whey trait we include "triggers" - a string, a list, or a logical True value.
This is to make certain traits in the scenario available or unavailable for research or use at a certain point in the game. Previously, this was done with:
list_of_traits.append(some_trait)
some_trait.tier = n
then the command is given here
enable_trait(some_trait)
or
disable_trait(some_trait)
respectively, instead of
if some_trait in list_of_traits:
is used
if trait_enabled(some_trait):
or
if trait_disabled(some_trait):
If we pass True as "triggers", triggers accepts as a value a list consisting of the trait name.
However, it is possible to set another value common to multiple traits to "enable" them with a single command:
traits_triggers_list.append(some_common_value)
Or we can set a list of several values, if several conditions are required to activate a trait.
We also introduced the "Reserchable" parameter - it determines whether a trait is explorable, and whether a SerumTrait object corresponding to it should be created.
The SerumTraitBlueprint and side effects traits are not explorable.
In fact, no other actions are necessary to make the serum trait in the game.
Parameters equal to default parameters are ignored when creating an object of STBDDS class and class variables are used instead.
STBDDS objects are created each time the game is launched and cannot be changed.
They are stored in the STBDDS.traits class dictionary.
When loading a saved game, the dict_of_traits dictionary is checked for SerumTrait objects corresponding to STBDDS objects - both are found by the key <name_trait>, which is specified in the description of the serum (as described earlier).
This variable can be used to get a SerumTrait object or an STBDDS object at any time, if the existence of a SerumTrait object is not assumed:
get_trait(some_trait:string|SerumTrait|STBDDS)->SerumTrait|STBDDS|None
The SerumTrait object contains only a couple variables: "base"&"progress" are actually the key name and the state in the study of this trait.
All other values are obtained by methods from the base object STBDDS and mathematical calculation.
However, it is possible to set values for the attributes of the SerumTrait object during the game that differ from the constants obtained from STBDDS.
When loading a saved game of the previous version, the program processes the objects contained in list_of_traits and mc.business.blueprinted_traits, and changes the state of research for the created new set of traits.
SerumDesign objects are also processed, both in mc.business.serum_design and in segum_effects of each girl, and references to the previous SerumTraits objects in them are replaced with new ones.
However, 100% guarantee in the absence of any errors cannot be given yet, and I would like you to test this kernel.
P. S. I just found two error. Tomorrow I will send two corrected files.
Here are the corrections I promised. Fixed an error in the "review serum design" screen and an error when saving the game
 

deviantfiend999

Active Member
Apr 21, 2018
502
607
245
Hi everyone.
Sorry if already asked before but it seems I can't unlock any anal with Ellie the IT girl.
Can't see any of it in her sex positions and anal is a unbroken taboo in skills section of trance opinion changer. So by concequence I can't raise her mastering level and make her anal fetish so I can unlock the last IT project level.

içt seems that nothing is happening in her story line anymore.

I hope to be clear.
Thanks
I don't know much about her since I didn't like most side girl contents, but looking at the code, there seems to be an event trigger for when she "never tried anal" and currently it has no effect (also return "false" so its corresponding event will not fire).
 

guims

Newbie
Jan 20, 2019
55
69
133
I don't know much about her since I didn't like most side girl contents, but looking at the code, there seems to be an event trigger for when she "never tried anal" and currently it has no effect (also return "false" so its corresponding event will not fire).
Hello. Thanks for the reply.
I'm not sure to understand 100% what you're saying but in short it's broken right?
I guess I'll have to wait.
It's not that I particulary like her but it's a requirement to max up the IT projects.
 

deviantfiend999

Active Member
Apr 21, 2018
502
607
245
Hello. Thanks for the reply.
I'm not sure to understand 100% what you're saying but in short it's broken right?
I guess I'll have to wait.
It's not that I particulary like her but it's a requirement to max up the IT projects.
Yes, from what I can tell, her story line currently ends before anal sex.
 

demiboss

Newbie
Nov 29, 2017
81
113
255
Hey guys, any word on the next release for this? I have been keen to play it again but sounds like an update might be close to release so wondering if I should hold off. To everyone working on the mods, keep up the great work.
 
Apr 23, 2018
282
82
232
Just started a new game with this new version and I don't have to option to talk to Stephanie about upgrading the serums. I'm stuck on tier 1 without the ability to ask her about nora. It used to be there was an option that would show how much love she needed but its not even there.
 

Jahelric

Newbie
Jun 25, 2017
40
17
188
Here are the corrections I promised. Fixed an error in the "review serum design" screen and an error when saving the game
I tried your changes but got this error

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/game/script.rpy", line 65, in script
init -2 python:
File "game/game/script.rpy", line 70, in <module>
for face in Person._list_of_faces:
NameError: name 'Person' is not defined

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

Full traceback:
File "game/game/script.rpy", line 65, in script
init -2 python:
File "D:\F95zone games\Lab Rats\Lab Rats Ch 2\LabRats2-Reformulate-2023.09-pc\renpy\ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\F95zone games\Lab Rats\Lab Rats Ch 2\LabRats2-Reformulate-2023.09-pc\renpy\python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/game/script.rpy", line 70, in <module>
for face in Person._list_of_faces:
NameError: name 'Person' is not defined

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.3.23091805
Lab Rats 2 - Down to Business 2023.09
Mon Jan 15 06:16:11 2024
 

divas72

Newbie
Jul 12, 2017
92
105
78
I tried your changes but got this error

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/game/script.rpy", line 65, in script
init -2 python:
File "game/game/script.rpy", line 70, in <module>
for face in Person._list_of_faces:
NameError: name 'Person' is not defined

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

Full traceback:
File "game/game/script.rpy", line 65, in script
init -2 python:
File "D:\F95zone games\Lab Rats\Lab Rats Ch 2\LabRats2-Reformulate-2023.09-pc\renpy\ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\F95zone games\Lab Rats\Lab Rats Ch 2\LabRats2-Reformulate-2023.09-pc\renpy\python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/game/script.rpy", line 70, in <module>
for face in Person._list_of_faces:
NameError: name 'Person' is not defined

Windows-10-10.0.19045 AMD64
Ren'Py 8.1.3.23091805
Lab Rats 2 - Down to Business 2023.09
Mon Jan 15 06:16:11 2024
Unfortunately, I can't help you. My changes concerned only objects SerumTrait, SerumDesign. They did not affect Person._list_of_faces in any way
Judging by the report you cited, these are not my changes.

However, the fact that you used my mod and it didn't cause you any related errors is already a good result for me. Thanks for testing!
However, I did find some bugs myself again. I've fixed them, but I don't really like the overall state of things. Perhaps I will go back to refine the previous version. So you can roll back the changes for now.
 
Last edited:
  • Like
Reactions: Wmayrt

Melkor99

Newbie
Dec 7, 2021
30
20
122
So I know own the stripclub. how do you get the BDSM addon? Is it something you have to wait for, or are there actions you can take?
 

ZacariasF100

Newbie
Nov 1, 2022
92
53
141
Anybody know how to progress Stepn's love story or it is just imcomplete?She give me a handjob in the Saturday then nothing happen.
 

Mossrock

Member
Jul 23, 2018
176
550
201
Note that this requires a new save since characters are created on load (meaning her wardrobe is defined only on new game
Did anyone find a workaround for it yet? Reloading wardrobes or something? Or editing them manually, even if it's for one character at a time?
 
Last edited:

divas72

Newbie
Jul 12, 2017
92
105
78
One question, can Myrabelle be customized however one prefers? View attachment 3270421
Naturally, if you modify that file and start a new game.
Or use the console and change the parameters manually:
myra.body_type = "standatd_body"
e.t.c
However, you should remember that not all parameters can be customized this way.
For example, hair style is saved in a separate object. To learn how to do it, it is better to open the file "Person_ren.py". Of course, not to change it.
But there is also a cheat menu. There you can also change the parameters.
 
  • Like
Reactions: AXELXX and Rey66119
4.60 star(s) 79 Votes