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

Create template from already existing character #35467

Merged
merged 3 commits into from
Nov 16, 2019

Conversation

OzoneH3
Copy link
Member

@OzoneH3 OzoneH3 commented Nov 11, 2019

Summary

SUMMARY: Features "Create template from already existing character"

Purpose of change

Kinda implements #33716 via character templates
Allows the creation of templates from existing world characters.

Describe the solution

Loads the world the selected character is in. Creates a template with the already existing sate_template() function. Modifies player id and mission status to prevent load errors.
These templates can not be modified (eg. Skills, Traits, Professions, etc)
Only things like Name, Gender, Starting location (Which are available on the last Character creation page. See image.)

Additional context

src/avatar.h Show resolved Hide resolved
src/avatar.h Outdated Show resolved Hide resolved
@OzoneH3
Copy link
Member Author

OzoneH3 commented Nov 12, 2019

Travis complains but looks like an unrelated testcase failure.

@curstwist curstwist added [C++] Changes (can be) made in C++. Previously named `Code` Character / World Generation Issues and enhancements concerning stages of creating a character or a world labels Nov 13, 2019
@ZhilkinSerg ZhilkinSerg merged commit 3ca8f49 into CleverRaven:master Nov 16, 2019
@OzoneH3 OzoneH3 deleted the char_to_template branch November 18, 2019 14:41
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` Character / World Generation Issues and enhancements concerning stages of creating a character or a world
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants