Can I make a character have dialogue based on a variable? Such as a True or False or even if they are in a list of names?
For example you have a party made up of different people. You have your main character and they can bring two people with them out of five in the game. I don't want to spend my time coding "if BenInParty" or "if 'Ben' in party_list" show dialogue. Could I put it in there defined character instead?
For example it would look like this.
"You bring Ben and Joe with you. You left Tony, Chris, and Ella behind at camp."
Code would be:
Code: Select all
MC "Is he seriously still on his monologue?"
b "I know right?"
t "Ugh, how much longer will this take?"
j "I don't like what he's saying about us, [mc_name]."
e "Ooh, ooh my nails are dry. Let the guy talk more!"
I'm not sure if I'm putting it in the wrong place or if it's just not possible with an error I always get with Python and screen about a Revertable List.MC "I-I think he's still monologuing."
b "I know right?"
j "I don't like what he's saying about us, Alice."