I'm trying to make a game with a few stats/points. I have programmed a working point system now thanks to this guide: https://www.renpy.org/wiki/renpy/doc/co ... _Inventory
(I used the "showaffection" code for an affection meter.)
Thing is: this works for one stat, if I use another one for money for example, the two stats overlap eachother.

Here's a picture of what's the problem.
Now the question:
Is it possible to first of all seperate these two with the given code in the script.rpy
script:
init python:
showaffection= False
affection = 0
def display_affection():
if showaffection:
ui.frame()
ui.text("Affection: %d" %affection)
config.overlay_functions.append(display_affection)
Thanks in advance!
PS. If anyone has a good tutorial about how to code these two stats in the screens.rpy, could anyone please link me to that? I want to add some icons for example, I don't think that's an option with the code provided above.
