ACTOR SFortExplosiveBarrel : ExplosiveBarrel replaces ExplosiveBarrel
{
  DeathSound "world/barrelx"
  Obituary "%o went boom with a barrel blown up by %k."
  States
  {
  Spawn:
    BAR1 AB 6
    Loop
  Death:
    BEXP B 5 Bright
	TNT1 A 0 A_Scream
    BEXP C 5 Bright A_Explode
    BEXP D 5 Bright
    BEXP E 10 Bright
    TNT1 A 1050 Bright A_BarrelDestroy
    TNT1 A 5 A_Respawn
    Wait
  }
}

ACTOR SFortBulletPuff : BulletPuff
{
  +PUFFGETSOWNER
  +PUFFONACTORS
  +CLIENTSIDEONLY
  AttackSound "misc/ricochet"
  Seesound "misc/bullethit"
  DamageType "Bullet"
  States
  {
  Spawn:
  See:
  Crash:
    PUFF A 4 Bright
    PUFF B 4
  Melee:
    PUFF CD 4
    Stop
  XDeath:
	TNT1 A 1
	Stop
  }
}

ACTOR SFortBaseRadio : SwitchableDecoration 13370
{
	Health 90
	Radius 10
	Height 10
	Mass 1000000000
	Activation THINGSPEC_Switch|THINGSPEC_ThingTargets
	DeathSound "weapons/rocklx"
	Tag "Base Radio"
	//$Category "Skulltag Fortress"
	+SOLID
	+SHOOTABLE
	+NOBLOOD
	+USESPECIAL
	States
	{
	Spawn:
	  RADI A 0
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",22,"Mus22",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",21,"Mus21",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",20,"Mus20",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",19,"Mus19",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",18,"Mus18",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",17,"Mus17",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",16,"Mus16",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",15,"Mus15",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",14,"Mus14",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",13,"Mus13",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",12,"Mus12",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",11,"Mus11",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",10,"Mus10",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",9,"Mus9",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",8,"Mus8",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",7,"Mus7",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",6,"Mus6",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",5,"Mus5",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",4,"Mus4",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",3,"Mus3",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",2,"Mus2",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",1,"Mus1",AAPTR_DEFAULT)
	  RADI A 1 A_Jump(256,"Mus1S","Mus2S","Mus3S","Mus4S","Mus5S","Mus6S","Mus7S","Mus8S","Mus9S","Mus10S","Mus11S","Mus12S","Mus13S","Mus14S","Mus15S","Mus16S","Mus17S","Mus18S","Mus19S","Mus20S","Mus21S","Mus22S")
	Mus1S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",1,AAPTR_DEFAULT)
	Mus1:
	  RADI A 0 A_Print("Now playing: Jazz & Radix - Ink Ribbon",3)
	  RADI A -1 A_Playsound("redmus1",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus2S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",2,AAPTR_DEFAULT)
	Mus2:
	  RADI A 0 A_Print("Now playing: Radix - Sarsippius' Ark",3)
	  RADI A -1 A_Playsound("bluemus1",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus3S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",3,AAPTR_DEFAULT)
	Mus3:
	  RADI A 0 A_Print("Now playing: Dune - BBS-Imawicttn",3)
	  RADI A -1 A_Playsound("redmus2",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus4S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",4,AAPTR_DEFAULT)
	Mus4:
	  RADI A 0 A_Print("Now playing: Basehead - Cloud Nine",3)
	  RADI A -1 A_Playsound("bluemus2",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus5S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",5,AAPTR_DEFAULT)
	Mus5:
	  RADI A 0 A_Print("Now playing: Dizzy - Citronative",3)
	  RADI A -1 A_Playsound("redmus3",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus6S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",6,AAPTR_DEFAULT)
	Mus6:
	  RADI A 0 A_Print("Now playing: Dizzy - Pathway",3)
	  RADI A -1 A_Playsound("bluemus3",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus7S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",7,AAPTR_DEFAULT)
	Mus7:
	  RADI A 0 A_Print("Now playing: Per Almered - AD#2 For Musique",3)
	  RADI A -1 A_Playsound("redmus4",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus8S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",8,AAPTR_DEFAULT)
	Mus8:
	  RADI A 0 A_Print("Now playing: Muffler - Alkoholikal Absolut",3)
	  RADI A -1 A_Playsound("bluemus4",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus9S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",9,AAPTR_DEFAULT)
	Mus9:
	  RADI A 0 A_Print("Now playing: Radix - Groovin' Moomin",3)
	  RADI A -1 A_Playsound("bluemus5",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus10S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",10,AAPTR_DEFAULT)
	Mus10:
	  RADI A 0 A_Print("Now playing: Arto & Muffler - Banaanibuu",3)
	  RADI A -1 A_Playsound("bluemus6",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus11S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",11,AAPTR_DEFAULT)
	Mus11:
	  RADI A 0 A_Print("Now playing: Muffler - Tulppa",3)
	  RADI A -1 A_Playsound("bluemus7",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus12S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",12,AAPTR_DEFAULT)
	Mus12:
	  RADI A 0 A_Print("Now playing: Revisq & Muffler - Apus Melba",3)
	  RADI A -1 A_Playsound("bluemus8",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus13S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",13,AAPTR_DEFAULT)
	Mus13:
	  RADI A 0 A_Print("Now playing: Muffler - Bandura",3)
	  RADI A -1 A_Playsound("redmus5",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus14S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",14,AAPTR_DEFAULT)
	Mus14:
	  RADI A 0 A_Print("Now playing: Norfair - Deadly Groove",3)
	  RADI A -1 A_Playsound("redmus6",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus15S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",15,AAPTR_DEFAULT)
	Mus15:
	  RADI A 0 A_Print("Now playing: cTrix - Lemon Funk",3)
	  RADI A -1 A_Playsound("redmus7",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus16S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",16,AAPTR_DEFAULT)
	Mus16:
	  RADI A 0 A_Print("Now playing: Virgill - Entity",3)
	  RADI A -1 A_Playsound("redmus8",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus17S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",17,AAPTR_DEFAULT)
	Mus17:
	  RADI A 0 A_Print("Now playing: Virgill & Poldi - Hard Sun",3)
	  RADI A -1 A_Playsound("bluemus9",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus18S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",18,AAPTR_DEFAULT)
	Mus18:
	  RADI A 0 A_Print("Now playing: Radix - Images",3)
	  RADI A -1 A_Playsound("redmus9",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus19S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",19,AAPTR_DEFAULT)
	Mus19:
	  RADI A 0 A_Print("Now playing: Muffler - Jokuvitunpiisi",3)
	  RADI A -1 A_Playsound("redmus10",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus20S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",20,AAPTR_DEFAULT)
	Mus20:
	  RADI A 0 A_Print("Now playing: Dizzy - Take 5",3)
	  RADI A -1 A_Playsound("bluemus10",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus21S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",21,AAPTR_DEFAULT)
	Mus21:
	  RADI A 0 A_Print("Now playing: Nitro - Tiny Moves Big",3)
	  RADI A -1 A_Playsound("redmus11",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus22S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",22,AAPTR_DEFAULT)
	Mus22:
	  RADI A 0 A_Print("Now playing: Radix - Icing Invitation",3)
	  RADI A -1 A_Playsound("bluemus11",CHAN_VOICE,1,1,1.0)
	  Stop
	Active:
	InActive:
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",22,"Reset",AAPTR_DEFAULT)
	  RADI A 0 A_GiveInventory("SFortRadioItem",1,AAPTR_DEFAULT)
	  RADI A 0 A_Print("Changing track...",3)
	  RADI A 35 A_Playsound("misc/muschange",CHAN_VOICE)
	  Goto Spawn
	Reset:
	  RADI A 0 A_TakeInventory("SFortRadioItem",22,0,AAPTR_DEFAULT)
	  RADI A 0 A_Playsound("misc/muschange",CHAN_VOICE)
	  RADI A 0 A_Print("Radio off",3)
	  RADI A -1
	  Stop
	Death:
	  RADI A 0 A_Playsound("misc/muschange",CHAN_BODY)
	  TNT1 A 0 A_Playsound("weapons/debris",CHAN_AUTO)
	  TNT1 A 0 A_ChangeFlag(USESPECIAL,0)
	  RADI A 0 A_NoBlocking
	  XPL1 A 3 Bright A_Scream
	  XPL1 BCDEF 3 bright
	  TNT1 A 332
	  TNT1 A 0 A_Playsound("misc/spawn",CHAN_BODY)
	  TNT1 A 0 A_SpawnItemEx("ItemFog")
	  TNT1 A 1 A_SpawnItemEx("SFortBaseRadio")
	  Stop
	}
}

ACTOR SFortBlueRadio : SwitchableDecoration 13371
{
	Health 90
	Radius 10
	Height 10
	Mass 1000000000
	Activation THINGSPEC_Switch|THINGSPEC_ThingTargets
	DeathSound "weapons/rocklx"
	Tag "Blue Music Radio"
	//$Category "Skulltag Fortress"
	+SOLID
	+SHOOTABLE
	+NOBLOOD
	+USESPECIAL
	States
	{
	Spawn:
	  RADI A 0
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",16,"Mus16",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",15,"Mus15",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",14,"Mus14",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",13,"Mus13",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",12,"Mus12",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",11,"Mus11",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",10,"Mus10",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",9,"Mus9",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",8,"Mus8",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",7,"Mus7",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",6,"Mus6",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",5,"Mus5",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",4,"Mus4",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",3,"Mus3",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",2,"Mus2",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",1,"Mus1",AAPTR_DEFAULT)
	  RADI A 1 A_Jump(256,"Mus1S","Mus2S","Mus3S","Mus4S","Mus5S","Mus6S","Mus7S","Mus8S","Mus9S","Mus10S","Mus11S","Mus12S","Mus13S","Mus14S","Mus15S","Mus16S")
	Mus1S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",1,AAPTR_DEFAULT)
	Mus1:
	  RADI A 0 A_Print("Now playing: Radix - Sarsippius' Ark",3)
	  RADI A -1 A_Playsound("bluemus1",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus2S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",2,AAPTR_DEFAULT)
	Mus2:
	  RADI A 0 A_Print("Now playing: Basehead - Cloud Nine",3)
	  RADI A -1 A_Playsound("bluemus2",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus3S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",3,AAPTR_DEFAULT)
	Mus3:
	  RADI A 0 A_Print("Now playing: Dizzy - Pathway",3)
	  RADI A -1 A_Playsound("bluemus3",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus4S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",4,AAPTR_DEFAULT)
	Mus4:
	  RADI A 0 A_Print("Now playing: Muffler - Alkoholikal absolut",3)
	  RADI A -1 A_Playsound("bluemus4",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus5S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",5,AAPTR_DEFAULT)
	Mus5:
	  RADI A 0 A_Print("Now playing: Radix - Groovin' Moomin",3)
	  RADI A -1 A_Playsound("bluemus5",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus6S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",6,AAPTR_DEFAULT)
	Mus6:
	  RADI A 0 A_Print("Now playing: Arto & Muffler - Banaanibuu",3)
	  RADI A -1 A_Playsound("bluemus6",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus7S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",7,AAPTR_DEFAULT)
	Mus7:
	  RADI A 0 A_Print("Now playing: Muffler - Tulppa",3)
	  RADI A -1 A_Playsound("bluemus7",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus8S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",8,AAPTR_DEFAULT)
	Mus8:
	  RADI A 0 A_Print("Now playing: Revisq & Muffler - Apus Melba",3)
	  RADI A -1 A_Playsound("bluemus8",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus9S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",9,AAPTR_DEFAULT)
	Mus9:
	  RADI A 0 A_Print("Now playing: Virgill & Poldi - Hard Sun",3)
	  RADI A -1 A_Playsound("bluemus9",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus10S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",10,AAPTR_DEFAULT)
	Mus10:
	  RADI A 0 A_Print("Now playing: Dizzy - Take 5",3)
	  RADI A -1 A_Playsound("bluemus10",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus11S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",11,AAPTR_DEFAULT)
	Mus11:
	  RADI A 0 A_Print("Now playing: Radix - Icing Invitation",3)
	  RADI A -1 A_Playsound("bluemus11",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus12S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",12,AAPTR_DEFAULT)
	Mus12:
	  RADI A 0 A_Print("Now playing: Virgill - Save My Dick",3)
	  RADI A -1 A_Playsound("bluemus12",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus13S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",13,AAPTR_DEFAULT)
	Mus13:
	  RADI A 0 A_Print("Now playing: Bay Tremore - Basement",3)
	  RADI A -1 A_Playsound("bluemus13",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus14S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",14,AAPTR_DEFAULT)
	Mus14:
	  RADI A 0 A_Print("Now playing: Teis - Final Hit",3)
	  RADI A -1 A_Playsound("bluemus14",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus15S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",15,AAPTR_DEFAULT)
	Mus15:
	  RADI A 0 A_Print("Now playing: Radix - Dandruff Groove",3)
	  RADI A -1 A_Playsound("bluemus15",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus16S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",16,AAPTR_DEFAULT)
	Mus16:
	  RADI A 0 A_Print("Now playing: Nagz - Knave",3)
	  RADI A -1 A_Playsound("bluemus16",CHAN_VOICE,1,1,1.0)
	  Stop
	Active:
	InActive:
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",16,"Reset",AAPTR_DEFAULT)
	  RADI A 0 A_GiveInventory("SFortRadioItem",1,AAPTR_DEFAULT)
	  RADI A 0 A_Print("Changing track...",3)
	  RADI A 35 A_Playsound("misc/muschange",CHAN_VOICE)
	  Goto Spawn
	Reset:
	  RADI A 0 A_TakeInventory("SFortRadioItem",16,0,AAPTR_DEFAULT)
	  RADI A 0 A_Playsound("misc/muschange",CHAN_VOICE)
	  RADI A 0 A_Print("Radio off",3)
	  RADI A -1
	  Stop
	Death:
	  RADI A 0 A_Playsound("misc/muschange",CHAN_BODY)
	  TNT1 A 0 A_Playsound("weapons/debris",CHAN_AUTO)
	  TNT1 A 0 A_ChangeFlag(USESPECIAL,0)
	  RADI A 0 A_NoBlocking
	  XPL1 A 3 Bright A_Scream
	  XPL1 BCDEF 3 bright
	  TNT1 A 332
	  TNT1 A 0 A_Playsound("misc/spawn",CHAN_BODY)
	  TNT1 A 0 A_SpawnItemEx("ItemFog")
	  TNT1 A 1 A_SpawnItemEx("SFortBlueRadio")
	  Stop
	}
}

ACTOR SFortRedRadio : SwitchableDecoration 13372
{
	Health 90
	Radius 10
	Height 10
	Mass 1000000000
	Activation THINGSPEC_Switch|THINGSPEC_ThingTargets
	DeathSound "weapons/rocklx"
	Tag "Red Music Radio"
	//$Category "Skulltag Fortress"
	+SOLID
	+SHOOTABLE
	+NOBLOOD
	+USESPECIAL
	States
	{
	Spawn:
	  RADI A 0
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",16,"Mus16",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",15,"Mus15",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",14,"Mus14",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",13,"Mus13",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",12,"Mus12",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",11,"Mus11",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",10,"Mus10",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",9,"Mus9",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",8,"Mus8",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",7,"Mus7",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",6,"Mus6",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",5,"Mus5",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",4,"Mus4",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",3,"Mus3",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",2,"Mus2",AAPTR_DEFAULT)
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",1,"Mus1",AAPTR_DEFAULT)
	  RADI A 1 A_Jump(256,"Mus1S","Mus2S","Mus3S","Mus4S","Mus5S","Mus6S","Mus7S","Mus8S","Mus9S","Mus10S","Mus11S","Mus12S","Mus13S","Mus14S","Mus15S","Mus16S")
	Mus1S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",1,AAPTR_DEFAULT)
	Mus1:
	  RADI A 0 A_Print("Now playing: Jazz & Radix - Ink Ribbon",3)
	  RADI A -1 A_Playsound("redmus1",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus2S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",2,AAPTR_DEFAULT)
	Mus2:
	  RADI A 0 A_Print("Now playing: Dune - BBS-Imawicttn",3)
	  RADI A -1 A_Playsound("redmus2",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus3S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",3,AAPTR_DEFAULT)
	Mus3:
	  RADI A 0 A_Print("Now playing: Dizzy - Citronative",3)
	  RADI A -1 A_Playsound("redmus3",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus4S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",4,AAPTR_DEFAULT)
	Mus4:
	  RADI A 0 A_Print("Now playing: Per Almered - AD#2 For Musique",3)
	  RADI A -1 A_Playsound("redmus4",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus5S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",5,AAPTR_DEFAULT)
	Mus5:
	  RADI A 0 A_Print("Now playing: Muffler - Bandura",3)
	  RADI A -1 A_Playsound("redmus5",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus6S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",6,AAPTR_DEFAULT)
	Mus6:
	  RADI A 0 A_Print("Now playing: Norfair - Deadly Groove",3)
	  RADI A -1 A_Playsound("redmus6",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus7S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",7,AAPTR_DEFAULT)
	Mus7:
	  RADI A 0 A_Print("Now playing: cTrix - Lemon Funk",3)
	  RADI A -1 A_Playsound("redmus7",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus8S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",8,AAPTR_DEFAULT)
	Mus8:
	  RADI A 0 A_Print("Now playing: Virgill - Entity",3)
	  RADI A -1 A_Playsound("redmus8",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus9S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",9,AAPTR_DEFAULT)
	Mus9:
	  RADI A 0 A_Print("Now playing: Radix - Images",3)
	  RADI A -1 A_Playsound("redmus9",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus10S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",10,AAPTR_DEFAULT)
	Mus10:
	  RADI A 0 A_Print("Now playing: Muffler - Jokuvitunpiisi",3)
	  RADI A -1 A_Playsound("redmus10",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus11S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",11,AAPTR_DEFAULT)
	Mus11:
	  RADI A 0 A_Print("Now playing: Nitro - Tiny Moves Big",3)
	  RADI A -1 A_Playsound("redmus11",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus12S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",12,AAPTR_DEFAULT)
	Mus12:
	  RADI A 0 A_Print("Now playing: Dizzy - SKCartoon",3)
	  RADI A -1 A_Playsound("redmus12",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus13S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",13,AAPTR_DEFAULT)
	Mus13:
	  RADI A 0 A_Print("Now playing: Muffler - Vis Errys",3)
	  RADI A -1 A_Playsound("redmus13",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus14S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",14,AAPTR_DEFAULT)
	Mus14:
	  RADI A 0 A_Print("Now playing: Nagz - Do You Like Intros?",3)
	  RADI A -1 A_Playsound("redmus14",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus15S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",15,AAPTR_DEFAULT)
	Mus15:
	  RADI A 0 A_Print("Now playing: Zalza - Groovie!",3)
	  RADI A -1 A_Playsound("redmus15",CHAN_VOICE,1,1,1.0)
	  Stop
	Mus16S:
	  RADI A 0 A_GiveInventory("SFortRadioItem",16,AAPTR_DEFAULT)
	Mus16:
	  RADI A 0 A_Print("Now playing: Bay Tremore - Beats 2",3)
	  RADI A -1 A_Playsound("redmus16",CHAN_VOICE,1,1,1.0)
	  Stop
	Active:
	InActive:
	  RADI A 0 A_JumpIfInventory("SFortRadioItem",16,"Reset",AAPTR_DEFAULT)
	  RADI A 0 A_GiveInventory("SFortRadioItem",1,AAPTR_DEFAULT)
	  RADI A 0 A_Print("Changing track...",3)
	  RADI A 35 A_Playsound("misc/muschange",CHAN_VOICE)
	  Goto Spawn
	Reset:
	  RADI A 0 A_TakeInventory("SFortRadioItem",16,0,AAPTR_DEFAULT)
	  RADI A 0 A_Playsound("misc/muschange",CHAN_VOICE)
	  RADI A 0 A_Print("Radio off",3)
	  RADI A -1
	  Stop
	Death:
	  RADI A 0 A_Playsound("misc/muschange",CHAN_BODY)
	  TNT1 A 0 A_Playsound("weapons/debris",CHAN_AUTO)
	  TNT1 A 0 A_ChangeFlag(USESPECIAL,0)
	  RADI A 0 A_NoBlocking
	  XPL1 A 3 Bright A_Scream
	  XPL1 BCDEF 3 bright
	  TNT1 A 332
	  TNT1 A 0 A_Playsound("misc/spawn",CHAN_BODY)
	  TNT1 A 0 A_SpawnItemEx("ItemFog")
	  TNT1 A 1 A_SpawnItemEx("SFortRedRadio")
	  Stop
	}
}
	

ACTOR SFortRadioItem : Inventory
{
	Inventory.MaxAmount 16
}

ACTOR SFortFanPadSound
{
	Radius 1
	Height 1
	ActiveSound "misc/fanpad"
	//DeathSound "misc/fanpad"
	-SOLID
	+NOGRAVITY
	States
	{
	Spawn:
	  TNT1 A 0
	  TNT1 A 1 A_ActiveSound
	  Stop
	}
}

ACTOR NoClassInfoToken : Inventory {}