- Apr 21, 2018
- 474
- 530
Objects are great, they hold variables so when one needs to get a value, it need only to find who or what that value belongs to.
But since sometimes, the dev console does not show the attributes of an object (it only lists objects inside an array, as far as I can tell). So say if an object used to have {hp, money} as attributes, and the dev decided to change them to {health, funds} in the new update, it can be a while before one can find the right names for them.
How does one go about finding out how an object is structured in RenPy games? Can the dev console be used for that? And since I have UnRen and unpacked the script files, where can I find the python scripts that actually defines gameplay related objects?
But since sometimes, the dev console does not show the attributes of an object (it only lists objects inside an array, as far as I can tell). So say if an object used to have {hp, money} as attributes, and the dev decided to change them to {health, funds} in the new update, it can be a while before one can find the right names for them.
How does one go about finding out how an object is structured in RenPy games? Can the dev console be used for that? And since I have UnRen and unpacked the script files, where can I find the python scripts that actually defines gameplay related objects?