What's new
Choice of Mods

Join our amazing community to find Choicescript games and modifications to improve your gameplay!

Developer tools on cog demos

ADB446

Active member
Member
Does anyone know how to edit stats in cog demos? The typical “stats.” Thing doesn’t work.
 

zareichie

Active member
Member
I usually use this.stats.(variable name)=(desired number)
Usually, to know you're in the right track, when you already type in the variable name, there's number below and that is your number.
Example:
I'm using wlgyl demo.
Screenshot_20241117-072700.jpg
I want to change the bank account number and from code diving I already know which variable name I should search.
Screenshot_20241117-073125.jpg
And here's what I mean when you know you are in the right track.
After that just put the rest of code and when you get back to the demo, make sure to proceed the game to the next page before you check on the stats page
 

ADB446

Active member
Member
I usually use this.stats.(variable name)=(desired number)
Usually, to know you're in the right track, when you already type in the variable name, there's number below and that is your number.
Example:
I'm using wlgyl demo.
View attachment 14004
I want to change the bank account number and from code diving I already know which variable name I should search.
View attachment 14005
And here's what I mean when you know you are in the right track.
After that just put the rest of code and when you get back to the demo, make sure to proceed the game to the next page before you check on the stats page
Thanks. I’ll try this
 

luckz

Active member
Member
I usually use this.stats.(variable name)=(desired number)
Usually, to know you're in the right track, when you already type in the variable name, there's number below and that is your number.
Example:
I'm using wlgyl demo.
View attachment 14004
I want to change the bank account number and from code diving I already know which variable name I should search.
View attachment 14005
And here's what I mean when you know you are in the right track.
After that just put the rest of code and when you get back to the demo, make sure to proceed the game to the next page before you check on the stats page
This only works on dashingdon.com
Have you tried doing this on cogdemos.ink?
Here's the example: https://cogdemos.ink/play/jc/weeping-gods-public-demo
I can't use the stats. command
 

luckz

Active member
Member
which stats did you want to change? So far I can change the skills and debens. For the relationships, I can't find their variable name so I can't change that.
This is what I see when I try to use stats. command (I use kiwi browser)
Screenshot_20241117_111703_Kiwi Browser.png
 

dirtydeeds

Member
Member
Top