json.err

Newbie
Sep 14, 2016
66
116
128
Right - let's make Astrid Av107 a starlet... in the "Your House" view - hit F12 for the console on Chrome

enter

"SugarCube.State.variables.npc.av107.traitstarlet = 100"

I get

"100"

I leave the house for the "Redhaven" view - i.e. clicked something / pulled another page - return, click on Av107 traits... and no starlet... works with the scripted ones, though.

Any obvious mistakes here?
Here is the trick... People in this game have 2 ids attached.
First one is so called avid. You use it to access their data like in the line above where you tried to change trait value. The second id is so called girlid (name of the var it's saved as). Both ids are the same if they are less than 100. So all "scripted" npcs have avid and girlid equal. Regarding random people (avid >= 100). Some of them are actually scripted as well but whatever.
In case of Astrid she has girlid 107, not avid. Her images are in the directory AvRan/Av107 which is confusing. But these two "av107" are not the same. She is not stored in your game as av107, most likely not. So you are trying to set starlet trait for someone else. You need to find proper storage key for her in order to change her stats since it can be different in two playthroughs.
 

VeryFunnyAardvark

New Member
Jul 24, 2023
10
3
13
Here is the trick... People in this game have 2 ids attached.
First one is so called avid. You use it to access their data like in the line above where you tried to change trait value. The second id is so called girlid (name of the var it's saved as). Both ids are the same if they are less than 100. So all "scripted" npcs have avid and girlid equal. Regarding random people (avid >= 100). Some of them are actually scripted as well but whatever.
In case of Astrid she has girlid 107, not avid. Her images are in the directory AvRan/Av107 which is confusing. But these two "av107" are not the same. She is not stored in your game as av107, most likely not. So you are trying to set starlet trait for someone else. You need to find proper storage key for her in order to change her stats since it can be different in two playthroughs.
That's what I finally came to assume! Thank you so much for confirming that!
 

Bananas2k

Newbie
Jun 6, 2018
27
11
102
Are there future plans to add threesome secenes with another male? For example: MC + Gregory + Valeria (the Helms).
 

OneMoreZoner

Newbie
May 23, 2022
80
124
98
Should be no difference if it's scripted or random character. The issue is likely in the understanding how game engine works. You have to move to some other page (i.e. click something) for the changes to be applied. In most cases you won't see them if you reload page or save/load right away.
That's what I finally came to assume! Thank you so much for confirming that!
:geek:

Variable id for scripted characters is the same as folder id. So character in Pics\Av1 (Lovisa) is npc.av1

However, folder id can't be the same as variable id for random girls (anybody in Pics\AvRan) because there can be more than one at your house at the same time. So the first random girl you get in your house gets assigned something like .av101, the second is .av102 etc.

You can paste the following code in the console to quickly find the variable id for your girls:

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

Just put the first name of the girl you want to find instead of Mae and hit enter. If you have two girls with the same first names it will give you two id's. Very handy.
 
Last edited:

OneMoreZoner

Newbie
May 23, 2022
80
124
98
Here is the trick... People in this game have 2 ids attached.
First one is so called avid. You use it to access their data like in the line above where you tried to change trait value. The second id is so called girlid (name of the var it's saved as). Both ids are the same if they are less than 100. So all "scripted" npcs have avid and girlid equal. Regarding random people (avid >= 100). Some of them are actually scripted as well but whatever.
In case of Astrid she has girlid 107, not avid. Her images are in the directory AvRan/Av107 which is confusing. But these two "av107" are not the same. She is not stored in your game as av107, most likely not. So you are trying to set starlet trait for someone else. You need to find proper storage key for her in order to change her stats since it can be different in two playthroughs.
Much helpful stuff in your mod btw, thankee kindly (tips hat) :)
 
  • Like
Reactions: json.err

ledski0606

Newbie
Dec 17, 2021
47
27
69
This game is so good that every new update I feel tempted to start it from scratch. I just wish that we could see in-game the possible consequences of each action instead of having to turn to the wiki.
 
  • Like
Reactions: Fauno36
Feb 24, 2025
130
148
62
"The MC can now repair his own household (= decrease the Disrepair attribute)."
"A repair action also has a 5% chance to increase the Artisan skill (cap: 60)."

Screw the other stuff, THIS this the kinda change I was waiting for. Fix my collapsing home instead of waiting for my incompetent jannies to do it AND raise Artisan skills in the process :PogChamp:?!
 
  • Like
Reactions: Gamer9999 and Canes

Canes

Member
May 27, 2018
373
232
159
I haven't finished Aria's quest yet, but the new update seems to suggest that you can get her back after selling her to Kymanto Hall? Is that something that happens if you stick to the questline (slavemasters of Raana), or do you need to do a few extra steps to get her back?
 

Ballnibbler3000

New Member
Aug 6, 2023
11
12
22
I haven't finished Aria's quest yet, but the new update seems to suggest that you can get her back after selling her to Kymanto Hall? Is that something that happens if you stick to the questline (slavemasters of Raana), or do you need to do a few extra steps to get her back?
Yes you can get her back later when you sell her to Kymanto. It's part of the questline, and no you don't need to do anything else.
 
  • Like
Reactions: Gamer9999 and Canes
4.50 star(s) 169 Votes