From b4ad757e42adae387b12e4f3d4ce389e4d2d70dd Mon Sep 17 00:00:00 2001 From: munimunigamer Date: Tue, 30 Dec 2025 03:23:18 -1200 Subject: [PATCH] removed unnecessary "LLM Instruction" prompt for image generation --- index.js | 21 --------------------- template.html | 17 +---------------- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/index.js b/index.js index 9a97157..96c7dab 100644 --- a/index.js +++ b/index.js @@ -521,23 +521,10 @@ async function initUI() { extensionSettings.autoGenerateAvatars = $(this).prop('checked'); saveSettings(); - // Show/hide avatar options based on toggle - const $options = $('#rpg-avatar-options'); - if (extensionSettings.autoGenerateAvatars) { - $options.slideDown(200); - } else { - $options.slideUp(200); - } - // Re-render thoughts to update tooltips (regenerate vs delete) renderThoughts(); }); - $('#rpg-avatar-llm-instruction').on('input', function() { - extensionSettings.avatarLLMCustomInstruction = $(this).val().trim(); - saveSettings(); - }); - $('#rpg-toggle-dice-display').on('change', function() { extensionSettings.showDiceDisplay = $(this).prop('checked'); saveSettings(); @@ -745,14 +732,6 @@ async function initUI() { // Initialize avatar options $('#rpg-toggle-auto-avatars').prop('checked', extensionSettings.autoGenerateAvatars || false); - $('#rpg-avatar-llm-instruction').val(extensionSettings.avatarLLMCustomInstruction || ''); - - // Initialize avatar options visibility - if (extensionSettings.autoGenerateAvatars) { - $('#rpg-avatar-options').show(); - } else { - $('#rpg-avatar-options').hide(); - } $('#rpg-toggle-dice-display').prop('checked', extensionSettings.showDiceDisplay); $('#rpg-stat-bar-color-low').val(extensionSettings.statBarColorLow); diff --git a/template.html b/template.html index fc3d301..7d6fc2a 100644 --- a/template.html +++ b/template.html @@ -280,22 +280,7 @@ button. - - +