From 62c4f344c73899ba42d0786b1843fb8d69b51298 Mon Sep 17 00:00:00 2001 From: gator Date: Sun, 6 Sep 2026 18:55:22 +0000 Subject: [PATCH] Add a voice field to the pet profile so the character stays consistent --- pets.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pets.html b/pets.html index 58905d2..b452a69 100644 --- a/pets.html +++ b/pets.html @@ -50,6 +50,11 @@ This is what makes it sound like your pet rather than a generic one. +
+ + This is what keeps them the same character across every video. Be specific: age, accent, pace — and anything they should never sound like. Vague descriptions drift between episodes. + +
@@ -96,6 +101,9 @@ function petCard(p) { + '' + (p.appearance ? '

' + esc(p.appearance) + '

' : '') + (p.personality ? '

' + esc(p.personality) + '

' : '') + + (p.voice + ? '

Voice: ' + esc(p.voice) + '

' + : '

No voice set, so they will sound like a different character in every video.

') + '
' + strip + '
' + '
' + '' @@ -132,7 +140,8 @@ document.getElementById("petform").addEventListener("submit", async function (e) species: document.getElementById("pspecies").value, breed: document.getElementById("pbreed").value.trim(), appearance: document.getElementById("pappear").value.trim(), - personality: document.getElementById("pperson").value.trim() + personality: document.getElementById("pperson").value.trim(), + voice: document.getElementById("pvoice").value.trim() }; if (!pet.name) { showMsg("msg", "Your pet needs a name."); return; } @@ -149,7 +158,7 @@ document.getElementById("petform").addEventListener("submit", async function (e) function resetForm() { document.getElementById("petid").value = ""; - ["pname", "pbreed", "pappear", "pperson"].forEach(function (i) { document.getElementById(i).value = ""; }); + ["pname", "pbreed", "pappear", "pperson", "pvoice"].forEach(function (i) { document.getElementById(i).value = ""; }); document.getElementById("pspecies").value = "dog"; document.getElementById("formtitle").textContent = "Add a pet"; document.getElementById("cancel").style.display = "none"; @@ -167,6 +176,7 @@ document.getElementById("list").addEventListener("click", async function (e) { document.getElementById("pbreed").value = p.breed || ""; document.getElementById("pappear").value = p.appearance || ""; document.getElementById("pperson").value = p.personality || ""; + document.getElementById("pvoice").value = p.voice || ""; document.getElementById("formtitle").textContent = "Edit " + (p.name || "pet"); document.getElementById("cancel").style.display = ""; document.getElementById("formcard").scrollIntoView({ behavior: "smooth", block: "start" });