henokemp / lit-feelingthepast

A chapter for the Lives in Transit game!
Other
1 stars 0 forks source link

Using {{user.firstName}} in textComponent #4

Open martindusinberre opened 4 years ago

martindusinberre commented 4 years ago

For the time being, the work-around on this is simply to have the character address the player as "you". But if we have time in May, it's possible that @interrogator would be able to make a change to the code so that this becomes possible in the textComponent too. (At the moment, it's only possible in mail1 and dialog pages.)

henokemp commented 4 years ago

I've "solved" the problem with already re-writing the dialog without names. It's a small change, which makes the game less immersive, but I think it's fine. This issue should be relatively low priority.

martindusinberre commented 4 years ago

Great, thanks. I have to teach now but will be back on this again probably tomorrow afternoon/evening, or if not Thursday morning.

interrogator commented 4 years ago

It is possible to add the functionality of allowing names in particular fields. This has been done once or twice before. But I'd really rather not do it again and again. If you both figure out exactly which fields you'd like access to certain variables in, I can probably do them all at once sometime. So yeah to minimise development hours for this fix, please come up with very specific lists of field names for which you want access to some kind of extra variable. dankedank