I'm playing
https://f95zone.to/threads/a-photographers-lies-v1-40-0-skullcam37.52597
In chapter 7 there is a a new mechanic to unlock pictures however it appears to be RNG whether you see anew image of not, so its a massive pain to unlock new new images. When you see a new image it gets dropped in as a variable undera new collection attribute
If i was unlocking an image for the third time the collection id would be [2] (starts from 0) and the img value would be 1-6 (they don't unlock in order) Collection 2 doesn't exist until the new image is triggered.
This is what i was trying:
SugarCube.State.variables.newStudio.contacts.cassidy.shoots.porn.housewife.collection[2].value=100 (amount doesn't mater)
SugarCube.State.variables.newStudio.contacts.cassidy.shoots.porn.housewife.collection[2].img=2
and this is the resulting error.
Uncaught TypeError: Cannot set properties of undefined (setting 'value')
This is the chain of variables under .housewife
housewife:
additionalContent: 12
cf: 50
collection: Array(6)
0: {img: 3, value: 500}
1: {img: 1, value: 436}
length: 2
[[Prototype]]: Array(0)
How do I cheat the variables to make it look like i've seen the new pictures?