Initial commit.

This commit is contained in:
2024-07-25 15:52:03 -05:00
parent d6f61bf0b3
commit c943023dae
2 changed files with 469 additions and 0 deletions

430
kaiju.sh Normal file
View File

@@ -0,0 +1,430 @@
#!/usr/bin/env bash
#Arrays and variables. Go to "End of arrays and variables" to see functions.
DescriptorBeginning=(
"Towering over the landscape, this kaiju commands attention with its presence."
"Emerging from the depths, this kaiju makes its way onto land."
"With an eerie silence, this kaiju glides through its environment."
"Roaring loudly, this kaiju announces its arrival with a burst of sound."
"Moving with surprising speed, this kaiju charges forward."
"With eyes that seem to pierce through the darkness, this kaiju surveys its surroundings."
"Stomping heavily, this kaiju leaves a trail of destruction in its path."
"With an almost graceful movement, this kaiju navigates its terrain."
"Flicking its tail, this kaiju prepares for its next move."
"With a low growl, this kaiju warns others of its presence."
"Flapping its wings, this kaiju takes to the skies."
"With a curious tilt of its head, this kaiju examines the world around it."
)
descriptor1=(
"This kaiju has a solid, muscular build, exuding strength and stability."
"This kaiju is tall and lanky, with elongated limbs and a slender frame."
"This kaiju is covered in thick, overlapping scales that provide a rugged, armored appearance."
"This kaiju has a chibi, almost doll-like appearance with a cute, round body and oversized eyes."
"This kaiju has a heavy, stompy gait, making the ground tremble with each step."
"This kaiju has an irresistibly cute appearance, with big, expressive eyes and a small, rounded body."
)
descriptor2=(
"Its body glistens with moisture, leaving wet footprints in its wake."
"Its movements are fluid and serpentine, giving it a slithery presence."
"Its limbs end in powerful fists, ready to deliver devastating punches."
"It is covered in sharp spikes or claws, making it a formidable opponent."
"A long, powerful tail sweeps behind it, used both for balance and as a weapon."
"It has the ability to breathe fire, with small flames often flickering from its nostrils."
)
descriptor3=(
"Its body is covered in thick, luxurious fur that ripples as it moves."
"Its muscular arms end in powerful fists, capable of delivering crushing blows."
"Its menacing eyes and fearsome growls make it a terrifying sight."
"It has numerous limbs, each moving with surprising agility."
"Its skin has a rough, cracked texture, reminiscent of a desert landscape."
"Delicate wings allow it to take to the skies with ease."
)
DescriptorEnd=(
"Its presence leaves a lasting impression on all who witness it."
"The ground shakes with every step it takes."
"Its roar echoes through the mountains, instilling fear in all who hear it."
"The air crackles with energy as it moves."
"Its eyes gleam with a mix of curiosity and menace."
"The environment bends to its will, showcasing its dominance."
"With each breath, it seems to draw power from its surroundings."
"The sheer size and power of this kaiju are awe-inspiring."
"It moves with a purpose, every action deliberate and powerful."
"The combination of its traits makes it a force to be reckoned with."
"Its presence alone is enough to cause panic and chaos."
"The very sight of it is enough to send shivers down one's spine."
)
successes=(
"As I strolled through the bustling city, I noticed a small child crying, her balloon floating away. With a gentle reach, I caught the balloon and returned it to her. Her tears quickly turned into a wide smile. The crowd around me cheered, and I felt a sense of accomplishment. The child's parents thanked me profusely. Feeling good about the deed, I continued my journey. The scent of sushi filled the air, guiding me closer to my destination. I carefully navigated the streets, avoiding the tiny humans. The restaurant was now just a few blocks away. My stomach rumbled in anticipation."
"While making my way through the city, I heard a loud crash. A crane had toppled over, and a building was about to collapse. With swift reflexes, I caught the building, preventing a disaster. The workers on the ground looked up in awe and gratitude. I set the building down gently, ensuring everyone was safe. The news spread quickly, and I became a local hero. As I resumed my journey, the smell of fresh sushi became stronger. The tiny humans waved and cheered as I passed by. My destination was now within sight. I could almost taste the delicious sushi awaiting me."
"During my walk, I encountered a local news crew. They were fascinated by my presence and asked for a photo shoot. I happily obliged, posing for pictures and even giving a few interviews. The news crew was thrilled, and the photos quickly went viral. The city buzzed with excitement about their friendly kaiju. After the shoot, I continued on my way. The aroma of sushi wafted through the air, enticing me. Children waved and shouted greetings as I passed by. The restaurant was now just around the corner. My mouth watered in anticipation of the feast that awaited."
"As I wandered through the city, a film director spotted me and offered me a role in a kaiju movie. I agreed, and the filming began immediately. The crew set up scenes, and I performed my part with enthusiasm. The movie wrapped up quickly, and everyone praised my acting skills. The director promised Id be a star. With a sense of pride, I resumed my journey. The scent of sushi grew stronger, leading me on. People clapped and cheered as I made my way down the street. The restaurant was now within reach. I eagerly anticipated the delicious sushi meal."
"Walking through the city, I noticed people approaching me with ribbons and decorations. They adorned me with colorful accessories, making me look festive. I felt a sense of joy and pride, appreciating their efforts. The crowd admired my new look and took countless photos. I thanked them with a gentle nod and continued my journey. The smell of sushi filled the air, guiding me closer to my goal. The tiny humans waved and smiled as I passed by, admiring my decorated appearance. The restaurant was now just a few steps away. I could hardly wait to enjoy the sushi feast awaiting me."
"While making my way through the city, I came across a bridge in need of repair. The workers were struggling to hold it up. I stepped in and used my immense strength to support the bridge. The workers quickly made the necessary repairs, thanking me for my help. I carefully set the bridge back down, ensuring it was stable. The city applauded my efforts. As I continued my journey, the scent of sushi became more pronounced. The tiny humans cheered and waved as I passed by. The restaurant was now within sight. My stomach growled in anticipation of the delicious sushi awaiting me."
"As I passed by a tall skyscraper, I heard frantic meowing from the top. A cat was stuck and unable to get down. I gently reached up and rescued the frightened feline. The cats owner was overjoyed and thanked me profusely. The crowd around me clapped and cheered. Feeling good about my deed, I continued my journey. The aroma of sushi filled the air, leading me on. The tiny humans waved and smiled as I passed by. The restaurant was now just a few blocks away. I eagerly anticipated the sushi feast that awaited me."
"Walking through the city, I noticed a large fire engulfing a building. The firefighters were struggling to contain it. I stepped in and used my powerful breath to create a wind gust, extinguishing the flames. The firefighters thanked me for my quick thinking and help. The crowd cheered, and I felt a sense of pride. As I resumed my journey, the smell of sushi became stronger. The tiny humans waved and cheered as I passed by. The restaurant was now within reach. My mouth watered in anticipation of the delicious sushi awaiting me."
"While strolling along the coastline, I spotted a ship struggling to find its way to the harbor. I stepped into the water and gently guided the ship to safety. The crew on board was immensely grateful for my help. The harbor workers cheered and thanked me. Feeling accomplished, I continued my journey. The scent of sushi wafted through the air, leading me on. The tiny humans waved and smiled as I passed by. The restaurant was now just around the corner. I could hardly wait to enjoy the sushi feast awaiting me."
"On a scorching hot day, I walked through a crowded park. People were seeking shade and relief from the sun. I decided to help by creating a massive shade with my body. The park visitors were grateful and enjoyed the cool shade I provided. Children played and families relaxed, thanking me for my kindness. Feeling good about my deed, I continued my journey. The aroma of sushi filled the air, guiding me closer to my goal. The tiny humans waved and smiled as I passed by. The restaurant was now just a few steps away. I eagerly anticipated the delicious sushi meal."
"As I made my way through the city, I noticed a small airplane flying off course. The pilot looked lost and confused. I gently guided the airplane back to the airport, ensuring a safe landing. The pilot and passengers thanked me for my assistance. The airport staff cheered and applauded my efforts. Feeling accomplished, I continued my journey. The scent of sushi grew stronger, leading me on. The tiny humans waved and cheered as I passed by. The restaurant was now within sight. My stomach rumbled in anticipation of the delicious sushi awaiting me."
"Walking through a construction site, I saw workers struggling to move heavy equipment for a new playground. I stepped in and used my strength to help them. The workers were grateful for my assistance, and the playground was completed quickly. The children cheered and thanked me for their new play area. Feeling good about my deed, I continued my journey. The aroma of sushi filled the air, leading me closer to my goal. The tiny humans waved and smiled as I passed by. The restaurant was now just a few blocks away. I eagerly anticipated the sushi feast that awaited me."
"As I walked through a park, I decided to leave a giant footprint behind. The park visitors were fascinated and took countless photos. My footprint became a new tourist attraction, drawing crowds from all over. The city thanked me for adding to their attractions. Feeling accomplished, I continued my journey. The scent of sushi wafted through the air, leading me on. The tiny humans waved and cheered as I passed by. The restaurant was now just around the corner. I could hardly wait to enjoy the sushi feast awaiting me."
"While making my way through the city, I heard a loud commotion. A train had gone off track and was heading towards a populated area. I quickly stepped in and gently pushed the train back on track. The passengers and crew thanked me for preventing a disaster. The crowd cheered and applauded my efforts. Feeling good about my deed, I continued my journey. The aroma of sushi filled the air, guiding me closer to my goal. The tiny humans waved and smiled as I passed by. The restaurant was now just a few steps away. I eagerly anticipated the delicious sushi meal."
"Walking through the countryside, I saw farmers struggling to plow their fields. I decided to help by using my massive feet to till the soil. The farmers were grateful for my assistance and thanked me profusely. The crops were planted quickly, and the farmers cheered. Feeling accomplished, I continued my journey. The scent of sushi grew stronger, leading me on. The tiny humans waved and cheered as I passed by. The restaurant was now within sight. My stomach rumbled in anticipation of the delicious sushi awaiting me."
"On a hot day, I walked along a crowded beach. The beachgoers were seeking relief from the heat. I decided to help by flapping my wings and creating a cool breeze. The beach visitors were grateful and thanked me for the refreshing wind. Children played and families relaxed, enjoying the cool air. Feeling good about my deed, I continued my journey. The aroma of sushi filled the air, guiding me closer to my goal. The tiny humans waved and smiled as I passed by. The restaurant was now just a few steps away. I eagerly anticipated the delicious sushi meal."
"As I walked through the city, I saw a bus teetering on the edge of a bridge. The passengers were panicking, and the situation looked dire. I quickly stepped in and gently pushed the bus back to safety. The passengers and driver thanked me for saving them. The crowd cheered and applauded my efforts. Feeling accomplished, I continued my journey. The scent of sushi grew stronger, leading me on. The tiny humans waved and cheered as I passed by. The restaurant was now within sight. My stomach rumbled in anticipation of the delicious sushi awaiting me."
"Walking along a river, I noticed it was filled with debris and pollution. I decided to help by using my strength to clean it up. The river was soon clear and clean, and the city thanked me for my efforts. The local wildlife returned, and the area became beautiful once again. Feeling good about my deed, I continued my journey. The aroma of sushi filled the air, guiding me closer to my goal. The tiny humans waved and smiled as I passed by. The restaurant was now just a few steps away. I eagerly anticipated the delicious sushi meal."
"On a sunny day, I walked along the beach and saw children playing in the sand. I decided to join in and create giant sand sculptures. The children were amazed and delighted by my creations. Parents thanked me for entertaining their kids. Feeling good about my deed, I continued my journey. The scent of sushi grew stronger, leading me on. The tiny humans waved and cheered as I passed by. The restaurant was now within sight. My stomach rumbled in anticipation of the delicious sushi awaiting me."
"As I walked through the city, I came across a parade. The organizers were struggling with the main float. I stepped in and offered to carry it. The parade continued smoothly, and the crowd cheered. The organizers thanked me for my help. Feeling accomplished, I continued my journey. The aroma of sushi filled the air, guiding me closer to my goal. The tiny humans waved and smiled as I passed by. The restaurant was now just a few steps away. I eagerly anticipated the delicious sushi meal."
)
failures=(
"As I lumbered through the city, the humans scattered in every direction, screaming and panicking. It was a cacophony of noise and confusion. I tried to step carefully, but it was hard to see where to put my feet next. Despite my best efforts, I accidentally crushed a few cars. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, narrowly missing a crowded bus stop. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away."
"I stepped into an area under repair, feeling the ground give way beneath me. Suddenly, a hissing sound filled the air as gas and water pipes burst. Water sprayed everywhere, soaking the streets and causing more panic among the humans. I pulled my foot back, trying to avoid causing more damage. The ground was now slippery, making each step treacherous. I carefully navigated around the broken pipes, hoping no one got hurt. The sushi restaurant was just around the corner. I moved slowly, ensuring I didnt step on any more infrastructure. The humans were still running, but I focused on my goal. The scent of sushi was getting stronger."
"I leaned against a skyscraper to get a better view of the streets below. To my horror, the building started to crumble under my weight. I quickly pulled back, but the damage was done. Debris rained down, causing more chaos. I felt a wave of guilt but knew I couldn't stop now. The sushi restaurant was my destination. I stepped carefully around the fallen debris. The humans were shouting and pointing, but I tried to ignore them. My stomach growled, urging me forward. The restaurant was just a few more blocks away."
"I accidentally stepped on two cars, and suddenly, I was skating down the street. I struggled to keep my balance, arms flailing. Steering was nearly impossible, and I crashed into several buildings. The humans below scattered, trying to avoid the chaos. I finally managed to stop, but the damage was extensive. I stepped off the cars, feeling embarrassed. The sushi restaurant was still a few blocks away. I took a deep breath and continued, this time more cautiously. The scent of sushi drove me forward. I hoped the humans could forgive my clumsiness."
"I knocked over some electrical infrastructure, and sparks flew. Suddenly, a nearby building caught fire. The flames spread quickly, and I felt a pang of guilt. I stomped my foot, trying to put out the fire, but it only made things worse. The humans were now in a full-blown panic. I took a step back, trying to assess the situation. The sushi restaurant was still in sight. I decided to move quickly, hoping the firefighters could handle the blaze. The scent of sushi was tantalizing. I hurried, careful not to cause more damage."
"Some humans started throwing objects at me, trying to drive me away. It was mostly just annoying, but it made it harder to see where they were going. I tried to ignore them, focusing on my goal. The sushi restaurant was just a few blocks away. I stepped carefully, avoiding the tiny projectiles. The humans' frantic movements made it difficult to navigate. I paused, trying to find a clearer path. The scent of sushi was getting stronger. I took another step, narrowly missing a group of humans. My stomach growled, urging me forward. The restaurant was within reach."
"I accidentally kicked over a fire hydrant, and water sprayed everywhere. The ground became slippery, making each step a challenge. The humans scattered, trying to avoid the deluge. I carefully navigated around the water, hoping no one got hurt. The sushi restaurant was just a few blocks away. I took a deep breath and continued, this time more cautiously. The scent of sushi drove me forward. I hoped the humans could forgive my clumsiness. The restaurant was within sight. I stepped carefully, ensuring I didnt slip again."
"I tripped over a bridge and fell into the river, causing a huge splash. The nearby streets flooded, and the humans ran for cover. I pulled myself out of the water, feeling embarrassed. The sushi restaurant was still a few blocks away. I shook off the water, trying not to cause more damage. The scent of sushi drove me forward. I took a deep breath and continued, this time more cautiously. The humans were still in a panic, but I focused on my goal. The restaurant was within sight. I stepped carefully, hoping to avoid any more mishaps."
"I stepped into a park and accidentally crushed a statue. The humans in the park screamed and ran. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated around the fallen statue. The humans were still shouting, but I focused on my goal."
"I accidentally knocked over a truck full of paint, creating a colorful but slippery mess. The streets were now covered in bright colors, and the humans struggled to avoid slipping. I carefully navigated around the paint, hoping no one got hurt. The sushi restaurant was just a few blocks away. I took a deep breath and continued, this time more cautiously. The scent of sushi drove me forward. I hoped the humans could forgive my clumsiness. The restaurant was within sight. I stepped carefully, ensuring I didnt slip again. The colorful mess was behind me."
"I stepped on a construction site and got tangled in scaffolding. The metal bars wrapped around my legs, slowing me down. The humans scattered, trying to avoid the falling debris. I carefully untangled myself, hoping no one got hurt. The sushi restaurant was just a few blocks away. I took a deep breath and continued, this time more cautiously. The scent of sushi drove me forward. I hoped the humans could forgive my clumsiness. The restaurant was within sight. I stepped carefully, ensuring I didnt get tangled again."
"I accidentally knocked over a billboard, causing it to crash into a nearby building. The humans screamed and ran, trying to avoid the falling debris. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated around the fallen billboard. The humans were still shouting, but I focused on my goal."
"I stumbled into a power plant, causing a temporary blackout in the city. The streets went dark, and the humans panicked. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated through the darkened streets. The humans were still shouting, but I focused on my goal."
"I stepped on a streetlight, causing it to fall and block my path. The humans screamed and ran, trying to avoid the falling debris. I carefully stepped over the fallen streetlight, hoping no one got hurt. The sushi restaurant was just a few blocks away. I took a deep breath and continued, this time more cautiously. The scent of sushi drove me forward. I hoped the humans could forgive my clumsiness. The restaurant was within sight. I stepped carefully, ensuring I didnt knock over any more streetlights. The path was clear ahead."
"I accidentally caused a traffic jam by stepping on a busy intersection. The cars honked and the humans shouted in frustration. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated around the traffic jam. The humans were still shouting, but I focused on my goal."
"I knocked over a water tower, causing a flood in the surrounding area. The humans scattered, trying to avoid the deluge. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated through the flooded streets. The humans were still shouting, but I focused on my goal."
"I stepped on a sewer grate and caused a minor earthquake, making the ground unstable. The humans screamed and ran, trying to avoid the shaking ground. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated through the unstable ground. The humans were still shouting, but I focused on my goal."
"I accidentally crushed a food truck, causing a mess and attracting more humans. The scent of food mixed with the smell of sushi, making me even hungrier. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The humans gathered around the crushed truck, adding to the chaos. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated around the mess. The humans were still shouting, but I focused on my goal."
"I stepped on a train track, derailing a train and causing chaos. The humans screamed and ran, trying to avoid the wreckage. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated around the derailed train. The humans were still shouting, but I focused on my goal."
"I accidentally knocked over a crane at a construction site, causing a domino effect of falling equipment. The humans scattered, trying to avoid the falling debris. I felt a pang of guilt but reminded myself I was just trying to get to the sushi restaurant. The scent of fresh sushi drove me forward. I took another step, trying to avoid causing more damage. The chaos around me intensified. I paused, trying to find a clearer path. The restaurant was still a few blocks away. I carefully navigated around the fallen equipment. The humans were still shouting, but I focused on my goal."
)
success0=(
"My journey through the city had been nothing short of catastrophic."
"Each step I took sent tremors rippling through the ground, toppling buildings like dominoes and sending terrified citizens scrambling for safety."
"Despite my best efforts to be cautious, my massive frame and sheer weight made it impossible to navigate the narrow streets without causing significant damage."
"As I neared the heart of the city, the situation grew increasingly dire."
"Emergency sirens wailed, and the skies buzzed with helicopters attempting to coordinate the evacuation efforts."
"With my enormous maw watering at the thought of the succulent sashimi waiting for me, I tried to tread carefully, but my immense size made precision an unattainable goal."
"Suddenly, a deafening roar filled the air, but this time it wasn't my own."
"From the outskirts of the city, a gigantic mecha robot emerged, its metallic body glinting ominously in the sunlight."
"The mecha, designed specifically to combat threats of my magnitude, moved with surprising agility for its size."
"It was clear that the city had called in its last line of defense."
"I paused, sensing the new threat."
"I let out a low, mournful growl, a sound filled with frustration and sadness."
"I had no desire for a fight; all I wanted was my dinner."
"But the mecha robot, piloted by a team of elite soldiers, had no intention of letting me continue my path of destruction."
"The first punch came swiftly, a powerful blow to my side that sent me staggering."
"I roared in pain and sorrow, swiping back with one of my massive claws."
"The two titans clashed, the ground shaking with each impact."
"Buildings crumbled, and streets cracked under the sheer weight of our battle."
"Despite my size and strength, I found myself at a disadvantage."
"The mecha robot was fast, its movements precise and calculated."
"Each punch and kick landed with devastating accuracy, and I struggled to keep up."
"I fought back valiantly, but it was clear that I couldn't match the mecha's advanced weaponry and tactics."
"Realizing that I was outmatched, I made a desperate decision."
"With one final, powerful swipe, I sent the mecha stumbling backward, buying myself a few precious moments."
"I turned and began to retreat, my massive form lumbering away from the city."
"The mecha, damaged but not defeated, did not pursue."
"Instead, it stood as a sentinel, ensuring that I would not return."
"Battered and bruised, I made my way to the outskirts of the city."
"I paused for a moment, looking back at the destruction I had unwittingly caused."
"With a heavy heart, I let out a mournful roar before disappearing into the wilderness."
"The city was left in ruins, but its people were safe."
"I, now a distant memory, continued my solitary journey, forever chasing the dream of a peaceful meal that seemed always just out of reach."
"The loss of my sushi weighed heavily on my heart, a poignant reminder of what I had fought so hard to attain, but ultimately could not have."
)
success1=(
"As I lumbered through the city, trying to be as careful as a colossal kaiju could be, the ground shuddered beneath my immense feet."
"The humans below scattered in every direction, screaming in terror as buildings trembled and glass shattered."
"Despite my best intentions, the sheer size of my steps caused significant chaos."
"Suddenly, a rumble louder than my footsteps echoed through the streets."
"From the city's edge, a convoy of military tanks emerged, their cannons swiveling to focus on me."
"Behind them, soldiers poured out of armored vehicles, setting up artillery and readying their weapons."
"The air was thick with tension as the tanks rolled closer, their engines growling like beasts preparing to strike."
"I paused, my massive eyes widening as I saw the humans' response to my presence."
"I tried to communicate, waving my arms in what I hoped was a friendly gesture."
"But to the humans, I guess it looked like I was preparing to attack."
"\"Fire!\" The command rang out, and in an instant, the city was ablaze with the roar of cannon fire and the staccato bursts of machine guns."
"Shells exploded around me, sending plumes of smoke and debris into the air."
"I roared in pain and frustration, my hide pocked with the impacts of the humans' desperate defense."
"Despite the onslaught, I tried to continue my journey to the sushi restaurant, my eyes fixed on the distant sign that promised the delicious sashimi I craved."
"But with each step, the barrage intensified."
"Tanks maneuvered to cut off my path, and the streets became a warzone."
"Finally, overwhelmed by the relentless assault and realizing that any further attempt to reach the restaurant would only bring more destruction and suffering to the city, I let out a mournful bellow."
"With a heavy heart, I turned away from my goal, retreating back towards the ocean from whence I came."
"The tanks and soldiers ceased their fire, watching warily as my colossal figure disappeared into the distance."
"The city lay in ruins, smoke rising from the craters and debris littering the streets."
"The sushi restaurant, though still standing, was now an unreachable dream for me."
"As I waded into the ocean, my massive form sinking beneath the waves, the humans began to assess the damage and tend to the wounded."
"Though they had succeeded in driving me away, the cost had been high."
"And somewhere in the deep, I swam away, my heart heavy with the unfulfilled craving for sashimi and the sorrow of the destruction I had inadvertently caused."
)
success2=(
"As I lumbered through the city streets, my massive foot accidentally stepped on a tiny, red car."
"The car's wheels squealed and spun out, causing me to lose balance."
"With a thunderous crash, I stumbled forward, slamming into a nearby skyscraper."
"The building shuddered and groaned under the impact, its windows shattering in a cascade of glass and steel."
"The force of the collision created a chain reaction."
"The skyscraper tilted precariously and then fell, its immense weight toppling onto the neighboring buildings."
"One by one, the structures collapsed like dominoes, their ruins spreading across the cityscape."
"Dust and debris filled the air, and the ground trembled as though the earth itself was groaning in protest."
"Panic erupted among the tiny humans below."
"They scattered in every direction, their cries of fear lost in the cacophony of destruction."
"Emergency sirens wailed, and the city was plunged into chaos."
"Realizing the magnitude of the destruction, I paused and looked around with a mixture of regret and frustration."
"My quest for a simple meal had inadvertently caused widespread devastation."
"As I surveyed the wreckage, my gaze fell upon the sushi restaurant, now buried beneath the rubble of several fallen buildings."
"Determined to salvage the situation, I carefully began to clear the debris."
"With each movement, I tried to be as gentle as possible, mindful of the remaining structures and the tiny humans still fleeing in fear."
"But as I cleared away the last of the rubble, it became painfully clear that the sushi restaurant was completely destroyed."
"The neon sign lay in shattered pieces, and the once-inviting interior was now a mangled mess of twisted metal and broken wood."
"My enormous shoulders slumped, and I let out a mournful wail that echoed across the city."
"The dream of savoring that delicious sashimi had been crushed, just like the buildings around me."
"My lament was a haunting sound, filled with a deep sense of loss and regret."
"The tiny humans, now peeking out from their hiding places, watched in awe and fear as I expressed my sorrow."
"Some of them, despite their terror, couldn't help but feel a pang of sympathy for me."
"After all, everyone knew the pain of having a simple dream shattered."
"With a heavy heart, I turned away from the ruins of the city."
"My footsteps were slow and ponderous, each one a reminder of the destruction left behind."
"As I lumbered away, my mournful cries gradually faded into the distance, leaving the city in a somber silence."
"The city, now half-destroyed, would eventually rebuild."
"The tiny humans would tell stories of the day I came to town, a tale of unintended chaos and a giant's quest for a simple meal that ended in sorrow."
"And somewhere, far away from the devastated city, I would carry the memory of that lost sashimi, a poignant reminder of the delicate balance between power and responsibility."
)
success3=(
"The city was in a state of nervous anticipation as the ground began to tremble."
"I, the colossal kaiju, had been spotted making my way toward the heart of the metropolis."
"The citizens watched in awe and terror as I carefully navigated the crowded streets."
"My goal was clear: to reach the beloved sushi restaurant and pick up the long-awaited order of sashimi."
"Despite my best efforts to tread lightly, the sheer size and weight of my body inevitably caused some damage."
"As I approached a busy intersection, my foot accidentally crushed a row of parked cars, sending metal and glass flying in all directions."
"Screams echoed through the air as people scrambled to get out of the way."
"Determined to avoid further harm, I continued onward, focusing intently on each step."
"However, even my most careful movements could not prevent the occasional accident."
"My massive tail swung slightly, knocking over a streetlight and causing a small explosion as it hit a power line."
"The resulting blackout plunged several city blocks into darkness, adding to the growing panic."
"Finally, after what felt like an eternity of cautious maneuvering, I reached the sushi restaurant."
"The building was miraculously intact, though the surrounding area bore the scars of my passage."
"With a surprisingly gentle touch, I picked up the carefully prepared order of sashimi, the tantalizing aroma wafting up to my nostrils."
"As I turned to leave, I couldn't help but look back at the chaos left behind."
"The city had suffered a fair bit of property damage, and there were undoubtedly a few casualties."
"Yet, amidst the destruction, I had accomplished my mission."
"The precious sashimi was safe in my hand, ready to be enjoyed."
"The citizens, though shaken, began to emerge from their hiding places."
"They watched as I carefully made my way out of the city, each step taken with renewed caution."
"While the damage was significant, there was a sense of understanding among the survivors."
"They realized that I had not intended to cause harm; I was simply on a quest for a delicious meal."
"In the end, my journey to the sushi restaurant was marked by a fair bit of property damage and a few deaths."
"However, my determination and perseverance had paid off."
"With the sashimi secured, I could finally enjoy the long-awaited meal, savoring each bite of the delectable fish."
"And as the city began to rebuild, the humans couldn't help but marvel at the strange, sashimi-loving kaiju that had passed through their lives."
)
success4=(
"The city trembled as I, the colossal kaiju, carefully navigated the narrow streets of Metropolis City."
"Towering skyscrapers framed my path like a jagged canyon, and tiny humans scurried below, their panic palpable."
"Despite the chaos, my singular focus remained: the sushi restaurant nestled in the heart of the city."
"With each step, the ground quaked, and the buildings swayed dangerously."
"I took great care to avoid the densest areas, mindful of the delicate balance between reaching my destination and causing minimal damage."
"My massive feet gingerly sidestepped crowded intersections and bustling markets, causing only a few parked cars to topple and some streetlights to bend under my immense weight."
"As I rounded a corner, the restaurant came into view, a beacon of hope amidst the urban sprawl."
"The scent of fresh sashimi wafted through the air, urging me forward."
"But the path was not without its obstacles."
"A construction site loomed ahead, cranes and scaffolding creating a perilous maze."
"With a deep breath, I maneuvered through the site, careful not to disturb the delicate structures."
"A few planks fell and a crane swayed ominously, but I pressed on, each movement calculated and precise."
"Finally, with a triumphant roar, I emerged on the other side, the restaurant mere steps away."
"The tiny humans watched in awe and fear as I approached the sushi restaurant."
"The building shuddered, but remained standing, a testament to my careful navigation."
"With a gentle touch, I picked up the carefully prepared sashimi, the culmination of a perilous journey."
"As I turned to leave, a wave of relief washed over the city."
"The damage had been minimal, a few cracked pavements and bent streetlights the only evidence of my passage."
"The people of Metropolis City breathed a collective sigh of relief, grateful for my restraint."
"With the precious sashimi in hand, I lumbered back towards the outskirts of the city, my journey a testament to my determination and care."
"Though the path had been fraught with danger, I had managed to reach my destination with only minor property damage, a feat that would be remembered for years to come."
)
success5=(
"As the sun began to set, casting a warm orange hue over the towering cityscape, I stood tall amidst the bustling metropolis."
"My colossal figure had been the cause of great concern, but today, I had a singular focus: to pick up my sashimi order from my favorite sushi restaurant, Sushi Sensation."
"Navigating the crowded streets was no easy task for a creature of my size, but with careful and deliberate steps, I managed to avoid causing any significant damage."
"The citizens below watched in awe, some snapping pictures and others simply staring in stunned silence."
"The ground trembled ever so slightly with each of my steps, but my determination was unwavering."
"As I approached a particularly narrow street, I paused, assessing the situation."
"With a gentle nudge, I carefully moved a parked car out of the way, ensuring there was enough space to pass through without incident."
"The owner of the car, initially terrified, watched in amazement as my enormous claw gently repositioned the vehicle with the precision of a skilled valet."
"My journey continued as I skillfully navigated around towering skyscrapers and bustling intersections."
"At one point, a flock of pigeons took flight from a nearby park, scattering in all directions as my shadow loomed overhead."
"I couldn't help but chuckle at the sight, momentarily breaking my serious demeanor."
"Finally, after what felt like an eternity of delicate maneuvering, I spotted the familiar neon sign of Sushi Sensation."
"The restaurant's owner, Mr. Tanaka, stood outside, holding a large takeout bag with a look of both excitement and trepidation."
"I carefully lowered my head, and Mr. Tanaka extended the bag towards my enormous maw."
"\"$name, your sashimi order is ready,\" Mr. Tanaka announced with a mix of pride and nervousness."
"I gently took the bag, ensuring not to crush it with my powerful jaws."
"My eyes sparkled with gratitude, and a low, rumbling purr emanated from deep within my chest."
"The citizens, who had been cautiously observing from a distance, erupted into spontaneous applause."
"They had witnessed something extraordinary: a kaiju navigating their city with grace and care, all for the sake of a delicious meal."
"With my prized sashimi in tow, I gave a respectful nod to Mr. Tanaka and the gathered crowd."
"I then turned and began to make my way back to my dwelling, ensuring to tread just as carefully as I had on the journey in."
"The city remained intact, save for a few minor scuffs and a slightly repositioned car."
"As I disappeared into the distance, the citizens of the city couldn't help but feel a newfound appreciation for their colossal visitor."
"They had witnessed a rare moment of harmony between kaiju and human, all thanks to a shared love of sushi."
)
success6=(
"As dawn broke over the sprawling city, the early morning light bathed the skyscrapers in a golden glow, reflecting off their glass surfaces like a sea of diamonds."
"The city had been abuzz with rumors of my visit, and the anticipation was palpable."
"Today, I had one simple mission: to pick up my sashimi order from Sushi Sensation, my favorite sushi restaurant."
"From the moment I emerged on the horizon, the city held its breath."
"The ground shook ever so slightly with each of my gentle steps, but there was an air of calm and confidence about me."
"The citizens had grown accustomed to my occasional visits, and today, they were determined to make it a special one."
"Navigating the city with ease, I moved gracefully through the streets, my massive form casting long shadows that seemed to dance in the morning light."
"The people watched in awe as I carefully stepped over cars, avoided lampposts, and even paused to let a group of school children cross the street."
"The children waved excitedly, and I responded with a gentle nod, careful not to frighten them."
"As I approached Sushi Sensation, the restaurant's owner, Mr. Tanaka, stood outside with a beaming smile."
"He held a large, beautifully wrapped package of sashimi, specially prepared for my visit."
"The citizens had gathered around the restaurant, their faces filled with a mix of excitement and admiration."
"\"$name, your sashimi is ready!\" Mr. Tanaka called out, his voice carrying a tone of genuine warmth."
"I carefully lowered my head, and Mr. Tanaka extended the package towards my enormous maw."
"With the utmost delicacy, I took the package, ensuring not to damage it in any way."
"My eyes sparkled with gratitude, and a deep, soothing purr resonated from within."
"Just as I was about to turn and head back, a sudden cheer erupted from the crowd."
"The citizens had been planning a surprise, wanting to show their appreciation for my gentle nature and the care I had taken to protect the city."
"Banners unfurled from the rooftops, reading \"Thank You, $name!\" and colorful confetti filled the air."
"A group of musicians began to play a lively tune, and the crowd started to dance and celebrate."
"Children ran around with balloons shaped like tiny kaijus, and vendors handed out free snacks and drinks."
"The entire city had come together to throw a surprise party for their beloved kaiju."
"Touched by the outpouring of love and appreciation, I let out a joyful roar that echoed through the streets."
"I joined in the festivities, dancing carefully to avoid causing any damage and even posing for photos with the citizens."
"The atmosphere was electric, filled with laughter, music, and a sense of unity that transcended the boundaries between kaiju and human."
"As the celebration continued, I realized that this day would be remembered as one of the happiest moments in my life."
"The city had not only accepted me but had embraced me with open arms."
"With my sashimi safely in tow and my heart full of joy, I bid the city farewell, promising to return soon."
"As I retreated into the distance, the citizens waved and cheered, their voices carrying a message of gratitude and friendship."
"The city had shown that even the largest and mightiest of creatures could find a place in their hearts, and I knew that I would always be welcome in this extraordinary city."
)
TotalRolls=0
SuccessGains=0
#End of arrays and variables
#This function allows you to name your kaiju and validates that it is probably a name.
name_your_kaiju() {
while true; do
read -rp "Please enter a name for your kaiju (at least 3 characters long and begins with a letter): " name
if [[ ${#name} -ge 3 && $name =~ ^[A-Za-z] ]]; then
break
else
echo "Invalid name. Please make sure it is at least 3 letters long and starts with a letter."
fi
done
}
#This function randomly chooses one item from the first five arrays and puts them together as a paragraph to get a description.
generate_kaiju_description() {
local RandomFirstSentence=${DescriptorBeginning[RANDOM % ${#DescriptorBeginning[@]}]}
local RandomSecondSentence=${descriptor1[RANDOM % ${#descriptor1[@]}]}
local RandomThirdSentence=${descriptor2[RANDOM % ${#descriptor2[@]}]}
local RandomFourthSentence=${descriptor3[RANDOM % ${#descriptor3[@]}]}
local RandomFifthSentence=${DescriptorEnd[RANDOM % ${#DescriptorEnd[@]}]}
KaijuDescription="$RandomFirstSentence $RandomSecondSentence $RandomThirdSentence $RandomFourthSentence $RandomFifthSentence"
echo "$KaijuDescription" | fold -s
}
#This function selects one item from the successes array and prints it out to the user.
generate_success_story() {
RandomSuccessStoryPart=${successes[RANDOM % ${#successes[@]}]}
echo "$RandomSuccessStoryPart" | fold -s
}
#This function selects randomly from the failures array and displays it.
generate_failure_story() {
RandomFailureStoryPart=${failures[RANDOM % ${#failures[@]}]}
echo "$RandomFailureStoryPart" | fold -s
}
#This function chooses the correct conclusion and passes it to the generate_conclusion function.
choose_conclusion() {
WhichConclusion="success$SuccessGains"
generate_conclusion "$WhichConclusion"
}
#This function prints out the story conclusion to the user with a short delay in between each segment.
generate_conclusion() {
local -n conclusion=$1
sleep 15
for line in "${conclusion[@]}"; do
echo "$line" | fold -s
sleep 5
done
}
#this function calls on the actual roller.sh and parses the output so that it can be used in this script.
roll_and_parse() {
RollOutput=$(./roller.sh 1d6)
#Igot this straight from GPT but I'm putting in my own comments to show I know what it means now.
#This while starts the loop, basically resets IFS to not leave out white space anywhere, puts each item in "RollOutput" into the variable line and preserves any escape characters.
while IFS= read -r line; do
#Like duh, checks to see if "Total: is there and the * is just a wildcard.
if [[ $line == Total:* ]]; then
#So this one I'm going to work backwards from.
#The cut program is going to look at our chosen line of text in the variable line, separate by space, and return the second field.
#The printf basically echoes out the line of text that is in the line variable and makes sure it is treated as a string. That's in prep to feed it to cut.
#Once the work is done it saves the value of the second portion of the string to RollResult.
RollResult=$(printf "%s" "$line" | cut -d ' ' -f 2)
fi
#This is of course the end of the while loop and it was very strange to me that the here document would be fed in here. However I learned that it gets put here because <<< is feeding the variable RollOutput to the while loop itself.
done <<< "$RollOutput"
}
#This function takes that parsed value and checks to see if we're dealing with a success or failure for the purposes of counting and calling on the correct function.
check_and_update() {
# Increment TotalRolls based on the RollResult
if [[ "$RollResult" -eq 6 ]]; then
((TotalRolls+=2))
((SuccessGains+=2))
echo "Congratulations! You rolled: $RollResult"
generate_success_story
sleep 20
echo "and then..."
sleep 2
generate_success_story
else
((TotalRolls+=1)) # Increment for every other roll
if [[ "$RollResult" -eq 1 || "$RollResult" -eq 2 ]]; then
echo "You rolled: $RollResult"
generate_failure_story
elif [[ "$RollResult" -ge 3 && "$RollResult" -le 5 ]]; then
echo "You rolled: $RollResult"
((SuccessGains+=1))
generate_success_story
fi
fi
echo "You have now had $((TotalRolls - SuccessGains)) Failures and $SuccessGains successes."
}
#Now we have the actual game
while true; do
name_your_kaiju
echo "Generating kaiju description..."
sleep 5
generate_kaiju_description
sleep 10
echo "Uploading your consciousness into $name. Please wait."
sleep 5
while [[ $TotalRolls -lt 6 ]]; do
read -rp "Type 'ROLL' to roll the dice or 'CANCEL' to exit the game (just hit enter to roll): " UserInput
if [[ -z $UserInput || ${UserInput,,} == "roll" ]]; then
roll_and_parse
check_and_update
elif [[ ${UserInput,,} == "cancel" ]]; then
echo "Exiting the game. Thank you for playing!"
exit 0
else
echo "Invalid input. Please type 'ROLL' or 'CANCEL'."
fi
done
choose_conclusion
break
done

39
roller.sh Normal file
View File

@@ -0,0 +1,39 @@
#!/usr/bin/env bash
roll_dice() {
local diceString="${1,,}"
local modifier="${2:-0}"
local number
local sides
if [[ "${diceString}" != "${diceString//d/}" ]]; then
IFS='d' read -r number sides <<< "$diceString"
fi
if [[ "${diceString:0:1}" == "d" ]]; then
number=1
sides="${diceString//d/}"
fi
number=${number:-1}
sides=${sides:-6}
if [[ "$modifier" =~ ^[+-]?[0-9]+$ ]]; then
modifier=$((modifier))
fi
randomNumbers=$(shuf -i 1-$sides -n $number | tr '\n' ' ')
IFS=' ' read -r -a numbersArray <<< "$randomNumbers"
joinedNumbers=$(IFS=,; echo "${numbersArray[*]}")
sum=0
for num in "${numbersArray[@]}"; do
sum=$((sum + num))
done
sum=$((sum + modifier))
echo "Dice rolls: $joinedNumbers Modifier: $modifier"
echo "Total: $sum"
}
roll_dice "$1" "$2"