Code: Select all
init python:
import locale
if renpy.linux:
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
else:
locale.setlocale(locale.LC_ALL, 'en_US')
Code: Select all
hbox:
xpos 25
ypos 25
imagebutton:
at zoom2
idle "gui/missfortune/buttons/animbuttons/money/money001.png"
hover "moneyvid"
hovered Play("sound", "music/hover.wav")
action NullAction()
text "{}".format(locale.currency(mc_money, grouping=True)) font 'gui/missfortune/fonts/Montserrat-Light.ttf' size 35 xpos 7 ypos 20 color '#969798'
Then there's the obvious $ mc_money += 1000 in the script, the usual way of adding/subtracting numbers. Both of my PCs are Windows 11 and the VN works fine, nor do I have a Linux machine (or knowhow) to test on. So, it's nigh impossible for me to test what's going on efficiently. Is it Ren'py 8 having conflicts with older systems? Or is it something with the code? Google seems to bring up quite literally nothing. Traceback image is attached, as well. Any help is appreciated.
This is driving me bonkers.