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

Fix mission names misused as mission description #3376

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

olanti-p
Copy link
Contributor

@olanti-p olanti-p commented Oct 6, 2023

Summary

SUMMARY: Bugfixes "Fixed mission names misused as mission description"

Purpose of change

Fix #3229.
Prevent missions from having long and verbose names that look ugly in the UI.

Describe the solution

The bug was caused by use of tags in mission name, but tags are supported only in mission description.
1st commit changes name into description for affected missions.
2nd commit adds automated check that discourages long names in favor of using the description field.
3rd commit tweaks names of the missions that trigger the new check.

Describe alternatives you've considered

40 is an arbitrary limit, can be changed.

Testing

image
(The name does not match because Leo is the NPC I've debug-added the mission to)

@github-actions github-actions bot added src changes related to source code. JSON related to game datas in JSON format. labels Oct 6, 2023
@github-actions github-actions bot added the mods PR changes related to mods. label Oct 6, 2023
chaosvolt added a commit to chaosvolt/cdda-arcana-mod that referenced this pull request Oct 6, 2023
Copy link
Member

@chaosvolt chaosvolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Compiled and load-tested.
  2. Temporarily added in Arcana and Cata++.
  3. Used it to check mission name lengths in them.

@chaosvolt chaosvolt added this pull request to the merge queue Oct 6, 2023
Merged via the queue into cataclysmbnteam:upload with commit 42d0b2f Oct 6, 2023
@olanti-p olanti-p deleted the fix-fmc-note branch October 6, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JSON related to game datas in JSON format. mods PR changes related to mods. src changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<reward_count:FMCNote> not replaced in NPC quest description
2 participants