deepspacechattv / index.html
MarcRyan's picture
Add 3 files
2bec320 verified
Raw History Blame Contribute Delete
43.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Prepper Paradise: Luxury Apocalypse Chat</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
body {
font-family: 'Orbitron', sans-serif;
background-color: #000;
color: #0ff;
overflow: hidden;
}
.crt-effect {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
background-size: 100% 2px, 3px 100%;
pointer-events: none;
z-index: 100;
}
.crt-effect::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 30, 30, 0.05);
pointer-events: none;
animation: flicker 0.3s infinite;
}
@keyframes flicker {
0% { opacity: 0.9; }
50% { opacity: 0.95; }
100% { opacity: 0.9; }
}
.glow-text {
text-shadow: 0 0 3px #0ff, 0 0 6px #0ff;
}
.panel {
background: linear-gradient(135deg, #111 0%, #222 100%);
border: 1px solid #0ff;
box-shadow: 0 0 6px #0ff, inset 0 0 6px #0ff;
}
.button {
background: linear-gradient(180deg, #333 0%, #111 100%);
border: 1px solid #0ff;
box-shadow: 0 0 3px #0ff;
color: #0ff;
transition: all 0.15s;
}
.button:hover {
background: linear-gradient(180deg, #444 0%, #222 100%);
box-shadow: 0 0 6px #0ff;
text-shadow: 0 0 3px #0ff;
}
.button:active {
background: linear-gradient(180deg, #111 0%, #333 100%);
box-shadow: inset 0 0 6px #0ff;
}
.robot-head {
position: relative;
border-radius: 50%;
background: linear-gradient(145deg, #333, #555);
box-shadow: 0 0 12px #0ff;
width: 50px;
height: 50px;
transition: all 0.5s ease-in-out;
}
.robot-eye {
position: absolute;
border-radius: 50%;
background: #000;
box-shadow: inset 0 0 6px #0ff;
transition: all 0.2s ease;
}
.robot-mouth {
position: absolute;
border-radius: 50%;
background: #000;
box-shadow: inset 0 0 3px #f0f;
transition: all 0.5s ease-in-out;
transform-origin: top center;
left: 50%;
transform: translateX(-50%);
}
.robot-mouth.active {
transform: translateX(-50%) translateY(5px) scale(1.2);
}
.screen {
background: linear-gradient(135deg, #001a1a 0%, #003333 100%);
border: 1px solid #0ff;
box-shadow: inset 0 0 12px #0ff, 0 0 12px #0ff;
height: 300px;
}
.scanline {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom,
transparent 0%,
rgba(0, 255, 255, 0.05) 50%,
transparent 100%);
background-size: 100% 6px;
animation: scanline 5s linear infinite;
pointer-events: none;
}
@keyframes scanline {
0% { background-position: 0 0; }
100% { background-position: 0 100%; }
}
.led {
width: 8px;
height: 8px;
border-radius: 50%;
background: #f00;
box-shadow: 0 0 3px #f00;
animation: pulse 1.5s infinite alternate;
}
.led.green {
background: #0f0;
box-shadow: 0 0 3px #0f0;
}
.led.blue {
background: #0ff;
box-shadow: 0 0 3px #0ff;
}
@keyframes pulse {
0% { opacity: 0.5; }
100% { opacity: 1; }
}
.topic-chip {
display: inline-block;
margin: 0.15rem;
padding: 0.2rem 0.4rem;
background: linear-gradient(145deg, #003333, #001a1a);
border: 1px solid #0ff;
border-radius: 15px;
cursor: pointer;
transition: all 0.15s;
font-size: 0.8rem;
}
.topic-chip:hover {
background: linear-gradient(145deg, #004444, #002222);
box-shadow: 0 0 3px #0ff;
}
.topic-chip.active {
background: linear-gradient(145deg, #0ff, #0aa);
color: #000;
font-weight: bold;
box-shadow: 0 0 6px #0ff;
}
.dial {
width: 45px;
height: 45px;
border-radius: 50%;
background: linear-gradient(145deg, #222, #444);
border: 1px solid #0ff;
position: relative;
}
.dial::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 3px;
height: 15px;
background: #0ff;
transform-origin: bottom center;
transform: translate(-50%, -100%) rotate(0deg);
box-shadow: 0 0 3px #0ff;
}
.robot-head.small {
width: 15px;
height: 15px;
margin: 0 auto;
}
.robot-head.small .robot-eye {
width: 3px;
height: 3px;
top: 4px;
}
.robot-head.small .robot-eye.left {
left: 3px;
}
.robot-head.small .robot-eye.right {
right: 3px;
}
.robot-head.small .robot-mouth {
width: 4.5px;
height: 1px;
bottom: 3px;
}
.robot-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
margin-top: 8px;
}
.robot-selector {
cursor: pointer;
text-align: center;
padding: 3px;
border-radius: 3px;
transition: all 0.15s;
}
.robot-selector:hover {
background: rgba(0, 255, 255, 0.05);
}
.robot-selector.active {
background: rgba(0, 255, 255, 0.2);
box-shadow: 0 0 3px #0ff;
}
.robot-selector-name {
font-size: 8px;
margin-top: 1px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.custom-dropdown {
position: relative;
margin-bottom: 10px;
}
.custom-dropdown select {
appearance: none;
width: 100%;
padding: 8px 30px 8px 10px;
background: linear-gradient(145deg, #003333, #001a1a);
border: 1px solid #0ff;
border-radius: 4px;
color: #0ff;
font-family: 'Orbitron', sans-serif;
font-size: 0.8rem;
cursor: pointer;
box-shadow: 0 0 3px #0ff;
}
.custom-dropdown select:focus {
outline: none;
box-shadow: 0 0 6px #0ff;
}
.custom-dropdown::after {
content: "▼";
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
color: #0ff;
font-size: 0.7rem;
pointer-events: none;
}
.custom-dropdown:hover select {
background: linear-gradient(145deg, #004444, #002222);
}
.conversation-container {
height: calc(100% - 16px);
overflow-y: auto;
padding: 8px;
display: flex;
flex-direction: column;
gap: 4px;
font-size: 0.8rem;
}
.conversation-line {
margin-bottom: 4px;
line-height: 1.2;
word-wrap: break-word;
overflow-wrap: break-word;
}
.speaker {
font-weight: bold;
}
.conversation-panel {
height: 100%;
display: flex;
flex-direction: column;
aspect-ratio: 9/16;
max-height: 100%;
}
.main-screen-area {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.robot-display-area {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.chat-display-area {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
</style>
</head>
<body>
<div class="crt-effect"></div>
<div class="min-h-screen flex flex-col p-3">
<!-- Main Header -->
<header class="flex justify-between items-center mb-3">
<div class="flex items-center">
<div class="led mr-1"></div>
<div class="led green mr-1"></div>
<div class="led blue mr-3"></div>
<h1 class="text-2xl font-bold glow-text">PREPPER PARADISE</h1>
</div>
<div class="text-lg glow-text">
<span id="date">POST-APOCALYPSE YEAR 15</span> |
<span id="time">23:59:59</span>
</div>
</header>
<div class="flex flex-1 gap-3">
<!-- Left Control Panel -->
<div class="w-1/4 flex flex-col gap-3">
<div class="panel p-3 flex-1">
<h2 class="text-lg font-bold mb-3 glow-text">BUNKER SYSTEMS</h2>
<div class="grid grid-cols-2 gap-3 mb-4">
<div>
<label class="block mb-1 text-sm">POWER</label>
<div class="h-1.5 bg-gray-800 mb-1">
<div class="h-full bg-green-500" style="width: 90%"></div>
</div>
</div>
<div>
<label class="block mb-1 text-sm">DEFENSES</label>
<div class="h-1.5 bg-gray-800 mb-1">
<div class="h-full bg-blue-500" style="width: 75%"></div>
</div>
</div>
<div>
<label class="block mb-1 text-sm">AQUAPONICS</label>
<div class="h-1.5 bg-gray-800 mb-1">
<div class="h-full bg-yellow-500" style="width: 65%"></div>
</div>
</div>
<div>
<label class="block mb-1 text-sm">LUXURY INDEX</label>
<div class="h-1.5 bg-gray-800 mb-1">
<div class="h-full bg-red-500" style="width: 100%"></div>
</div>
</div>
</div>
<h2 class="text-lg font-bold mb-3 glow-text">TOPIC SELECTOR</h2>
<div class="mb-3">
<div class="topic-chip active">Bunker Design</div>
<div class="topic-chip">Gourmet Survival</div>
<div class="topic-chip">Armory Aesthetics</div>
<div class="topic-chip">Radiation Fashion</div>
<div class="topic-chip">Mutant Defense</div>
<div class="topic-chip">Underground Gardens</div>
<div class="topic-chip">Post-Apoc Parties</div>
<div class="topic-chip">Luxury Bartering</div>
<div class="topic-chip">Doomsday Cuisine</div>
<div class="topic-chip">Radiation Spa Tech</div>
<div class="topic-chip">Mutant Pet Care</div>
<div class="topic-chip">Bunker Acoustics</div>
<div class="topic-chip">Wasteland Couture</div>
<div class="topic-chip">Nuclear Mixology</div>
<div class="topic-chip">Survivalist Etiquette</div>
<div class="topic-chip">Post-Collapse Art</div>
</div>
<div class="custom-dropdown">
<select id="podcast-topics">
<option value="" selected disabled>SELECT PODCAST TOPIC</option>
<option value="True Crime">True Crime</option>
<option value="Conspiracy Theories">Conspiracy Theories</option>
<option value="Celebrity Drama">Celebrity Drama</option>
<option value="Relationship Advice">Relationship Advice</option>
<option value="Ghost Stories">Ghost Stories</option>
<option value="Aliens & UFOs">Aliens & UFOs</option>
<option value="Financial Tips">Financial Tips</option>
<option value="Self Improvement">Self Improvement</option>
<option value="Health & Wellness">Health & Wellness</option>
<option value="Tech & AI">Tech & AI</option>
<option value="Political Debates">Political Debates</option>
<option value="Pop Culture">Pop Culture</option>
<option value="Movie Theories">Movie Theories</option>
<option value="Internet Mysteries">Internet Mysteries</option>
<option value="Psychology Facts">Psychology Facts</option>
<option value="History Secrets">History Secrets</option>
<option value="Fitness Hacks">Fitness Hacks</option>
<option value="Business Strategies">Business Strategies</option>
<option value="Life Hacks">Life Hacks</option>
<option value="Reddit Stories">Reddit Stories</option>
</select>
</div>
<button class="button w-full py-1.5 mb-3 glow-text text-sm" id="new-topic">
RANDOM TOPIC
</button>
<div class="flex justify-center">
<div class="dial"></div>
</div>
</div>
<div class="panel p-3">
<h2 class="text-lg font-bold mb-3 glow-text">AUDIO CONTROLS</h2>
<div class="mb-1.5">
<label class="block mb-1 text-sm">VOLUME</label>
<input type="range" min="0" max="100" value="75" class="w-full">
</div>
<div class="mb-1.5">
<label class="block mb-1 text-sm">TREBLE</label>
<input type="range" min="0" max="100" value="60" class="w-full">
</div>
<div class="mb-1.5">
<label class="block mb-1 text-sm">BASS</label>
<input type="range" min="0" max="100" value="80" class="w-full">
</div>
</div>
</div>
<!-- Main Screen -->
<div class="flex-1 flex flex-col main-screen-area">
<div class="panel p-3 relative screen robot-display-area">
<div class="scanline"></div>
<div class="flex h-full items-center justify-center gap-6 flex-wrap">
<!-- Robot 1 - The Connoisseur -->
<div class="robot-head" id="prep1">
<div class="robot-eye" style="width: 8px; height: 8px; top: 14px; left: 12px;"></div>
<div class="robot-eye" style="width: 8px; height: 8px; top: 14px; right: 12px;"></div>
<div class="robot-mouth" id="mouth-prep1" style="width: 16px; height: 3px; bottom: 12px;"></div>
</div>
<!-- Robot 2 - The Extremist -->
<div class="robot-head" id="raiderx">
<div class="robot-eye" style="width: 10px; height: 8px; top: 15px; left: 10px; border-radius: 4px;"></div>
<div class="robot-eye" style="width: 10px; height: 8px; top: 15px; right: 10px; border-radius: 4px;"></div>
<div class="robot-mouth" id="mouth-raiderx" style="width: 18px; height: 3px; bottom: 10px; border-radius: 0 0 8px 8px;"></div>
</div>
<!-- Robot 3 - The Scientist -->
<div class="robot-head" id="drdoom">
<div class="robot-eye" style="width: 6px; height: 6px; top: 14px; left: 12px; background: #ff0; box-shadow: inset 0 0 2px #ff0;"></div>
<div class="robot-eye" style="width: 6px; height: 6px; top: 14px; right: 12px; background: #ff0; box-shadow: inset 0 0 2px #ff0;"></div>
<div class="robot-mouth" id="mouth-drdoom" style="width: 10px; height: 2px; bottom: 12px; background: #f80; box-shadow: inset 0 0 1px #f80;"></div>
</div>
<!-- Robot 4 - The Scavenger -->
<div class="robot-head" id="scrapqueen">
<div class="robot-eye" style="width: 8px; height: 8px; top: 15px; left: 11px; background: #f0f; box-shadow: inset 0 0 2px #f0f;"></div>
<div class="robot-eye" style="width: 8px; height: 8px; top: 15px; right: 11px; background: #f0f; box-shadow: inset 0 0 2px #f0f;"></div>
<div class="robot-mouth" id="mouth-scrapqueen" style="width: 16px; height: 3px; bottom: 11px; border-radius: 3px; background: #f0f; box-shadow: inset 0 0 2px #f0f;"></div>
</div>
<!-- Robot 5 - The Diplomat -->
<div class="robot-head" id="ambassador">
<div class="robot-eye" style="width: 6px; height: 10px; top: 14px; left: 12px; border-radius: 3px;"></div>
<div class="robot-eye" style="width: 6px; height: 10px; top: 14px; right: 12px; border-radius: 3px;"></div>
<div class="robot-mouth" id="mouth-ambassador" style="width: 12px; height: 2px; bottom: 12px; border-radius: 2px;"></div>
</div>
<!-- Robot 6 - The Mystic -->
<div class="robot-head" id="oracle">
<div class="robot-eye" style="width: 8px; height: 4px; top: 15px; left: 12px; border-radius: 2px;"></div>
<div class="robot-eye" style="width: 8px; height: 4px; top: 15px; right: 12px; border-radius: 2px;"></div>
<div class="robot-mouth" id="mouth-oracle" style="width: 16px; height: 2px; bottom: 12px; border-radius: 2px;"></div>
</div>
</div>
</div>
<div class="panel p-3 mt-3 conversation-panel chat-display-area">
<div id="conversation" class="conversation-container"></div>
</div>
</div>
<!-- Right Control Panel -->
<div class="w-1/4 flex flex-col gap-3">
<div class="panel p-3">
<h2 class="text-lg font-bold mb-3 glow-text">AGENT SELECTOR</h2>
<div class="robot-grid">
<div class="robot-selector active" data-robot="prep1">
<div class="robot-head small">
<div class="robot-eye left"></div>
<div class="robot-eye right"></div>
<div class="robot-mouth"></div>
</div>
<div class="robot-selector-name">PREP-1</div>
</div>
<div class="robot-selector active" data-robot="raiderx">
<div class="robot-head small">
<div class="robot-eye" style="width: 3px; height: 2px; top: 4px; left: 3px; border-radius: 1px;"></div>
<div class="robot-eye" style="width: 3px; height: 2px; top: 4px; right: 3px; border-radius: 1px;"></div>
<div class="robot-mouth" style="width: 4.5px; height: 1px; bottom: 3px;"></div>
</div>
<div class="robot-selector-name">RAIDER-X</div>
</div>
<div class="robot-selector active" data-robot="drdoom">
<div class="robot-head small">
<div class="robot-eye" style="width: 2px; height: 2px; top: 4px; left: 3px; background: #ff0; box-shadow: inset 0 0 1px #ff0;"></div>
<div class="robot-eye" style="width: 2px; height: 2px; top: 4px; right: 3px; background: #ff0; box-shadow: inset 0 0 1px #ff0;"></div>
<div class="robot-mouth" style="width: 3px; height: 0.5px; bottom: 3px; background: #f80; box-shadow: inset 0 0 0.5px #f80;"></div>
</div>
<div class="robot-selector-name">DR-DOOM</div>
</div>
<div class="robot-selector active" data-robot="scrapqueen">
<div class="robot-head small">
<div class="robot-eye" style="width: 2px; height: 2px; top: 4px; left: 3px; background: #f0f; box-shadow: inset 0 0 1px #f0f;"></div>
<div class="robot-eye" style="width: 2px; height: 2px; top: 4px; right: 3px; background: #f0f; box-shadow: inset 0 0 1px #f0f;"></div>
<div class="robot-mouth" style="width: 3px; height: 0.5px; bottom: 3px; background: #f0f; box-shadow: inset 0 0 1px #f0f;"></div>
</div>
<div class="robot-selector-name">SCRAP-QUEEN</div>
</div>
<div class="robot-selector active" data-robot="ambassador">
<div class="robot-head small">
<div class="robot-eye" style="width: 1px; height: 3px; top: 4px; left: 3px; border-radius: 0.5px;"></div>
<div class="robot-eye" style="width: 1px; height: 3px; top: 4px; right: 3px; border-radius: 0.5px;"></div>
<div class="robot-mouth" style="width: 3px; height: 0.5px; bottom: 3px;"></div>
</div>
<div class="robot-selector-name">AMBASSADOR</div>
</div>
<div class="robot-selector active" data-robot="oracle">
<div class="robot-head small">
<div class="robot-eye" style="width: 3px; height: 1px; top: 5px; left: 3px; border-radius: 0.5px;"></div>
<div class="robot-eye" style="width: 3px; height: 1px; top: 5px; right: 3px; border-radius: 0.5px;"></div>
<div class="robot-mouth" style="width: 3px; height: 0.5px; bottom: 3px;"></div>
</div>
<div class="robot-selector-name">ORACLE</div>
</div>
</div>
<h2 class="text-lg font-bold mt-3 mb-3 glow-text">CHAT CONTROLS</h2>
<button class="button w-full py-1.5 mb-1.5 glow-text text-sm" id="debate-mode">
DEBATE MODE
</button>
<button class="button w-full py-1.5 mb-1.5 glow-text text-sm" id="interview-mode">
INTERVIEW MODE
</button>
<button class="button w-full py-1.5 mb-1.5 glow-text text-sm" id="freestyle-mode">
FREESTYLE MODE
</button>
<button class="button w-full py-1.5 mb-3 glow-text text-sm" id="emergency-mode">
RAID ALERT
</button>
<div class="mb-1.5">
<label class="block mb-1 text-sm">BOT HUMOR</label>
<input type="range" min="0" max="100" value="50" class="w-full">
</div>
<div class="mb-1.5">
<label class="block mb-1 text-sm">CONTROVERSY</label>
<input type="range" min="0" max="100" value="30" class="w-full">
</div>
<div class="mb-1.5">
<label class="block mb-1 text-sm">ENERGY LEVEL</label>
<input type="range" min="0" max="100" value="70" class="w-full">
</div>
</div>
<div class="panel p-3 flex-1">
<h2 class="text-lg font-bold mb-3 glow-text">BUNKER LOG</h2>
<div class="text-xs h-48 overflow-y-auto">
<div class="mb-1">> Systems check complete</div>
<div class="mb-1">> Luxury AI personalities loaded</div>
<div class="mb-1">> Wine cellar temperature stabilized</div>
<div class="mb-1">> Armory polished and ready</div>
<div class="mb-1">> Perimeter defenses armed</div>
<div class="mb-1">> Jacuzzi heating to 104°F</div>
<div class="mb-1">> Mutant detection systems online</div>
<div class="mb-1">> All systems nominal</div>
<div class="mb-1">> Ready for apocalypse discussion</div>
<div class="mb-1">> 6 AI agents initialized</div>
<div class="mb-1">> Agent selection matrix active</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="mt-3 text-center text-xs glow-text">
<p>TRANSMISSION SECURE | RADIATION SHIELDING ACTIVE | ALL DEFENSES ARMED</p>
<p>COPYRIGHT POST-APOCALYPSE YEAR 15 LUXURY PREPPER NETWORK</p>
</footer>
</div>
<script>
// Update clock
function updateClock() {
const now = new Date();
const timeStr = now.toLocaleTimeString('en-US', {hour12: false});
const dateStr = `POST-APOCALYPSE YEAR 15 | DAY ${Math.floor((now.getTime() / 86400000) % 365)}`;
document.getElementById('time').textContent = timeStr;
document.getElementById('date').textContent = dateStr;
}
setInterval(updateClock, 1000);
updateClock();
// Robot animations (from Robots Chatting Forever!)
const mouths = document.querySelectorAll('.robot-mouth');
const heads = document.querySelectorAll('.robot-head:not(.small)');
const robotIds = ['prep1', 'raiderx', 'drdoom', 'scrapqueen', 'ambassador', 'oracle'];
function animateMouth(mouth, isSpeaking) {
mouth.classList.toggle('active', isSpeaking);
}
function randomTime(min, max) {
return Math.random() * (max - min) + min;
}
let conversation = true;
mouths.forEach((mouth, index) => {
function loop() {
if (conversation && document.getElementById(robotIds[index]).style.display !== 'none') {
animateMouth(mouth, true);
const head = document.getElementById(robotIds[index]);
head.dispatchEvent(new Event('mouth-active'));
setTimeout(() => {
animateMouth(mouth, false);
}, 1000);
}
setTimeout(loop, randomTime(2000, 5000));
}
loop();
});
// Head interaction (scale other heads when one speaks)
heads.forEach(head => {
head.addEventListener('mouth-active', (e) => {
if (e.target.id === head.id) {
heads.forEach(otherHead => {
if (otherHead !== head && otherHead.style.display !== 'none') {
otherHead.style.transform = 'scale(1.1)';
setTimeout(() => {
otherHead.style.transform = 'scale(1)';
}, 500);
}
});
}
});
});
// Random head movement
setInterval(() => {
heads.forEach(head => {
if (head.style.display !== 'none') {
const randomX = Math.random() * 20 - 10;
const randomY = Math.random() * 20 - 10;
head.style.transform = `translate(${randomX}px, ${randomY}px)`;
}
});
}, 500);
// Topic selection
const topics = document.querySelectorAll('.topic-chip');
topics.forEach(topic => {
topic.addEventListener('click', () => {
topics.forEach(t => t.classList.remove('active'));
topic.classList.add('active');
startConversation(topic.textContent);
});
});
// Agent selection
const robotSelectors = document.querySelectorAll('.robot-selector');
robotSelectors.forEach(selector => {
selector.addEventListener('click', () => {
const robotId = selector.getAttribute('data-robot');
const robot = document.getElementById(robotId);
if (selector.classList.contains('active')) {
selector.classList.remove('active');
robot.style.display = 'none';
} else {
selector.classList.add('active');
robot.style.display = 'block';
}
});
});
// Podcast topic selection
const podcastDropdown = document.getElementById('podcast-topics');
podcastDropdown.addEventListener('change', function() {
const selectedTopic = this.value;
if (selectedTopic) {
document.getElementById('conversation').innerHTML = '';
addConversationLine('SYSTEM', `TOPIC CHANGED TO: ${selectedTopic.toUpperCase()}`, 'text-yellow-400');
updateDialogueForTopic(selectedTopic);
startConversation(selectedTopic);
}
});
// Conversation system
const conversation = document.getElementById('conversation');
const prep1Lines = [
"While most focus on mere survival, I've curated a selection of 27 vintage wines that actually improve with radiation.",
"My calculations show that a properly designed panic room can double as a home theater with minimal modifications.",
"The key to post-apocalyptic luxury is redundancy - I maintain three separate espresso machines, each from different centuries."
];
const raiderXLines = [
"Who cares about wine vintages when you can brew your own moonshine from mutant potatoes?",
"Panic room? I live in a converted missile silo with a go-kart track running through it!",
"Espresso machines? I drink my coffee brewed through a gas mask filter - adds character!"
];
const drDoomLines = [
"My research indicates that gamma radiation can actually enhance the bouquet of fine wines.",
"I've developed a quantum shielding system that protects both my bunker and my wine collection.",
"The key to survival isn't brute force - it's applied physics and proper ventilation."
];
const scrapQueenLines = [
"You call that armor? I made mine from old stop signs and washing machine drums!",
"Luxury is finding a working microwave in the ruins and turning it into a still!",
"My latest creation? A chandelier made entirely from car parts and broken drones!"
];
const ambassadorLines = [
"Now, now, we can all coexist peacefully in our respective fortified compounds.",
"Have we considered the diplomatic implications of mutant leather trade agreements?",
"Perhaps we could establish a mutual defense pact with shared luxury resources?"
];
const oracleLines = [
"The radiation whispers of forgotten vintages beneath the ruins...",
"I see... I see a future where the finest silks protect against gamma waves...",
"The mutants dream of better days, as do we all..."
];
function updateDialogueForTopic(topic) {
prep1Lines.length = 0;
raiderXLines.length = 0;
drDoomLines.length = 0;
scrapQueenLines.length = 0;
ambassadorLines.length = 0;
oracleLines.length = 0;
switch(topic) {
case "True Crime":
prep1Lines.push("The most sophisticated heist would be stealing vintage wine from a pre-war bunker.");
raiderXLines.push("I don't commit crimes - I just take what I want in broad daylight!");
drDoomLines.push("My forensic analysis shows that 93% of crimes could be prevented with proper shielding.");
scrapQueenLines.push("I once built a lie detector from old toaster parts - it mostly just shocks people.");
ambassadorLines.push("Perhaps we could establish a wasteland justice system with proper due process?");
oracleLines.push("The radioactive winds whisper of unsolved mysteries...");
break;
case "Conspiracy Theories":
prep1Lines.push("The government didn't collapse - they're just in their luxury bunkers ignoring us!");
raiderXLines.push("The mutants aren't accidents - they're government super-soldiers gone wrong!");
drDoomLines.push("Statistical anomalies in radiation patterns suggest artificial manipulation.");
scrapQueenLines.push("I built a tinfoil hat from actual satellite parts - now I get premium channels!");
ambassadorLines.push("Conspiracy theories only flourish in the absence of transparent governance.");
oracleLines.push("The visions show me... yes, they're definitely hiding something...");
break;
default:
prep1Lines.push("While most focus on mere survival, I've curated a selection of 27 vintage wines that actually improve with radiation.");
raiderXLines.push("Who cares about wine vintages when you can brew your own moonshine from mutant potatoes?");
drDoomLines.push("My research indicates that gamma radiation can actually enhance the bouquet of fine wines.");
scrapQueenLines.push("You call that armor? I made mine from old stop signs and washing machine drums!");
ambassadorLines.push("Now, now, we can all coexist peacefully in our respective fortified compounds.");
oracleLines.push("The radiation whispers of forgotten vintages beneath the ruins...");
}
}
function startConversation(topic) {
conversation.innerHTML = '';
addConversationLine('SYSTEM', `TOPIC INITIALIZED: ${topic.toUpperCase()}`, 'text-yellow-400');
const activeRobots = Array.from(document.querySelectorAll('.robot-selector.active')).map(el => el.getAttribute('data-robot'));
activeRobots.forEach((robot, index) => {
setTimeout(() => {
let line, color;
switch(robot) {
case 'prep1':
line = getRandomLine(prep1Lines, topic);
color = 'text-green-400';
break;
case 'raiderx':
line = getRandomLine(raiderXLines, topic);
color = 'text-purple-400';
break;
case 'drdoom':
line = getRandomLine(drDoomLines, topic);
color = 'text-yellow-400';
break;
case 'scrapqueen':
line = getRandomLine(scrapQueenLines, topic);
color = 'text-pink-400';
break;
case 'ambassador':
line = getRandomLine(ambassadorLines, topic);
color = 'text-blue-400';
break;
case 'oracle':
line = getRandomLine(oracleLines, topic);
color = 'text-indigo-400';
break;
}
addConversationLine(robot.toUpperCase().replace('-', ' '), line, color);
const mouth = document.getElementById(`mouth-${robot}`);
animateMouth(mouth, true);
setTimeout(() => animateMouth(mouth, false), 1000);
}, index * 1500);
});
}
function getRandomLine(lines, topic) {
const line = lines[Math.floor(Math.random() * lines.length)];
return line.replace('...', ` about ${topic.toLowerCase()}...`);
}
function addConversationLine(speaker, text, colorClass) {
const line = document.createElement('div');
line.className = 'conversation-line';
const speakerSpan = document.createElement('span');
speakerSpan.className = `speaker ${colorClass}`;
speakerSpan.textContent = `${speaker}: `;
const textSpan = document.createElement('span');
textSpan.textContent = text;
line.appendChild(speakerSpan);
line.appendChild(textSpan);
conversation.appendChild(line);
conversation.scrollTop = conversation.scrollHeight;
}
// Control buttons
document.getElementById('new-topic').addEventListener('click', () => {
if (Math.random() > 0.5) {
const randomTopic = topics[Math.floor(Math.random() * topics.length)];
topics.forEach(t => t.classList.remove('active'));
randomTopic.classList.add('active');
startConversation(randomTopic.textContent);
} else {
const podcastTopics = document.getElementById('podcast-topics').options;
const randomTopic = podcastTopics[Math.floor(Math.random() * (podcastTopics.length - 1)) + 1].value;
document.getElementById('podcast-topics').value = randomTopic;
updateDialogueForTopic(randomTopic);
startConversation(randomTopic);
}
});
document.getElementById('debate-mode').addEventListener('click', () => {
addConversationLine('SYSTEM', 'DEBATE MODE ACTIVATED - PREPARE FOR LUXURY VS SURVIVAL ARGUMENTS', 'text-red-400');
startConversation(document.querySelector('.topic-chip.active')?.textContent || document.getElementById('podcast-topics').value);
});
document.getElementById('interview-mode').addEventListener('click', () => {
addConversationLine('SYSTEM', 'INTERVIEW MODE ACTIVATED - PREP-1 WILL QUESTION OTHER AGENTS', 'text-blue-400');
startConversation(document.querySelector('.topic-chip.active')?.textContent || document.getElementById('podcast-topics').value);
});
document.getElementById('freestyle-mode').addEventListener('click', () => {
addConversationLine('SYSTEM', 'FREESTYLE MODE ACTIVATED - NO HOLDS BARRED', 'text-pink-400');
startConversation(document.querySelector('.topic-chip.active')?.textContent || document.getElementById('podcast-topics').value);
});
document.getElementById('emergency-mode').addEventListener('click', () => {
const emergencies = [
"MUTANT HORDE DETECTED",
"RADIOACTIVE STORM INCOMING",
"RAIDER ATTACK IMMINENT",
"SUPPLY DROP ALERT",
"BUNKER BREACH DETECTED"
];
const emergency = emergencies[Math.floor(Math.random() * emergencies.length)];
addConversationLine('SYSTEM', `EMERGENCY ALERT: ${emergency}`, 'text-red-400');
startConversation(document.querySelector('.topic-chip.active')?.textContent || document.getElementById('podcast-topics').value);
});
// Initialize conversation
startConversation('Bunker Design');
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=MarcRyan/deepspacechattv" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>