So I kinda want to know this for future reference, but how on earth do you add characters (letters, numbers, symbols, spaces) to an already defined variable? Like I want the player's name to be whatever they want it to be, but with a fixed last name for story purposes. so like, if someone, per say, a teacher were to call them by their full name, ("player_name Reia") how would you do that?
I used a basic renpy.input line for the player to put in any name they want. This sets the name they chose to the variable "Player_name". the second line just removes any spaces at the end.
Code: Select all
$ player_name = renpy.input("What is your name?")
$ player_name = player_name.strip()
And I already took a stab at it, by using this line, which failed miserably:
Code: Select all
$ player_name_full = player_name.add( Reia)
Specifically I got this error message:
AttributeError: 'str' has no attribute 'add'
One, what does /|\ that mean and two how would I do what I'm trying to do? Thanks!