Every time character names come up in dialogue, I want their names to appear in the same color as their defined character names.
So far I've been doing it like this:
Code: Select all
$ Mia = "{color=FF2626}Mia{/color}"
I would also like to do this with the player character, but the player character name is user-defined.
Code: Select all
python:
name = renpy.input("My name is...")
name = name.strip() or "Tom"
Is it possible to do something similar to $ PC = "{color=F6D295}[name]{/color}" and get it to work, or is there a better way to handle all of this?