JustPaste.it

#library "HDMONSPKACS"
#include "zcommon.acs"

int SilentDarknessIsKill = 0;
int BlindnessChance = 0;
int DictatorTime = 0;
int DictatorPowerLevel = 0;
int DictatorInfluenceIsGo = 0;
int DickTaterEvil = 0;
int DickTaterDialogueBrancher = 0;
int EscapeTheDictator = 0;
int AmmoTheftID = 0;
int OnlyOneDictator = 0;
int WrathWeaponLoss = 0;
Script "CureBlindness" ENTER
{
TakeInventory("ICantSeeShit",500);
}

Script "CheckForBlindness" OPEN
{
if(CheckInventory("ICantSeeShit")>0)
{
FadeTo(0,0,0,1.0,6);
Delay(100);
TakeInventory("ICantSeeShit",1);
ACS_NamedExecute("StillCantSeeShit",0,0,0,0);
}
else
{
Delay(15);
Restart;
}
}

Script "StillCantSeeShit" (void)
{
if(CheckInventory("ICantSeeShit")>0)
{
FadeTo(0,0,0,0,4);
Terminate;
}
else
{
Delay(20);
BlindnessChance=random(0,3);
if(BlindnessChance==0)
{
TakeInventory("ICantSeeShit",1);
Delay(25);
Restart;
}
if(BlindnessChance==3)
{
TakeInventory("ICantSeeShit",3);
Delay(40);
Restart;
}
BlindnessChance=0;
Restart;
}
}

Script "BrimstoneHeightCheckerSmall" (void)
{
Delay(5);
if(GetActorCeilingZ(0)-GetActorFloorZ(0)>30)
{
//Log(s:"Successful small Brimstone Imp!");
SetResultValue(1);
}
else
{
//Log(s:"Failed to spawn small Brimstone Imp. D:");
SetResultValue(9);
}
}

Script "BrimstoneHeightCheckerNormal" (void)
{
Delay(5);
if(GetActorCeilingZ(0)-GetActorFloorZ(0)>80)
{
//Log(s:"Successfully spawned a Brimstone Imp!");
SetResultValue(1);
}
else
{
//Log(s:"Failed to spawn a Brimstone Imp. D:");
SetResultValue(9);
}
}

Script "BrimstoneHeightCheckerGiant" (void)
{
Delay(5);
if(GetActorCeilingZ(0)-GetActorFloorZ(0)>140)
{
//Log(s:"Successfully spawned a giant Brimstone Imp! :D");
SetResultValue(1);
}
else
{
//Log(s:"Failed to spawn a giant Brimstone Imp. D;");
SetResultValue(9);
}
}

Script "SilentDarknessEntrance" ENTER
{
Spawn("SilentDarkness",random(0,100),random(0,100),random(0,100),906,0);
SetActorPosition(906,random(-9000,9000),random(-9000,9000),0,false);
}

Script "SilentDarknessPositionShufflerScript" (void)
{
SetActorPosition(906,random(-9000,9000),random(-9000,9000),0,false);
SilentDarknessIsKill=random(0,2);
if(SilentDarknessIsKill==1)
{
SetActorState(906,"Death",false);
SilentDarknessIsKill=0;
}
else
{
SilentDarknessIsKill=0;
Terminate;
}
}

Script "DictatorScript" ENTER
{
DictatorTime=0;
DictatorPowerLevel=0;
DictatorInfluenceIsGo=0;
if(OnlyOneDictator==1)
{
Terminate;
}
if(EscapeTheDictator==1)
{
Terminate;
}
While(DictatorTime<300)
{
DictatorTime++;
Delay(150);
}
if(DictatorTime==300)
{
DictatorTime=0;
DictatorPowerLevel=1;
DictatorInfluenceIsGo=random(1,1500);
if(DictatorInfluenceIsGo==20)
{
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
ACS_NamedExecute("DictatorStage2",0,0,0,0);
}
}
else
{
Restart;
}
}

Script "DictatorStage2" (void)
{
While(DictatorTime<180)
{
DictatorTime++;
Delay(150);
DictatorPowerLevel=2;
DictatorInfluenceIsGo=random(1,1000);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
DictatorTime=0;
ACS_NamedExecute("DictatorStage3",0,0,0,0);
}

Script "DictatorStage3" (void)
{
While(DictatorTime<200)
{
DictatorTime++;
Delay(200);
DictatorPowerLevel=3;
DictatorInfluenceIsGo=random(1,800);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
DictatorTime=0;
ACS_NamedExecute("DictatorStage4",0,0,0,0);
}
}

Script "DictatorStage4" (void)
{
While(DictatorTime<400)
{
DictatorPowerLevel=4;
DictatorTime++;
Delay(300);
DictatorInfluenceIsGo=random(1,700);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
DictatorTime=0;
ACS_NamedExecute("DictatorStage5",0,0,0,0);
}

Script "DictatorStage5" (void)
{
While(DictatorTime<500)
{
DictatorPowerLevel=5;
DictatorTime++;
Delay(350);
DictatorInfluenceIsGo=random(1,600);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
DictatorTime=0;
ACS_NamedExecute("DictatorStage6",0,0,0,0);
}

Script "DictatorStage 6" (void)
{
While(DictatorTime<550)
{
DictatorPowerLevel=6;
DictatorTime++;
Delay(400);
DictatorInfluenceIsGo=random(1,500);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
DictatorTime=0;
ACS_NamedExecute("DictatorStage7",0,0,0,0);
}

Script "DictatorStage7" (void)
{
While(DictatorTime<600)
{
DictatorPowerLevel=7;
DictatorTime++;
Delay(450);
DictatorInfluenceIsGo=random(1,400);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
DictatorTime=0;
ACS_NamedExecute("DictatorStage8",0,0,0,0);
}

Script "DictatorStage8" (void)
{
While(DictatorTime<700)
{
DictatorPowerLevel=8;
DictatorTime++;
Delay(500);
DictatorInfluenceIsGo=random(1,300);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
DictatorTime=0;
ACS_NamedExecute("DictatorStage9",0,0,0,0);
}

Script "DictatorStage9" (void)
{
While(DictatorTime<400)
{
DictatorPowerLevel=9;
DictatorTime++;
Delay(600);
DictatorInfluenceIsGo=random(1,200);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
DictatorTime=0;
ACS_NamedExecute("DictatorStageEternity",0,0,0,0);
}

Script "DictatorStageEternity" (void)
{
if(EscapeTheDictator==0)
{
DictatorPowerLevel=666;
DictatorInfluenceIsGo=random(1,100);
if(DictatorInfluenceIsGo==20)
{
DictatorTime=0;
ACS_NamedExecute("DickTater",0,0,0,0);
}
else
{
Restart;
}
}
else
{
Terminate;
}
}

Script "DickTater" (void)
{
OnlyOneDictator++;
SetMusic("dictator/influence/music",0);
Delay(120);
PlaySound(0,"dictator/influence/begin",CHAN_AUTO,1.0,false,ATTN_NONE);
QuakeEx(0,3,4,0,600,0,50000,"",0,0,0,0);
Delay(6000);
ACS_NamedExecute("DickTaterEvilBickeringManager",0,0,0,0);
}

Script "DickTaterEvilBickeringManager" (void)
{
DickTaterDialogueBrancher=random(1,8);

if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/n/n/n/c[RED]Forever and ever. Amen.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/n/n/c[RED]Come forth, my son, and embrace/n your father.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/n/n/c[RED]Do you truly think you can/n resist death?");
}
if(DickTaterDialogueBrancher==4)
{
PrintBold(s:"/n/n/c[RED]My time has come, little Prophet. Are/n you ready for the Master's /nreturn?");
}
if(DickTaterDialogueBrancher==5)
{
PrintBold(s:"/n/n/c[RED]Blessed are the meek and the lowly, for/n the kingdom will be theirs.");
}
if(DickTaterDialogueBrancher==6)
{
PrintBold(s:"/n/n/n/n/n/c[RED]Your search is over. Your struggle is in vain.");
}
if(DickTaterDialogueBrancher==7)
{
PrintBold(s:"/n/n/n/c[RED]Witness what shall be. In the depths of hell, the /nheights of heaven, and the /n dregs of Earth. Amen.");
}
if(DickTaterDialogueBrancher==8)
{
PrintBold(s:"/n/n/n/c[RED]There is no escape from wrath, my child.");
}
Light_ChangeToValue(0,96);
Sector_SetColor(0,200,0,0,50);
FadeTo(150,0,0,0.5,15);
Delay(1000);
if(GetActorProperty(0,APROP_INVULNERABLE))
{
ACS_NamedExecuteWait("DictatorWeaknessReveal",0,0,0,0);
}
DickTaterDialogueBrancher=0;
DictatorInfluenceIsGo=0;
DictatorTime=0;
EscapeTheDictator=0;
ACS_NamedExecute("DickTaterEvilness",0,0,0,0);
}

Script "DickTaterEvilness" (void)
{
//The things that the Dictator can do to you depend on the power level that had been
//increasing up to now. Ironically, bad luck and him showing up early actually limits
//what he can do. If you have good luck, then you have shit luck....:D
//At lvl 1, all he can do is revive all foes. At level 2, he can rob you of any ammo.
//At level 3, he gains the ability to tamper with your armor. Level four spawns in Tangos.
// At level 5, he can summon Living Mouths to rape you. Level six lets
//him turn whatever floor you're standing on into lava, melting you. Level 7 lets him
//make demons appear, and strong ones too! Level 8 plops down two Evil Eyes in front of you.
//Level 9 lights you on fire. Level 666 lets him
//demolish you, lighting you on fire and taking your armor, ammo, and one gun.
if(DictatorPowerLevel==1)
{
Delay(100);
DictatorPowerLevel--;
ACS_NamedExecute("DictatorVileShards",0,0,0,0);
}
if(DictatorPowerLevel==2)
{
Delay(200);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==3)
{
Delay(300);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
;
}
if(DictatorPowerLevel==4)
{
Delay(400);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==5)
{
Delay(500);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==6)
{
Delay(600);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==7)
{
Delay(600);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==8)
{
Delay(600);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==9)
{
Delay(600);
ACS_NamedExecute("DictatorEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==666)
{
Delay(1200);
ACS_NamedExecute("DictatorMotherFuckerEvilScript",0,0,0,0);
}
if(DictatorPowerLevel==0)
{
Light_ChangeToValue(0,150);
Sector_SetColor(0,0,0,0,0);
FadeTo(0,0,0,0,15);
Terminate;
}
}

Script "DictatorEvilScript" (void)
{
//This script evaluates power levels and triggers the actual evil actions accordingly.
if(DictatorPowerLevel==2)
{
DickTaterEvil=random(1,2);
}
if(DictatorPowerLevel==3)
{
DickTaterEvil=random(1,3);
}
if(DictatorPowerLevel==4)
{
DickTaterEvil=random(1,4);
}
if(DictatorPowerLevel==5)
{
DickTaterEvil=random(1,5);
}
if(DictatorPowerLevel==6)
{
DickTaterEvil=random(1,6);
}
if(DictatorPowerLevel==7)
{
DickTaterEvil=random(1,7);
}
if(DictatorPowerLevel==8)
{
DickTaterEvil=random(1,8);
}
if(DictatorPowerLevel==9)
{
DickTaterEvil=random(1,9);
}
//Now that we've decided how much evil to use, we need to reduce the power level for
//future evils.
DictatorPowerLevel=DictatorPowerLevel-DickTaterEvil;
if(DictatorPowerLevel<0)
{
DictatorPowerLevel=0;
}
//And now to choose the evil to perform...
if(DickTaterEvil==1)
{
ACS_NamedExecute("DictatorResurrection",0,0,0,0);
}
if(DickTaterEvil==2)
{
ACS_NamedExecute("DictatorAmmoTheivery",0,0,0,0);
}
if(DickTaterEvil==3)
{
ACS_NamedExecute("DictatorUnBlacksmith",0,0,0,0);
}
if(DickTaterEvil==4)
{
ACS_NamedExecute("DictatorTangosInbound",0,0,0,0);
}
if(DickTaterEvil==5)
{
ACS_NamedExecute("DictatorMouthsOfHunger",0,0,0,0);
}
if(DickTaterEvil==6)
{
ACS_NamedExecute("DictatorLavaFloor",0,0,0,0);
}
if(DickTaterEvil==7)
{
ACS_NamedExecute("DictatorCubeSpawns",0,0,0,0);
}
if(DickTaterEvil==8)
{
ACS_NamedExecute("DictatorStaringContest",0,0,0,0);
}
if(DickTaterEvil==9)
{
ACS_NamedExecute("DictatorsWrath",0,0,0,0);
}
}

Script "DickTaterMotherfuckerEvilScript" (void)
{
ACS_NamedExecuteWait("DictatorsHellWrath",0,0,0,0);
ACS_NamedExecuteWait("DictatorHellAmmoTheivery",0,0,0,0);
ACS_NamedExecuteWait("DictatorHellResurrection",0,0,0,0);
DictatorPowerLevel=0;
}

Script "DictatorResurrection" (void)
{
DickTaterDialogueBrancher=0;
DickTaterDialogueBrancher=random(1,4);
if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/n/c[RED]Let a mighty vengeance fall upon you, my Prophet.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/n/c[RED]I shall undo your works.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/n/c[RED]And may their bones be remade flesh.");
}
if(DickTaterDialogueBrancher==4)
{
PrintBold(s:"/n/n/n/c[RED]I make your struggles worthless and futile,/n mortal.");
}
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",random(-5000,9000),random(-5000,9000),random(-1000,1000));
Spawn("VileShard",GetActorX(0),GetActorY(0),GetActorZ(0),0,0);
Spawn("VileShard",GetActorX(0),GetActorY(0),GetActorZ(0),0,0);
Spawn("VileShard",GetActorX(0),GetActorY(0),GetActorZ(0),0,0);
Spawn("VileShard",GetActorX(0),GetActorY(0),GetActorZ(0),0,0);
Spawn("VileShard",GetActorX(0),GetActorY(0),GetActorZ(0),0,0);
Spawn("VileShard",GetActorX(0),GetActorY(0),GetActorZ(0),0,0);
ACS_NamedExecute("DictatorEnd",0,0,0,0);
}

Script "DictatorAmmoTheivery" (void)
{
DickTaterDialogueBrancher=0;
DickTaterDialogueBrancher=random(1,4);
if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/n/c[RED]Blessed are those who give unto their masters.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/n/c[RED]Blessed are those who learn to survive off of less.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/n/c[RED]Blessed are the poor, for they shall inhereit great riches.");
}
if(DickTaterDialogueBrancher==4)
{
PrintBold(s:"/n/n/n/c[RED]Blessed are those who turn away from their blood-soaked earnings.");
}
AmmoTheftID=random(1,18);
if(AmmoTheftID==1)
{
TakeInventory("HDPistolMags",1);
}
if(AmmoTheftID==2)
{
TakeInventory("HDSMGMags",1);
}
if(AmmoTheftID==3)
{
TakeInventory("HDShellAmmo",random(4,8));
}
if(AmmoTheftID==4)
{
TakeInventory("ZM66RifleMags",1);
}
if(AmmoTheftID==5)
{
TakeInventory("HDFragGrenadeAmmo",random(1,3));
}
if(AmmoTheftID==6)
{
TakeInventory("HDRocketAmmo",3);
}
if(AmmoTheftID==7)
{
TakeInventory("HEATAmmo",1);
}
if(AmmoTheftID==8)
{
TakeInventory("HDCellPacks",1);
}
if(AmmoTheftID==9)
{
TakeInventory("BossClip",1);
}
if(AmmoTheftID==10)
{
TakeInventory("LiberatorMag",1);
}
if(AmmoTheftID==11)
{
TakeInventory("BrontornisRound",1);
}
if(AmmoTheftID==12)
{
TakeInventory("PortableStimpack",random(1,3));
}
if(AmmoTheftID==13)
{
TakeInventory("PortableMedikit",random(2,4));
}
if(AmmoTheftID==14)
{
TakeInventory("PortableBerserkPack",random(4,8));
}
if(AmmoTheftID==15)
{
TakeInventory("HDRadSuit",5);
TakeInventory("PortableRadSuit",1);
}
if(AmmoTheftID==16)
{
TakeInventory("PortableLightAmpPower",10000);
TakeInventory("PortableLiteAmp",1);
TakeInventory("PowerLightAmpP",2);
}
if(AmmoTheftID==17)
{
TakeInventory("MedDeployer",1);
}
if(AmmoTheftID==18)
{
TakeInventory("HDIEDKit",random(5,9));
}
ACS_NamedExecute("DictatorEnd",0,0,0,0);
}

Script "DictatorUnBlacksmith" (void)
{
int PlayerX = GetActorX(0);
int PlayerY = GetActorY(0);
int PlayerZ = GetActorZ(0);

DickTaterDialogueBrancher= random(1,4);
if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/n/c[RED]Blessed are the meek, for the earth shall be theirs.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/n/c[RED]I am the defender of all. With me, you shall need /n no shield.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/n/c[RED]Why do you hide behind your man-made defenses?");
}
if(DickTaterDialogueBrancher==4)
{
PrintBold(s:"/n/n/n/c[RED]Weakness, the way of your flesh.");
}
if(CheckInventory("GreenArmorFlag"))
{
TakeInventory("GreenArmour",1);
TakeInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlueArmourFlag"))
{
TakeInventory("BlueArmour",1);
TakeInventory("BlueArmourFlag",1);
GiveInventory("GreenArmour",1);
GiveInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlackArmourFlag"))
{
SetActorProperty(0,APROP_INVULNERABLE,1);
GiveInventory("HDFireStarter",1);
Delay(450);
TakeInventory("GreenArmorFlag",1);
TakeInventory("BlackArmour",1);
TakeInventory("BlackArmourFlag",1);
SetActorProperty(0,APROP_INVULNERABLE,0);
GiveInventory("BlueArmour",1);
GiveInventory("BlueArmourFlag",1);
}
}

Script "DictatorTangosInbound" (void)
{
int PlayerX = GetActorX(0);
int PlayerY = GetActorY(0);
int PlayerZ = GetActorZ(0);
DickTaterDialogueBrancher=random(1,6);
if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/c[RED]You have betrayed my trust, and so you /n will come face to face with my /n avenging angels, Prophet.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/n/c[RED]Only pain and destruction await you.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/c[RED]When you fall, another shall simply take your place./n This is the state of war.");
}
if(DickTaterDialogueBrancher==4)
{
PrintBold(s:"/n/n/n/c[RED]You will know true terror.");
}
if(DickTaterDialogueBrancher==5)
{
PrintBold(s:"/n/n/c[RED]Your own kind will be your downfall. Come,/n and embrace their hatred.");
}
if(DickTaterDialogueBrancher==6)
{
PrintBold(s:"/n/n/n/c[RED]There is only room for one destroyer...");
}
Spawn("DictatorTangoSquadSpawner",PlayerX+random(20,60),PlayerY+random(20,60),PlayerZ,0,0);
}

Script "DictatorMouthsOfHunger" (void)
{
int PlayerX = GetActorX(0)  + random(-64.0, 64.0);;
int PlayerY = GetActorY(0)  + random(-64.0, 64.0);;
int PlayerZ = GetActorZ(0);
DickTaterDialogueBrancher=random(1,4);
if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/c[RED]And I was hungry. Did you not feed me? /nAmen, as you do unto them, shall /n I will do unto you.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/n/c[RED]I grow weary. Sustain me with your sacrifice, lamb.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/c[RED]Your damnation is one of pestilence and famine.");
}
if(DickTaterDialogueBrancher==4)
{
PrintBold(s:"/n/n/n/c[RED]They crave flesh. Your flesh, mortal.");
}
Spawn("DictatorHungerSpawner",PlayerX,PlayerY,PlayerZ,0,0);
}

Script "DictatorLavaFloor" (void)
{
PlaySound(0,"boss/sight",CHAN_AUTO,1.0,false,ATTN_NONE);
Delay(400);
Sector_SetDamage(0,20,14);
ChangeFloor(0,"LAVA1");
ChangeCeiling(0,"LAVA1");
ChangeSky("RSKY3","RSKY3");
Delay(1500);
Sector_SetDamage(0,0,0);
ChangeFloor(0,"RW44_2");
ChangeCeiling(0,"RW44_2");
ACS_NamedExecute("DictatorEnd",0,0,0,0);
}

Script "DictatorCubeSpawns" (void)
{
int PlayerX = GetActorX(0)  + random(-64.0, 64.0);;
int PlayerY = GetActorY(0)  + random(-64.0, 64.0);;
int PlayerZ = GetActorZ(0);
PrintBold(s:"/n/n/n/n/c[RED]Bear witness to the legions.");
Delay(90);
PlaySound(0,"boss/sight",CHAN_AUTO,1.0,false,ATTN_NONE);
Delay(400);
Spawn("DictatorCubeTennisSpawner",PlayerX,PlayerY,PlayerZ,0,0);
}

Script "DictatorStaringContest" (void)
{
int PlayerX = GetActorX(0)  + random(-64.0, 64.0);
int PlayerY = GetActorY(0)  + random(-64.0, 64.0);
int PlayerZ = GetActorZ(0);
DickTaterDialogueBrancher=random(1,3);
if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/n/c[RED]Look into the eyes of your destruction.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/n/c[RED]Behold the source of that which you seek to destroy./n Admit the futility of it all.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/c[RED]Gaze deeply into the eye of hell, and /n see your fate.");
}
Spawn("EyeoftheDictator",PlayerX,PlayerY,PlayerZ,0,0);
Delay(900);
ACS_NamedExecute("DictatorEnd",0,0,0,0);
}

Script "DictatorsWrath" (void)
{
DickTaterDialogueBrancher=random(1,5);
if(DickTaterDialogueBrancher==1)
{
PrintBold(s:"/n/n/n/c[RED]You tire me, mortal. I am weary of you./n Let death approach.");
}
if(DickTaterDialogueBrancher==2)
{
PrintBold(s:"/n/n/c[RED]Cursed are the strong and the hearty, /n for they shall be cut off at the knees.");
}
if(DickTaterDialogueBrancher==3)
{
PrintBold(s:"/n/n/n/c[RED]Water the tree of life with your agony.");
}
if(DickTaterDialogueBrancher==4)
{
PrintBold(s:"/n/n/n/c[RED]The time of your judgement has come. You are unworthy.");
}
if(DickTaterDialogueBrancher==5)
{
PrintBold(s:"/n/n/n/c[RED]Behold as I level the playing field...");
}
SetPlayerProperty(0,1,PROP_TOTALLYFROZEN);
Delay(200);
GiveInventory("PowerFlight",1);
ThrustThingZ(0,40,1,1);
TakeInventory("PowerInvulnerable",1);
SetPlayerProperty(0,1,PROP_BUDDHA);
SetPlayerProperty(0,1,PROP_NOTARGET);
PrintBold(s:"/n/n/c[RED]Blessed are the weak, for the kingdom will be theirs.");
if(CheckInventory("GreenArmorFlag"))
{
TakeInventory("GreenArmour",1);
TakeInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlueArmourFlag"))
{
TakeInventory("BlueArmour",1);
TakeInventory("BlueArmourFlag",1);
GiveInventory("GreenArmour",1);
GiveInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlackArmourFlag"))
{
SetActorProperty(0,APROP_INVULNERABLE,1);
GiveInventory("HDFireStarter",1);
Delay(450);
TakeInventory("GreenArmorFlag",1);
TakeInventory("BlackArmour",1);
TakeInventory("BlackArmourFlag",1);
SetActorProperty(0,APROP_INVULNERABLE,0);
GiveInventory("BlueArmour",1);
GiveInventory("BlueArmourFlag",1);
Delay(180);
}
if(CheckInventory("GreenArmorFlag"))
{
TakeInventory("GreenArmour",1);
TakeInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlueArmourFlag"))
{
TakeInventory("BlueArmour",1);
TakeInventory("BlueArmourFlag",1);
GiveInventory("GreenArmour",1);
GiveInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlackArmourFlag"))
{
SetActorProperty(0,APROP_INVULNERABLE,1);
GiveInventory("HDFireStarter",1);
Delay(450);
TakeInventory("GreenArmorFlag",1);
TakeInventory("BlackArmour",1);
TakeInventory("BlackArmourFlag",1);
SetActorProperty(0,APROP_INVULNERABLE,0);
GiveInventory("BlueArmour",1);
GiveInventory("BlueArmourFlag",1);
Delay(180);
}
if(CheckInventory("GreenArmorFlag"))
{
TakeInventory("GreenArmour",1);
TakeInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlueArmourFlag"))
{
TakeInventory("BlueArmour",1);
TakeInventory("BlueArmourFlag",1);
GiveInventory("GreenArmour",1);
GiveInventory("GreenArmourFlag",1);
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
Spawn("WallChunk",GetActorX(0),GetActorY(0),GetActorZ(0),0,random(1,359));
}
if(CheckInventory("BlackArmourFlag"))
{
SetActorProperty(0,APROP_INVULNERABLE,1);
GiveInventory("HDFireStarter",1);
Delay(450);
TakeInventory("GreenArmorFlag",1);
TakeInventory("BlackArmour",1);
TakeInventory("BlackArmourFlag",1);
SetActorProperty(0,APROP_INVULNERABLE,0);
GiveInventory("BlueArmour",1);
GiveInventory("BlueArmourFlag",1);
Delay(180);
}
PrintBold(s:"/n/n/n/c[RED]Blessed are those who go hungry...");
SetWeapon("Ring");
WrathWeaponLoss=random(1,14);
if(WrathWeaponLoss==1)
{
TakeInventory("HDPistol",1);
}
if(WrathWeaponLoss==2)
{
TakeInventory("HDSMG",1);
}
if(WrathWeaponLoss==3)
{
TakeInventory("Hunter",1);
}
if(WrathWeaponLoss==4)
{
TakeInventory("Slayer",1);
}
if(WrathWeaponLoss==5)
{
TakeInventory("Vulcanette",1);
}
if(WrathWeaponLoss==6)
{
TakeInventory("ZM66Rifle",1);
TakeInventory("ZM66GrenadeRifle",1);
TakeInventory("ZM66SemiRifle",1);
TakeInventory("HDRocketAmmo",5);
}
if(WrathWeaponLoss==7)
{
TakeInventory("RocquetteLauncher",1);
TakeInventory("HEATAmmo",999);
}
if(WrathWeaponLoss==8)
{
TakeInventory("HDFragGrenadeAmmo",900);
}
if(WrathWeaponLoss==9)
{
TakeInventory("LiberatorRifle",1);
TakeInventory("LiberatorGrenadeRifle",1);
TakeInventory("HDRocketAmmo",5);
}
if(WrathWeaponLoss==10)
{
TakeInventory("Brontornis",1);
}
if(WrathWeaponLoss==11)
{
TakeInventory("BossRifle",1);
}
if(WrathWeaponLoss==12)
{
TakeInventory("Thunderbuster",1);
}
if(WrathWeaponLoss==13)
{
TakeInventory("BFG9K",1);
}
if(WrathWeaponLoss==14)
{
TakeInventory("Lumberjack",1);
}
if(WrathWeaponLoss==1)
{
TakeInventory("HDPistolMags",9999);
TakeInventory("HDPistolAmmo",100);
}
if(WrathWeaponLoss==2)
{
TakeInventory("HDPistolMags",9999);
TakeInventory("HDPistolAmmo",100);
TakeInventory("HDSMGMags",100);
}
if(WrathWeaponLoss==3)
{
TakeInventory("HDShellAmmo",500);
}
if(WrathWeaponLoss==4)
{
TakeInventory("HDShellAmmo",500);
}
if(WrathWeaponLoss==5)
{
TakeInventory("ChaingunBox",500);
TakeInventory("ZM66RifleMags",199);
}
if(WrathWeaponLoss==6)
{
TakeInventory("ZM66RifleMags",199);
}
if(WrathWeaponLoss==7)
{
TakeInventory("HDRocketAmmo",100);
}
if(WrathWeaponLoss==9)
{
TakeInventory("BossMag",10);
TakeInventory("BossClip",999);
TakeInventory("LiberatorMag",999);
TakeInventory("LiberatorSpareRounds",999);
TakeInventory("IsCarryingLibRifle",10);
}
if(WrathWeaponLoss==10)
{
TakeInventory("BrontornisRound",100);
}
if(WrathWeaponLoss==11)
{
TakeInventory("BossMag",10);
TakeInventory("BossClip",999);
TakeInventory("LiberatorMag",999);
TakeInventory("LiberatorSpareRounds",999);
}
if(WrathWeaponLoss==12)
{
TakeInventory("HDCellPacks",100);
}
if(WrathWeaponLoss==13)
{
TakeInventory("HDCellPacks",100);
}
if(WrathWeaponLoss==14)
{
TakeInventory("HDCellPacks",100);
}
Delay(250);
PrintBold(s:"/n/n/n/c[RED]For they shall be fed.");
ACS_NamedExecute("PurgeWeapons",0,0,0,0);
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableMedikit");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableStimpack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"PortableBerserkPack");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"BluePotion");
DropInventory(0,"MedDeployer");
DropInventory(0,"MedDeployer");
DropInventory(0,"PortableLiteAmp");
DropInventory(0,"PortableRadSuit");
DropInventory(0,"SquadSummoner");
DropInventory(0,"SquadSummoner");
DropInventory(0,"SquadSummoner");
DropInventory(0,"SquadSummoner");
DropInventory(0,"SquadSummoner");
DropInventory(0,"SquadSummoner");
Delay(300);
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==0)
{
PlaySound(0,"player/male/pain100_1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==1)
{
PlaySound(0,"player/female/pain100_1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
SetActorProperty(0,APROP_INVULNERABLE,0);
SetPlayerProperty(0,1,PROP_BUDDHA);
PrintBold(s:"/n/n/n/c[RED]Blessed are those who are chastised and /n persecuted in my name..");
GiveInventory("HDFireStarter",2);
Delay(500);
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==0)
{
PlaySound(0,"player/male/pain100_1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==1)
{
PlaySound(0,"player/female/pain100_1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
GiveInventory("HDFireStarter",4);
Delay(600);
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==0)
{
PlaySound(0,"player/male/death1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==1)
{
PlaySound(0,"player/female/death1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
Delay(300);
FadeTo(255,0,0,0.8,2);
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==0)
{
PlaySound(0,"player/male/xdeath1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
if(GetPlayerInfo(PlayerNumber(),PLAYERINFO_GENDER)==1)
{
PlaySound(0,"player/female/xdeath1",CHAN_VOICE,1.0,false,ATTN_NORM);
}
SetActorProperty(0,APROP_HEALTH,1);
PlaySound(0,"misc/firecrckl",CHAN_AUTO,1.0,false,ATTN_NORM);
GiveInventory("HDFireStarter",10);
Spawn("BloodyHellFire",GetActorX(0),GetActorY(0),GetActorZ(0),0,0);
SetPlayerProperty(0,0,PROP_FLY);
TakeInventory("WoundCount",999);
GiveInventory("Health",10);
SetPlayerProperty(0,0,PROP_BUDDHA);
SetActorProperty(0,APROP_INVULNERABLE,0);
ACS_NamedExecute("DictatorEnd",0,0,0,0);
}

Script "DictatorWeaknessReveal" (void)
{
PrintBold(s:"/n/n/n/c[RED]Cursed are the haughty and the arrogant, for they shall be smitten.");
ACS_NamedExecute("DictatorWrath",0,0,0,0);
}

Script "DictatorEnd" (void)
{
Light_ChangeToValue(0,150);
Sector_SetColor(0,0,0,0,0);
FadeTo(0,0,0,0,2);
}