Better skill detection

This commit is contained in:
Gonçalo Correia 2026-04-11 19:43:11 +01:00
parent 9e629aec31
commit 3e4ac9888a
2 changed files with 35 additions and 20 deletions

View file

@ -3,9 +3,13 @@
- The skills are defined in the TRP profile as 'Personality traits'
- For each trait:
- the left field represents the skill name
- the right field represents the skill level as a string (Novice, Adept, Expert, Master)
- should the right field have anything after the level, it is to be ignored
- should a skill have no recognizable level, it should be omitted from the list
- the right field must contain a valid skill keyword (Novice, Adept, Expert, Master) — traits without one of these keywords are omitted
- the first numeric value (V2) determines the skill level based on these ranges:
- Novice: 1-5
- Adept: 6-10
- Expert: 11-19
- Master: 20
- should a skill have a value of 0 or no value, it should be omitted from the list
- The list should have a default selected value of "Unskilled" which corresponds to a -4 modifier
- In case no skills are found in the profile, or no profile is selected, a default list should be displayed
- Unskilled, Novice Skill, Adept Skill, Expert Skill, Master Skill