CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x
4.60 star(s) 67 Votes

zippydan

Member
Dec 17, 2016
117
104
I know how to change the opinions of the core characters via console. Is there a way to change the opinions of everyone else via console? Is it possible to identify them?
 

Trollden

Member
Aug 8, 2017
253
326
I know how to change the opinions of the core characters via console. Is there a way to change the opinions of everyone else via console? Is it possible to identify them?
When you talk to someone they are set as the the_person so use that while in their menu. I also added a opinion cheat menu that works on that premise if you hit the "P" button while talking someone where all the valid opinions and sexy opinions are listed and can be increased / decreased by left clicking and discovered / undiscovered by right clicking.

If you want to change the opinion of "everyone" at the same time you can use a for loop against the list of people in list_of_places. You might have to make a small script for this though depending on whether the console plays nicely with you.

Python:
for room in list_of_places: # Every Room in list_of_places
    for person in room.people: # Every person in the room.
        person.sexy_opinions["opinion"] = [2, True]
You can also shorten the above if you just want to affect people in your current location by doing this:

Python:
for person in mc.location.people:
    person.sexy_opinions["opinion"] = [2, True]
 
  • Like
Reactions: zippydan

zippydan

Member
Dec 17, 2016
117
104
When you talk to someone they are set as the the_person so use that while in their menu. I also added a opinion cheat menu that works on that premise if you hit the "P" button while talking someone where all the valid opinions and sexy opinions are listed and can be increased / decreased by left clicking and discovered / undiscovered by right clicking.

If you want to change the opinion of "everyone" at the same time you can use a for loop against the list of people in list_of_places. You might have to make a small script for this though depending on whether the console plays nicely with you.

Python:
for room in list_of_places: # Every Room in list_of_places
    for person in room.people: # Every person in the room.
        person.sexy_opinions["opinion"] = [2, True]
You can also shorten the above if you just want to affect people in your current location by doing this:

Python:
for person in mc.location.people:
    person.sexy_opinions["opinion"] = [2, True]

Thank you so much! This was something I wanted to be able to do for a long time. I also didn't know console ran python.
 

Fruityninja002

New Member
Sep 10, 2017
2
0
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8049, in script call
label normal_start:
File "game/Mods/Core/action_mod_core.rpy", line 187, in script
python:
File "game/Mods/Core/action_mod_core.rpy", line 188, in <module>
append_and_initialize_action_mods()
File "game/Mods/Core/action_mod_core.rpy", line 133, in append_and_initialize_action_mods
action_mod.initialize()
File "game/Mods/Core/action_mod_core.rpy", line 110, in initialize
self.initialization(self)
File "game/Mods/Room/rooms/hair_salon_room.rpy", line 28, in hair_salon_mod_initialization
possessive_title = "My stylist")
File "game/script.rpy", line 2734, in create_random_person
eyes = generate_eye_colour(eyes) #If it's a string assume we want a variation within that eye catagory
File "game/random_lists.rpy", line 308, in generate_eye_colour
eye_colour = return_eyes[1]
UnboundLocalError: local variable 'return_eyes' referenced before assignment
 

Trollden

Member
Aug 8, 2017
253
326
is there a command that changes the chances of side effects
Either use the individual traits' variable name that can be found in traits.rpy or manipulate them through the list_of_traits and then change their base_side_effect_chance to any number you want.

e.g
Python:
list_of_traits[0].base_side_effect_chance = 0
Changing the side effects of all the traits in list_of_traits can be done like this.

Python:
for trait in list_of_traits:
    trait.base_side_effect_chance = 0
Doing the same, but changing the trait.mastery_level instead works too, although you'll need high values to completely eliminate the chance of a side effect.
 

Trollden

Member
Aug 8, 2017
253
326
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8049, in script call
label normal_start:
File "game/Mods/Core/action_mod_core.rpy", line 187, in script
python:
File "game/Mods/Core/action_mod_core.rpy", line 188, in <module>
append_and_initialize_action_mods()
File "game/Mods/Core/action_mod_core.rpy", line 133, in append_and_initialize_action_mods
action_mod.initialize()
File "game/Mods/Core/action_mod_core.rpy", line 110, in initialize
self.initialization(self)
File "game/Mods/Room/rooms/hair_salon_room.rpy", line 28, in hair_salon_mod_initialization
possessive_title = "My stylist")
File "game/script.rpy", line 2734, in create_random_person
eyes = generate_eye_colour(eyes) #If it's a string assume we want a variation within that eye catagory
File "game/random_lists.rpy", line 308, in generate_eye_colour
eye_colour = return_eyes[1]
UnboundLocalError: local variable 'return_eyes' referenced before assignment
Are you on version 0.21.1 and using the latest development branch?
The master branch should prompt this error as it doesn't have a "valid" eyes string for the new eye color system in 0.21.x.
 

Fruityninja002

New Member
Sep 10, 2017
2
0
Are you on version 0.21.1 and using the latest development branch?
The master branch should prompt this error as it doesn't have a "valid" eyes string for the new eye color system in 0.21.x.
Switch from master to developer and now it works fine, thanks
 

DaMatt

Member
Feb 6, 2018
152
83
I found a little flaw in Room.move_person. In case the_destination is None (random location since not defined in schedule) it throws an exception. This may happen if you tell a girl to stop following you around.

I added
Python:
    def move_person_expanded(self,the_person,the_destination):
        if the_destination is None:
            available_locations = [] #Check to see where is public (or where you are white listed) and move to one of those locations randomly
            for potential_location in list_of_places:
                if potential_location.public:
                    available_locations.append(potential_location)
            location.move_person(self, get_random_from_list(available_locations))
        elif not the_person in the_destination.people: # Don't bother moving people who are already there.
            self.remove_person(the_person)
            the_destination.add_person(the_person)
            #TODO: add situational modifiers for the location

    Room.move_person = move_person_expanded
to room_class_extensions.rpy to work around that issue.

Cheers
Matt
 

darkmagician

New Member
Jun 8, 2017
4
0
Got a Crash when going to Downtown

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8357, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8398, in script call
$ renpy.call(the_place.tutorial_label)
File "game/script.rpy", line 8357, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8398, in script call
$ renpy.call(the_place.tutorial_label)
TypeError: unhashable type: 'RevertableList'

Please anyone help.
 

mochamas23

Active Member
Apr 5, 2019
790
175


Overview:
This mod collection extends the base game with a range of new features and enhancements to make the game more enjoyable and configurable to your own preferences.​

Updated: 2019-09-12
Game/Creator: LabRats2 / Vren
Modder: Trollden / Tristim
Game Version: 0.21.1
Language: English

Installation:
You don't have permission to view the spoiler content. Log in or register now.

Features:
You don't have permission to view the spoiler content. Log in or register now.


Mod:
Releases:
(list of releases)
Beta: (direct download latest version)

Updated Game Files:
Unofficial Bugfix Releases:
(list of release v0.x.x-bf)
Unofficial Bugfix Beta: (direct download latest version)
contains bugfixes after release from vren and mod compatibility updates

Android Mod Builds:
Crazy 5gb mod in Android
 

james_97

Newbie
Jun 14, 2017
79
16
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 8311, in script call
    call screen main_choice_display([people_list,actions_list])
  File "game/crises.rpy", line 2657, in script
    call screen interview_ui([the_daugther]) #Hire her or reject her.
  File "renpy/common/000statements.rpy", line 514, in execute_call_screen
    args, kwargs = a.evaluate()
  File "game/crises.rpy", line 2657, in <module>
    call screen interview_ui([the_daugther]) #Hire her or reject her.
NameError: name 'the_daugther' is not defined

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

Full traceback:
  File "game/script.rpy", line 8311, in script call
    call screen main_choice_display([people_list,actions_list])
  File "game/crises.rpy", line 2657, in script
    call screen interview_ui([the_daugther]) #Hire her or reject her.
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\ast.py", line 1828, in execute
    self.call("execute")
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\ast.py", line 1816, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\statements.py", line 177, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 514, in execute_call_screen
    args, kwargs = a.evaluate()
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\ast.py", line 184, in evaluate
    args.append(renpy.python.py_eval(v, locals=scope))
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\python.py", line 1943, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\python.py", line 1936, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/crises.rpy", line 2657, in <module>
    call screen interview_ui([the_daugther]) #Hire her or reject her.
NameError: name 'the_daugther' is not defined

Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.21.0
Wed Oct 09 21:33:33 2019
i get this every time the daughter hiring thing comes up
 

Tristim

Member
Modder
Donor
Nov 12, 2018
316
1,289
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 8311, in script call
    call screen main_choice_display([people_list,actions_list])
  File "game/crises.rpy", line 2657, in script
    call screen interview_ui([the_daugther]) #Hire her or reject her.
  File "renpy/common/000statements.rpy", line 514, in execute_call_screen
    args, kwargs = a.evaluate()
  File "game/crises.rpy", line 2657, in <module>
    call screen interview_ui([the_daugther]) #Hire her or reject her.
NameError: name 'the_daugther' is not defined

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

Full traceback:
  File "game/script.rpy", line 8311, in script call
    call screen main_choice_display([people_list,actions_list])
  File "game/crises.rpy", line 2657, in script
    call screen interview_ui([the_daugther]) #Hire her or reject her.
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\ast.py", line 1828, in execute
    self.call("execute")
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\ast.py", line 1816, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\statements.py", line 177, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 514, in execute_call_screen
    args, kwargs = a.evaluate()
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\ast.py", line 184, in evaluate
    args.append(renpy.python.py_eval(v, locals=scope))
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\python.py", line 1943, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "E:\Games 1\L\Lab_Rats_2-v0.21.0-pc\renpy\python.py", line 1936, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/crises.rpy", line 2657, in <module>
    call screen interview_ui([the_daugther]) #Hire her or reject her.
NameError: name 'the_daugther' is not defined

Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.21.0
Wed Oct 09 21:33:33 2019
i get this every time the daughter hiring thing comes up
Did you install the 'bugfix'? This is a bug in the original VREN code.
 

Tristim

Member
Modder
Donor
Nov 12, 2018
316
1,289
I found a little flaw in Room.move_person. In case the_destination is None (random location since not defined in schedule) it throws an exception. This may happen if you tell a girl to stop following you around.

I added
Python:
    def move_person_expanded(self,the_person,the_destination):
        if the_destination is None:
            available_locations = [] #Check to see where is public (or where you are white listed) and move to one of those locations randomly
            for potential_location in list_of_places:
                if potential_location.public:
                    available_locations.append(potential_location)
            location.move_person(self, get_random_from_list(available_locations))
        elif not the_person in the_destination.people: # Don't bother moving people who are already there.
            self.remove_person(the_person)
            the_destination.add_person(the_person)
            #TODO: add situational modifiers for the location

    Room.move_person = move_person_expanded
to room_class_extensions.rpy to work around that issue.

Cheers
Matt
Hi Matt,

In the latests build the follow function is implemented by a flag on the person object, when you ask to stop following you, the original run_move function is called that already accounts for an empty destination.
 

The Grifter

Active Member
May 28, 2017
664
1,059
Did you install the 'bugfix'? This is a bug in the original VREN code.
Is there a bugfix for this issue for the 21.1 version available or in the works? I'm getting the same error playing that one, both vanilla and using the newest developer mod. After correcting the typo in crises.rpy in 21.1 (parameter the_daugther instead of the_daughter) this happens:

You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:

DaMatt

Member
Feb 6, 2018
152
83
Hi Matt,

In the latests build the follow function is implemented by a flag on the person object, when you ask to stop following you, the original run_move function is called that already accounts for an empty destination.
Thats great, I missed that somehow.

But I found another little typo which crashes the game. Vren missed an "r" in su(r)prised_exclaim. So cougars don't like the tax crisis.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 8371, in script call
    $ picked_option.call_action()
  File "game/script.rpy", line 9031, in script call
    call advance_time from _call_advance_time_1
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 143, in script call
    $ act.call_action()
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 183, in script call
    $ the_crisis.call_action()
  File "game/crises.rpy", line 1102, in script call
    $ the_person.call_dialogue("suprised_exclaim")
  File "game/script.rpy", line 8371, in script call
    $ picked_option.call_action()
  File "game/script.rpy", line 9031, in script call
    call advance_time from _call_advance_time_1
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 143, in script call
    $ act.call_action()
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 183, in script call
    $ the_crisis.call_action()
  File "game/crises.rpy", line 1102, in script call
    $ the_person.call_dialogue("suprised_exclaim")
ScriptError: could not find label 'cougar_suprised_exclaim'.
Cheers
Matt
 
  • Like
Reactions: Trollden

Tristim

Member
Modder
Donor
Nov 12, 2018
316
1,289
Is there a bugfix for this issue for the 21.1 version available or in the works? I'm getting the same error playing that one, both vanilla and using the newest developer mod. After correcting the typo in crises.rpy in 21.1 (parameter the_daugther instead of the_daughter) this happens:

You don't have permission to view the spoiler content. Log in or register now.
From OP:

Updated Game Files:
Unofficial Bugfix Releases: (list of release v0.x.x-bf)
Unofficial Bugfix Beta: (direct download latest version)
contains bugfixes after release from vren and mod compatibility updates
 
  • Like
Reactions: The Grifter

The Grifter

Active Member
May 28, 2017
664
1,059
From OP:

Updated Game Files:
Unofficial Bugfix Releases: (list of release v0.x.x-bf)
Unofficial Bugfix Beta: (direct download latest version)
contains bugfixes after release from vren and mod compatibility updates
Ah, forget it, I was being stupid. Overwrote crises.rpy, deleted the .rpyc, works fine now.
 
Last edited:
4.60 star(s) 67 Votes