-
Notifications
You must be signed in to change notification settings - Fork 510
Open
Description
Perks page gives only green or red status to indicate is the perk is obtained. But many perks have several levels, which are shown together as green.
While the actual perk level may be lower.
The proposal is to highlight achieved level in green, and leave the rest in red.
The code that renders achievements in wiki is here.
Lines 1054 to 1059 in f316821
| blackhole: { | |
| name: loc(`achieve_blackhole_name`), | |
| desc(wiki){ | |
| let bonus = wiki ? "5/10/15/20/25" : global.stats.achieve['blackhole'] ? global.stats.achieve.blackhole.l * 5 : 5; | |
| return loc("achieve_perks_blackhole",[bonus]); | |
| }, |
Just need to figure out how to replace the static string with highlighted - find where the style is applied, and how to split the string.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels