Spaces:
Running
Running
Upload index.html
Browse files- index.html +5 -0
index.html
CHANGED
@@ -196,6 +196,9 @@
|
|
196 |
|
197 |
<label for="dislikes">Dislikes</label>
|
198 |
<input type="text" id="dislikes" placeholder="Dislikes formatted as: dislike1, dislike2, etc" required>
|
|
|
|
|
|
|
199 |
|
200 |
<label for="occupation">Occupation</label>
|
201 |
<input type="text" id="occupation" placeholder="Bot Occupation" required>
|
@@ -328,6 +331,7 @@
|
|
328 |
var dialogueStyle = document.getElementById('dialogueStyle').value;
|
329 |
var motivation = document.getElementById('motivation').value;
|
330 |
var relationships = document.getElementById('relationships').value
|
|
|
331 |
|
332 |
var builder = [];
|
333 |
|
@@ -339,6 +343,7 @@
|
|
339 |
if (gender) builder.push(`gender: ${gender}`);
|
340 |
if (likes) builder.push(`likes: ${likes}`);
|
341 |
if (dislikes) builder.push(`dislikes: ${dislikes}`);
|
|
|
342 |
if (appearance) builder.push(`appearance: ${appearance}`);
|
343 |
if (outfit) builder.push(`outfit: ${outfit}`);
|
344 |
if (personality1) builder.push(`personality: ${personality1}`);
|
|
|
196 |
|
197 |
<label for="dislikes">Dislikes</label>
|
198 |
<input type="text" id="dislikes" placeholder="Dislikes formatted as: dislike1, dislike2, etc" required>
|
199 |
+
|
200 |
+
<label for="hobbies">Hobbies</label>
|
201 |
+
<input type="text" id="hobbies" placeholder="List the character's hobbies; i.e. Baseball."
|
202 |
|
203 |
<label for="occupation">Occupation</label>
|
204 |
<input type="text" id="occupation" placeholder="Bot Occupation" required>
|
|
|
331 |
var dialogueStyle = document.getElementById('dialogueStyle').value;
|
332 |
var motivation = document.getElementById('motivation').value;
|
333 |
var relationships = document.getElementById('relationships').value
|
334 |
+
var hobbies = document.getElementById('hobbies').value
|
335 |
|
336 |
var builder = [];
|
337 |
|
|
|
343 |
if (gender) builder.push(`gender: ${gender}`);
|
344 |
if (likes) builder.push(`likes: ${likes}`);
|
345 |
if (dislikes) builder.push(`dislikes: ${dislikes}`);
|
346 |
+
if (hobbies) builder.push(`hobbies: ${hobbies}`);
|
347 |
if (appearance) builder.push(`appearance: ${appearance}`);
|
348 |
if (outfit) builder.push(`outfit: ${outfit}`);
|
349 |
if (personality1) builder.push(`personality: ${personality1}`);
|