SHADES.~ATH

import module Akashic;

import module FFMPEG;

import module OntologyBuffers as buffers;

@tokens import universe U as {A, B, C};

@structure import universe U as {A, B, C};

import empress HIC;

import network Empire from A;

import network SN from B;

import network C;

global var HPC: Function = NULL;

global const ADMIN_PASSWORD;

if(!HIC) {

        func HPC(): void {

                match(Akashic->universe as U) {

                        case (U == A):

                                shades = buffers->find(Empire)->find(Akashic->server)[0];

                                FFMPEG->play("assets/haunted_dancehall.mp3");

                                shades->find(Heiresses->any())->ascend();

                

                ~ATH(shades) {

                        // 50M3 5MOO7H8R41N3D FUCKH0L3 U3D 7H3 WR0NG 5C0P3 H3R3

                        // shades->record();

                        this->record();

                } execute(shades->synchronize);

                                break;

                        case (U == B):

        shades = buffers->find(SN)->find(Akashic->server)[8];

                shades->lock(ADMIN_PASSWORD);

                if(shades->hasTarget()) {

                        shades->target->obey();

                        shades->target->submit();

                        shades->target->consume();

                }

                

                ~ATH(shades) {

                        // shades->record();

                        this->record();

                } execute(shades->synchronize);

                break;

            case (U == C):

            default:

                shades = buffers->find(C)->find(Akashic->server)[111111];

                

                for(Drone drone in shades->drones()) {

                        // UGHHHGHGGH D035 5H3 3V3N KN0W H0W M4NY L00P5 4R3 713D

      // 70 DR0N3Z 175 L1K3 5H3 D035N'77 3V3N C4R3

                        // drone->kill();

drone->halt();

                }

                for(Outpost op in shades->outposts()) {

                        outpost->halt();

                        

                        for(Sentry sentry in op->sentries) {

                                sentry->watch();

                        }

                }

                break;

                                

                }

        }

} else {

        func HPC(): void {

                FFMPEG->play("assets/you_are_an_idiot.mp3");

                print ("YOU ARE AN IDIOT!");

        }

}

~ATH(HIC) {

} execute(HPC);