Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability for user defined profession names #40447

Merged
merged 2 commits into from
May 13, 2020

Conversation

CodeBandit
Copy link
Contributor

Summary

SUMMARY: Content "Add ability for user-defined profession names"

Purpose of change

It has no impact on gameplay other than immersion. After all, we don't want our characters to forever be defined with "tweaker", "naked and afraid", or "lost submissive".

Describe the solution

Instead of this:
image

we can press * during character display to get a popup below
image

We can define our characters as this instead:
image

Deleting the custom profession will reset it back to default functionality.

Describe alternatives you've considered

None.

Testing

Add and remove the custom profession.
Save and reload for save game persistence.

@curstwist curstwist added [C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON Info / User Interface Game - player communication, menus, etc. Mutations / Traits / Professions/ Hobbies Mutations / Traits / Professions/ Hobbies labels May 12, 2020
src/player.cpp Outdated Show resolved Hide resolved
src/player_display.cpp Outdated Show resolved Hide resolved
src/player_display.cpp Outdated Show resolved Hide resolved
@CodeBandit
Copy link
Contributor Author

I have removed the redundant inits and checks

@kevingranade kevingranade merged commit 7d04bfa into CleverRaven:master May 13, 2020
@CodeBandit CodeBandit deleted the Custom-Titles branch May 17, 2020 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. [JSON] Changes (can be) made in JSON Mutations / Traits / Professions/ Hobbies Mutations / Traits / Professions/ Hobbies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants