feat: json format, et al.

This commit is contained in:
Subarashimo
2025-12-03 14:55:30 +01:00
parent 56349f30e6
commit 0f7fdfcef1
28 changed files with 5692 additions and 237 deletions
+4 -4
View File
@@ -61,8 +61,8 @@ export function buildUserStatsText() {
text += inventorySummary;
}
// Add skills if enabled
if (config.skillsSection.enabled && stats.skills) {
// Add skills if enabled AND not shown in separate tab
if (config.skillsSection.enabled && stats.skills && !extensionSettings.showSkills) {
text += `\n${config.skillsSection.label}: ${stats.skills}`;
}
@@ -167,8 +167,8 @@ export function renderUserStats() {
html += '</div>';
}
// Skills section (conditionally rendered)
if (config.skillsSection.enabled) {
// Skills section (conditionally rendered) - only if NOT shown in separate tab
if (config.skillsSection.enabled && !extensionSettings.showSkills) {
const skillsValue = stats.skills || 'None';
html += `
<div class="rpg-skills-section">