1/3
3 Years of Service
I'm modding a game that has customizable ages, and I'm trying to mod it to subtract one custom age from another, to create a third age. (In order to show how old the MC's mom was, when his oldest daughter was born, and she became a grandma.) So, if you could write out the code needed, or show me an example of a game that does this, I'd appreciate it.
So far I have:
define persistent.tsage2 = ([persistent.tsage] - [persistent.dLeahAGE])
Which is throwing up this error:
File "game/script.rpy", line 173, in script
define persistent.tsage2 = ([persistent.tsage] - [persistent.dLeahAGE])
File "game/script.rpy", line 173, in <module>
define persistent.tsage2 = ([persistent.tsage] - [persistent.dLeahAGE])
TypeError: unsupported operand type(s) for -: 'RevertableList' and 'RevertableList'
So far I have:
define persistent.tsage2 = ([persistent.tsage] - [persistent.dLeahAGE])
Which is throwing up this error:
File "game/script.rpy", line 173, in script
define persistent.tsage2 = ([persistent.tsage] - [persistent.dLeahAGE])
File "game/script.rpy", line 173, in <module>
define persistent.tsage2 = ([persistent.tsage] - [persistent.dLeahAGE])
TypeError: unsupported operand type(s) for -: 'RevertableList' and 'RevertableList'