Who says I'm "Human"? Personalize Forge Update...
Personalize Forge
This will be primarily a cosmetic update but I do think it will improve the user experience immensely!
Any objections please let me know. Any potential gotchas I might have missed please let me know. All things being well then expect a commit sometime this week-end.
Steve
This will be primarily a cosmetic update but I do think it will improve the user experience immensely!
Any objections please let me know. Any potential gotchas I might have missed please let me know. All things being well then expect a commit sometime this week-end.- The aim of this update is to replace any reference to the impersonal "Human" with your own name/moniker.
- This is stored in a new setting, PLAYER_NAME.
- When starting Forge and PLAYER_NAME has not been set you will be automatically prompted to enter your name using the following sequence -
- This dialog will only be shown once on startup when PLAYER_NAME is empty. If you decline to provide a name then "Human" will be used as default and there will be no change from current behaviour.
- You can update the name at any time via the new Player Name preference setting under General Configuration.
- The AI random name generator has been updated so that if it selects the same name as the player it will choose another.
- The raw game log will now use PLAYER_NAME but for reference the MATCH_RESULT log entry will identify whether a player is HUMAN, COMPUTER or REMOTE.
- Code: Select all
Match result: Steve [HUMAN]: 0 Keith [COMPUTER]: 1
Game outcome: Keith has won because all opponents have lost
Game outcome: You have conceded
Land: Steve played Plains (21)
Phase: Steve's Main, precombat
Phase: Steve's Draw
Phase: Steve's Upkeep
Phase: Steve's Untap
Turn: Turn 1 (Steve)
Mulligan: Keith has kept a hand of 7 cards
Mulligan: Steve has kept a hand of 7 cards
Steve