Of Machines and Magic (Outdated)

by Orzo Pasta

Rating: teen
Tags: Violence, Princess Celestia, My Little Pony: Friendship is Magic, Death, Alternate Universe, Original Character, Science Fiction, Adventure
Length: 4305

When the forces of light and darkness clash against each other, a young engineer finds himself in the midst of the conflict, with the fate of Equestria in the balance.

This story is now an outdated version. An updated version will be linked here when it is available. This version is being left up for now, but will not receive any updates and is cancelled.

Midnight Shadow, an earth pony living in Ponyville, discovers that he has a special talent for mechanical engineering. However, his inventions end up dragging him into a conflict between forces of light and darkness, with consequences far beyond what he had hoped for. With the fate of Equestria in the balance, and no way to return to his quiet life from before, he has only one option: keep going, and hope that a solution presents itself.

Published 2019-08-20 03:20:01 UTC
Last updated 2019-09-18 20:29:53 UTC

1 - Midnight Shadow

Ancient timekeeping devices often utilized metal parts instead of magical incantations in order to keep time. The mechanism, in its most basic form, consisted of a tightly-wound coil of metal wire, similar to a spring, and several small metal wheels called gears. These gears were designed to fit together in such a way as that turning one caused others around it to turn. The coil would turn one gear, which turned the gears adjacent to it, and ultimately powered the entire system. The gears had to be designed perfectly to accurately reflect the passage of time, and the coil had to be kept wound tightly. Overall, the system was much less efficient than modern-day magical timekeeping devices, which use the regular pulsing of the magical aura flowing through enchanted runes that transfer that pulse into the face of the watch, turning the hands in time with...

That was one thing I never quite understood about this particular author's work. Every time he mentioned an ancient technology, he always went into unnecessary detail about what technology replaced it, and how much better it worked. It was a peculiar quirk, but one that ultimately wasn't all that significant. His books still conveyed the information they were supposed to, despite the inefficiency.

I glanced around the library. Nopony else was there, and the only sight was the rows and rows of books lined up on the wooden shelves. Even from the inside, it was obvious the library had been carved out from a tree. The wood looked too natural to be processed, the shelves had been carved into the walls, and around the bases of the few windows one could see the bark of what used to be a thriving oak tree. I figured it must have been enchanted somehow to prevent decay, because there was no way it could still be alive after being completely hollowed out.

The library technically had multiple stories, although they didn't have any books. Instead, they were furnished as if it was somepony's home. There were beds, a kitchen, and even a balcony with a telescope. My guess was that it was intended to house the librarian, back when the town's mayor thought the library needed a librarian. They quickly found out otherwise, as the pony they picked for the job complained that she had nothing to do. I was fairly sure I was the only pony in the whole town who regularly visited the library.

The town didn't buy new books for the library. Given how little the library was used, it would be a waste of money if they did. Any new titles that appeared on the shelves were donated, and even that was a rare occurrence. As such, over the course of several years, I had managed to read almost every book in that library. For such a small town, the library had a surprisingly diverse array of books available. I had read everything from epic fantasies to nonfiction books about Equestrian history; not that it was always easy to tell which was which.

I shook my head. I'm getting distracted again, I thought. I closed the book, placed it in my saddlebag along with a few others, quickly scribbled their titles on the checkout sheet by the exit, and headed out into the street.

It took me about seven minutes to walk from the library to my house. It was an average-looking home, not much different from any other house in the town. What was unique about it was its location. If one walked from the back wall of the house, they would reach the edge of the forest in about four seconds. My father told me once that he suspected the house was cheaper than most in the area as a result.

Walking inside, I noticed my father wasn't home yet. By the clock on the wall, I could tell he wouldn't get off work for another hour or so. I climbed the stairs to the second story of the house. There were four bedrooms upstairs. The one furthest from the stairs was mine. Across from it was my father's. He sometimes talked about renting the other two out to make some extra money, but he never ended up doing it.

My room didn't have much in the way of furniture. There was a bed, a small dresser, a chair, and a desk. On the desk was a small lamp, a stack of paper, a few pens and pencils, and a pocket watch. I sat down in the chair, took the book I was reading earlier out of my saddlebag, and set it on the desk.

The book had a diagram of the mechanism of an ancient non-magical watch. I grabbed the pocket watch sitting on the desk, pressed down on the button on the side, and lifted the front face upwards. Sure enough, the inside matched the diagram, although many of the pieces were deformed from corrosion. I carefully removed the pieces that looked too damaged to function. The metal coil was still intact, which meant the watch could still work if it had replacement parts.

Once all of the corroded parts were removed, I grabbed a pen and a sheet of paper and began to draw outlines. Using a ruler, I made sure the scale was as exact as possible. After an hour or so, I had sketched outlines of every corroded part in the watch. Looking over them again, I verified the scale and shape. Once I was certain they were the correct size, I leaned back in my chair and considered what to do next.

I need something to make replacement parts out of. Metal isn't an option; it'd be too difficult to form into shapes as precisely as is necessary. The same goes for stone. Wood, maybe?

My thoughts were interrupted by a faint knock.

I listened for a moment, realized it was coming from the front door, and stood from my chair to see who it was. I walked back down the stairs, pausing momentarily as the knock sounded again, then continued. Reaching the door, I peered through the window by its side. Through it, I saw a very familiar face. I nodded quickly, moved the latch keeping the door locked out of the way, and opened the door.

"Hey, Shadow. How've you been?" he said, closing the door behind him. He was a light gray pegasus, with a dull, dark orange mane. His eyes were deep blue, the same color as mine, and his cutie mark was an image of a hammer and anvil.

"I'm good. How about you, dad? How was work?"

He shook his head, but with a slight smile. "Dull, as usual. I mostly fixed broken horseshoes and wagon wheels and such; nothing big, but nothing too horrible, either."

I gave a quick nod in response. My father walked past me, into the kitchen. I turned around and started back up the stairs. We usually had little to talk about. I didn't mind, and it didn't seem like he did either.

I returned to my room, ready to continue planning. Wood is probably the best choice, I thought.

It was dark, and cold. From what I could see, I was standing on a plateau; from the temperature, I assumed it was at a very high elevation. The edge of the plateau dropped off into the darkness, with a steep slant reminiscent of the side of a mountain. Which, as I had guessed before, it probably was. What little light there was came from the moon overhead, as a dull silver light shone through a dense layer of dark clouds.

I realized something. This place was familiar to me. I had been here before, in a dream...

This was a dream.

I remembered it clearly now. I had been having the same dream for about a month. After the first few days, my memory of the dream was enough to induce a lucid state on its own. The biting cold felt much more sharply defined than before, and the rough texture of the rock below my hooves was distinct. It was almost as if I was really standing on top of a mountain, even though everything was slightly ethereal.

There was one strange aspect of the lucid dream, however, that gave the impression that it wasn't exactly what it seemed. Usually, when a pony entered a lucid state, they gained full control over their dream. However, despite the fact that I could feel more than in a normal dream, I had no such control over this environment. I might have worried about it, had it affected me in any significant way. It didn't seem to impede on my normal sleep pattern, nor did anything concerning happen during the dream.

For that matter, nothing happened during the dream. It was just me, standing on a cold mountain plateau until I awoke in the morning.

I opened my eyes.

I remembered having the same dream again. I briefly wondered why it was happening, then pushed the thought out of my head. I had more important things to attend to.

That day was going to be the day I finally finished repairing the watch.

The last piece looked exactly like every other gear in the watch, save for its size. It was carved from everwood, making it light and durable, and it was shaped to exact measurements. If the piece was off by a centimeter, it would not fit into the delicate and compact mechanism. I had checked its measurements twice, once before carving and once after, and both times it matched exactly. I decided to check it once more, and once again I saw it was perfect.

I took a slow breath, my work nearly finished. Thirty days of carving and measuring, and it was all about to come together. I briefly thought about how easily I had managed to figure out how to do any of it in the first place. On my own, I had figured out how to repair a centuries-old mechanical device that almost nopony would know anything about, and it had only taken a month to finish it.

I picked up the last piece gently, lining it up as well as I could above the empty space it was meant to occupy. I thought about how much easier the task would be if I was a unicorn, but that wasn't something I could change, so I didn't dwell on the thought. I dropped the piece into place, pushing it down as lightly as I could. It fit perfectly, making a faint click as it took its place in the device. I closed the face of the watch, then adjusted the hands on the face so that they read the correct time.

Finally, I wound the coil.

Tick.

It was a faint sound, barely audible at all. For a few moments, I didn't even notice it.

Tick.

The sound repeated itself once every second. I counted for several seconds to ensure it was working at the correct pace, and sure enough, every one of them was right on time.

Tick.

It was done. I gently picked the watch up, placing it in my empty saddlebag so I could carry it downstairs. My father didn't have to work that day, so I could show him right then.

I went quickly through the hall and down the stairs. I was excited to show him what I'd done. I nearly tripped on the bottom of the stairs, but I righted myself quickly. My father must have noticed I was rushing.

"Slow down, Shadow. Whatever it is, it's not worth risking a sprained leg over," he said. I was already up to him, taking a seat beside him on the sofa, taking my saddlebags off and setting them beside me.

"Hey, dad, guess what?"

He turned towards me, tilting his head slightly to one side. "You're never this enthusiastic on a normal day like this. What's going on?"

I reached into my bag, drawing out the watch. My father looked at it for a moment, eyes flashing in recognition.

"Yes, but what does-"

Tick.

"Did you hear it?" I asked. "It's working. I fixed it!"

His face shifted from confusion to happiness. "Well, that's incredible, Shadow! I guess that's probably why you wanted all that carving wood, huh?"

I nodded. The two of us sat there for a moment, the only sound being the ticking of the watch. Neither of us wanted to talk about it, but we were both thinking it.

"That was hers, you know." It was my dad who spoke first.

"I know. She gave it to me, just before she-" I stopped.

"You don't have to talk about it if you don't want to."

I nodded slowly. "What was she like?" I asked. Quickly realizing how he must have felt, I started to add "if you're okay with-"

He held up a hoof to stop me. "It's fine." He took a deep breath. "She was the best spellcaster in all of Equestria. Not counting the Princess, of course. She could do so many wondrous things. She could create beasts of light, which she could command as if they were a part of her. She even-"

"Raised the sun for the Princess once, I know. You've told me all of this before."

He chuckled softly. "If you already knew, then why did you ask?"

"You know what I meant, dad. Tell me something new."

He nodded. "Yes, well, she was very pleasant to be around." He stopped for a moment, thinking. "She always knew exactly what to say, whether it was a well-timed joke or some much-needed advice. She tried to help others when she could, and she never wanted to hurt anypony, which is why..." His voice trailed off, as his expression shifted again, clearly remembering something unpleasant.

For a moment, I wondered if it was a good idea to ask what he was going to say. "Which is why...?" I said, after a few moments had passed.

My father sighed, lowering his head so his gaze was towards the floor. "It was why she was devastated when she was called to serve in the war. Being such a powerful unicorn, it was no surprise. Still, she hated the idea of having to fight, even if it was in service of her country. And then..."

A tear rolled down the side of his face. He wiped it away quickly, then took another deep breath.

"You don't have to say any more, dad. That's enough."

He lowered his head further, not saying a word. The two of us sat in silence for several long moments, as the sound of the ticking watch became audible again.

After a time, he looked over at me again. "You okay?" he asked.

I nodded. "Yeah, you?"

He nodded back. "I'm glad you repaired the watch. I'm sure she would've been proud of you."

I stood up, ready to head back upstairs.

"Shadow, wait!" my dad said suddenly. I turned around again, facing him once more.

"What is it?"

His expression was a mixture of shock, happiness, and confusion. "Look," he said, pointing one hoof at my flank.

I bent my neck to look. Sure enough, there was something there.

A mark.

It showed a silver gear, with a four-pointed star in front of it. I hadn't noticed it until then.

I looked back up at my dad, who was now standing right in front of me. He wrapped his hoof around me, and I hugged him back. He was crying, but I could tell it wasn't out of sadness.

"I'm so proud of you, son."

Still in my father's embrace, I was processing everything. I finally got my mark. Not only had I repaired my mother's watch, but I had discovered that working with mechanical devices was my life's purpose. My destiny.

I was happy. That day was the best day of my life.

Author's Note

Hello, everyone.
If you're coming from the old version of this story, please read my latest blog post explaining everything you should know.
If you're just coming across this story now, welcome! You don't have to read the old version to read this one, but you can if you want.
Also, if you spot any spelling/grammar errors, please let me know. I'd like this story to be as polished as possible, and there might be some mistakes that slip past me. Thanks!

2 - A Source of Inspiration

I was standing on the plateau again. Everything was normal; the biting cold, the rough stone, the silvery moonlight...

But something was different.

I felt something else there. It felt like I was being watched from the mist; that there was somepony in the dream with me. I wasn't alone; I could feel it.

Nothing happened that night, but as I waited for the sun to rise I was constantly looking over my shoulder, as if expecting somepony to be right behind me.

I opened my eyes. Light was streaming in through the window, and the faint sound of birdsong could be heard from the distance. It was the morning after I had earned my cutie mark. The night before, my excitement made it hard to get to sleep. However, once I had gotten some rest, I thought about the situation a bit deeper.

Now that I have the mark, what do I do?

I knew that my talent was mechanical engineering, but I had no idea how to start. It was a craft that had become obsolete centuries ago, and hardly anypony even knew about it. I myself knew almost nothing about it, and I was the one destined to pursue it.

If I'm going to do anything, I need to know more first. I'll head to the library, and see what I can find.

My father was downstairs, in the kitchen. "Good morning, Shadow!"

"Good morning."

He set a plate down on the dining table with his wing. "I made pancakes today. I hope that's alright with you."

"Why wouldn't I be okay with it?" I asked, sitting down at the table.

"I... I don't know, I guess..." he began to reply, taking a seat across from me. "I guess I don't really know why. As long as you're happy, everything is fine."

I smiled. "Thanks, dad. I'm planning on going to the library today, just to see if I can find anything to help me."

"Yeah, I suppose you would need to do some research first." He glanced up at the clock on the wall. "Alright, just don't spend the whole day there, okay?"

"I won't, dad."

After I finished eating, I set out for the library. For everypony else, it was a normal day. There were only a few other ponies on the streets, and the weather above was clear and sunny. The town was quiet as always.

The library was, unsurprisingly, completely empty. It was still early morning, but I knew the library would stay empty for the whole day. Very rarely did anypony else ever decide to visit the library.

I began to look through the shelves, grabbing any book that looked helpful and placing it on the center table. I only found a few that seemed like they'd have any information I could use, and even they weren't likely to have more than a few sentences worth of good information. Once I had collected a decent number of books, I sat down and began to read through them.

I pored over several historical books. Before the three tribes were united, earth ponies often solved problems using mechanical solutions instead of magical ones; mostly for milling grain, keeping time, and harvesting crops. After Unification, however, the new cooperation led to the discovery that both pegasi and earth ponies possessed magic of their own, and before long machines became obsolete, and knowledge of how to create them was lost to time.

I paused after finishing the paragraph. If magic is an improvement on machinery in every way, how am I supposed to do anything meaningful? I wondered to myself.

I was interrupted by the sound of the door opening behind me. I jumped at the sound; nopony ever visited the library. Curious, I closed the book I had open and turned to see who had walked in.

She was a yellow-orange coated pegasus, with an orange-red mane and tail and vivid hazel eyes. She must have been new to Ponyville; I had never seen her before.

"Good morning," she said quietly.

"Same to you."

She walked over to one of the shelves, looking through them with restrained interest.

"If there's a specific book you're looking for, I can probably help you find it," I offered. "I come here a lot, so I'm familiar with how the books are organized." Mainly because I was the one doing most of the organizing, I thought.

"No, that's alright. I'm just looking to see what there is."

"May I ask why you're in Ponyville? We don't really get many new ponies here."

She froze, her muscles tensing slightly for just a moment. "I'm from Canterlot. Decided to move here for a change of pace," she said, rushing her words slightly.

I nodded. "I actually used to live in Canterlot, back when I was just a colt."

She was acting a bit nervous. "Is that so?" she said, almost reluctantly.

"Yeah. The libraries there were a lot less neglected, and probably had more books overall, but at least here I can reach the top shelves on my own."

"How come there's nopony else here?"

"I guess there really aren't many bookworms in this town. I'm always here alone."

"...and that doesn't bother you?" She was still looking through the shelves, but it didn't seem like she was actually paying attention to the books.

"No, not really."

She grabbed a book off the shelf, seemingly at random. "Well, have a good day," she said, walking across the room much quicker than before.

"Wait, I didn't get your name," I said, just before she left.

She stopped for a moment, holding the door open with her hoof. "Sunwalker," she said.

"I'm Midnight Shadow."

"Nice to meet you," she said, not turning around. Then, she left, closing the door behind her.

Well that was strange, I thought. She definitely didn't act like a Canterlot pony.

I remembered something from years ago.

I was in the Canterlot Public Library. I was about six years old, and my father had taken me to the library for the day. He had gone off to another section of the library to find a book. I was left alone. There was a specific book I wanted, too, but it was too high on the shelf for me to reach. It would've been so easy for me to get the book if I had wings, or maybe a horn to levitate it down with.

A unicorn walked past. I got his attention, asking him to help me. He looked at me for just a moment, with an annoyed expression on his face, then kept walking as if I wasn't even there.

Looking around, I saw one of the ladders attached to the shelves nearby. I rolled it over to the book, and began to climb. I had almost reached the book, and started pulling it off the shelf, when I slipped and fell backwards. I felt somepony grab me in midair.

"You need to be more careful, Shadow," my father said, setting me back down on the floor. "If I wasn't there to catch you, you would've gotten hurt. Do you understand?"

I nodded, then looked up at the book.

"Oh, so that's why you were on the ladder." He flew up and grabbed the book off of the shelf, bringing it down to me. I grabbed it happily. "Listen, Shadow. If you want a book from a high shelf, just ask me, okay? I don't want you getting hurt trying to do it yourself."

I nodded. "Yes, dad." I knew he was right, but I didn't want to rely on him all the time. I wished I was a pegasus, so I could fly up to the high shelves myself.

I realized I had been sitting there doing nothing for quite a while, just thinking about my childhood. I remembered that day more clearly than most of my days as a colt. What about that moment was so important to me?

I wished I was a pegasus.

That was when the idea struck. What if I could make myself into a pegasus?

It was a crazy idea by most ponies' standards. However, the more I considered it, the more I believed it was possible. There might have already been fight spells, but they were either incredibly difficult or temporary. A machine would, in theory, be usable by anypony and could be kept permanently, while still being as flight-capable as natural wings.

I looked through the stack of books I had pulled out, checking for any that might help with my new project. I picked out two, setting them aside, and decided to return the rest to the shelves. In their place I grabbed new books, about things like aerodynamics, pegasus anatomy, and weather patterns. I put all of the books into my saddlebags, wrote their names down on the check-out sheet, and started off towards home.

On the way, I briefly thought about Sunwalker. Something about her seemed off. I couldn't really tell what it was, exactly, so I decided to forget about it for the time being. My thoughts turned to my new endeavor.

I finally knew what to do next.