Variable changer NotePad or .text

I'm looking for a code that allows me to change ingame variables with a notepad or .text inside the game main folder.

Let's say I have a variable named "attractiveness" can I have something inside that notepad or text that reads "attractiveness=0" without having the full code inside the note pad and the game also changing the values in the notepad.


Will credit properly.

Original thread: https://forums.rpgmakerweb.com/threads/variable-changer-notepad-or-text.60431/