ACTOR Chandelier1Switchable : SwitchableDecoration 19605
{
	//$Category Light Sources (Wolf3D)
	//$Title Chandelier (1, switchable)
	//$Color 11
	Radius 10
	Height 65 //same of sprite height
	Activation THINGSPEC_Switch
	+NOGRAVITY
	+SPAWNCEILING
	+SOLID
	States
	{
	Spawn:
		CHAN D -1
		Stop
	Active:
		CHAN A 4 A_PlaySound("DSCHAFIR", CHAN_BODY, 1.0, 1)
		CHAN BC 4
		Loop
	Inactive:
		CHAN D -1 A_StopSound(CHAN_BODY)
		Stop
	}
}

ACTOR Chandelier2Switchable : Chandelier1Switchable 19603
{
	//$Category Light Sources (Wolf3D)
	//$Title Chandelier (2, switchable)
	//$Color 11
	States
	{
	Spawn:
		CHAN H -1
		Stop
	Active:
		CHAN E 4 A_PlaySound("DSCHAFIR", CHAN_BODY, 1.0, 1)
		CHAN FG 4
		Loop
	Inactive:
		CHAN H -1 A_StopSound(CHAN_BODY)
		Stop
	}
}

ACTOR Chandelier3Switchable : Chandelier1Switchable 19602
{
	//$Category Light Sources (Wolf3D)
	//$Title Chandelier (3, switchable)
	//$Color 11
	States
	{
	Spawn:
		CHAN M -1
		Stop
	Active:
		CHAN I 4 A_PlaySound("DSCHAFIR", CHAN_BODY, 1.0, 1)
		CHAN JL 4
		Loop
	Inactive:
		CHAN M -1 A_StopSound(CHAN_BODY)
		Stop
	}
}

ACTOR Chandelier4Switchable : Chandelier1Switchable 19601
{
	//$Category Light Sources (Wolf3D)
	//$Title Chandelier (4, switchable)
	//$Color 11
	States
	{
	Spawn:
		CHAN Q -1
		Stop
	Active:
		CHAN N 4 A_PlaySound("DSCHAFIR", CHAN_BODY, 1.0, 1)
		CHAN OP 4
		Loop
	Inactive:
		CHAN Q -1 A_StopSound(CHAN_BODY)
		Stop
	}
}

ACTOR CeilingLightM : SwitchableDecoration 19030
{
	//$Category Light Sources (Wolf3D)
	//$Title Ceiling Light (middle, switchable)
	//$Color 11
	Radius 16
	Height 23
	+SOLID
	+SPAWNCEILING
	+NOGRAVITY
	+NOTAUTOAIMED
	States
	{
	Spawn:
		CLIT A -1
		Stop
	Active:
		TNT1 A 0 A_PlaySound(SMSWITCH)
		CLIT A 1 Bright Light(BOACEIL2)
		Wait
	Inactive:
		CLIT A -1 A_PlaySound(SMSWITCH)
		Stop
	Script1:
		CLIT A -1 A_ChangeFlag("USESPECIAL",0)
		Stop
	Script2:
		CLIT A -1 Bright Light(BOACEIL2) A_ChangeFlag("USESPECIAL",0)
		Stop
	}
}

ACTOR CeilingLightM2 : CeilingLightM 19008
{
	//$Category Light Sources (Wolf3D)
	//$Title Ceiling Light (small, switchable)
	//$Color 11
	Radius 8
	Height 10
	-SOLID
	States
	{
	Spawn:
		CLIT B -1
		Stop
	Active:
		TNT1 A 0 A_PlaySound(SMSWITCH)
		CLIT B 1 Bright Light(BOACEIL1)
		Wait
	Inactive:
		CLIT B -1 A_PlaySound(SMSWITCH)
		Stop
	Script1:
		CLIT B -1 A_ChangeFlag("USESPECIAL",0)
		Stop
	Script2:
		CLIT B -1 Bright Light(BOACEIL1) A_ChangeFlag("USESPECIAL",0)
		Stop
	}
}

ACTOR TableLightM : SwitchableDecoration 19009
{
	//$Category Light Sources (Wolf3D)
	//$Title Table Light (middle)
	//$Color 11
	Radius 4
	Height 32
	+SOLID
	+USESPECIAL
	+NOTAUTOAIMED
	Activation THINGSPEC_Switch
	States
	{
	Spawn:
		TLIT A -1
		Stop
	Active:
		TNT1 A 0 A_PlaySound(SMSWITCH)
		TLIT A 1 Bright Light(BOATABL1)
		Wait
	Inactive:
		TLIT A -1 A_PlaySound(SMSWITCH)
		Stop
	}
}

ACTOR TableLightS : SwitchableDecoration 19049
{
	//$Category Light Sources (Wolf3D)
	//$Title Table Light (small)
	//$Color 11
	Radius 4
	Height 16
	+SOLID
	+USESPECIAL
	+NOTAUTOAIMED
	Activation THINGSPEC_Switch
	States
	{
	Spawn:
		TLIT B -1
		Stop
	Active:
		TNT1 A 0 A_PlaySound(SMSWITCH)
		TLIT B 1 Bright Light(BOATABL2)
		Wait
	Inactive:
		TLIT B -1 A_PlaySound(SMSWITCH)
		Stop
	}
}

ACTOR ColumnLight 19010
{
	//$Category Light Sources (Wolf3D)
	//$Title Column Light (bright)
	//$Color 11
	Radius 8
	Height 128
	+SOLID
	States
	{
	Spawn:
		COLL A -1
		Stop
	}
}

ACTOR ColumnLight2 19762
{
	//$Category Light Sources (Wolf3D)
	//$Title Column Light (dark)
	//$Color 11
	Radius 8
	Height 128
	+SOLID
	States
	{
	Spawn:
		COLL B -1
		Stop
	}
}

ACTOR StreetLight1 19012
{
	//$Category Light Sources (Wolf3D)
	//$Title Street Light (off)
	//$Color 11
	Radius 4
	Height 128
	+SOLID
	States
	{
	Spawn:
		STRL D -1
		Stop
	}
}

ACTOR StreetLight1Lit : StreetLight1 19011
{
	//$Category Light Sources (Wolf3D)
	//$Title Street Light (on)
	//$Color 11
}

ACTOR StreetLight2 : SwitchingDecoration 19039
{
	//$Category Light Sources (Wolf3D)
	//$Title Street Light (triple,toggle)
	//$Color 11
	Radius 4
	Height 128
	+SOLID
	States
	{
	Spawn:
		STLA A -1
		Stop
	Active:
		STLA C -1 Light(BOASTLT2)
		Stop
	Inactive:
		STLA A -1
		Stop
	}
}

ACTOR StreetLight3 : SwitchingDecoration 19040
{
	//$Category Light Sources (Wolf3D)
	//$Title Street Light (single,toggle)
	//$Color 11
	Radius 4
	Height 128
	+SOLID
	States
	{
	Spawn:
		STLA B -1
		Stop
	Active:
		STLA D -1 Light(BOASTLT3)
		Stop
	Inactive:
		STLA B -1
		Stop
	}
}

ACTOR FBowl1 19063
{
	//$Category Light Sources (Wolf3D)
	//$Title Fire Bowl (egypt)
	//$Color 11
	Radius 32
	Height 64
	+SOLID
	States
	{
	Spawn:
		FBWL ABC 5
		Loop
	}
}

ACTOR CBowl1 19064
{
	//$Category Light Sources (Wolf3D)
	//$Title Ceiling Fire Bowl (egypt)
	//$Color 11
	Radius 32
	Height 80
	+SOLID
	+NOGRAVITY
	+SPAWNCEILING
	States
	{
	Spawn:
		CFIR ABC 5
		Loop
	}
}

ACTOR FBarrel1 19065
{
	//$Category Light Sources (Wolf3D)
	//$Title Fire Barrel (egypt)
	//$Color 11
	Radius 16
	Height 64
	+SOLID
	States
	{
	Spawn:
		FCNE ABC 5
		Loop
	}
}

	//CEILING LIGHTS
ACTOR StrobeLightBlue 12400
{
	//$Category Light Sources (Wolf3D)
	//$Title Strobe Light (blue)
	//$Color 11
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
		STRB A 0 NODELAY A_SpawnItem ("StrobeEmitterBlue")
	Spin:
		STRB DCBA 4 BRIGHT
		Loop
	}
}

ACTOR StrobeLightGreen 12401
{
	//$Category Light Sources (Wolf3D)
	//$Title Strobe Light (green)
	//$Color 11
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
		STRG A 0 NODELAY A_SpawnItem ("StrobeEmitterGreen")
	Spin:
		STRG DCBA 4 BRIGHT
		Loop
	}
}

ACTOR StrobeLightRed : SwitchableDecoration 12402
{
	//$Category Light Sources (Wolf3D)
	//$Title Strobe Light (red)
	//$Color 11
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
	Inactive:
		STRR A -1
		Loop
	Active:
		STRR A 0 A_SpawnItem ("StrobeEmitterRed")
	Spin:
		STRR DCBA 4 BRIGHT
		Loop
	}
}

ACTOR StrobeLightYellow : SwitchableDecoration 12403
{
	//$Category Light Sources (Wolf3D)
	//$Title Strobe Light (yellow)
	//$Color 11
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
	Inactive:
		STRY C 4
		Loop
	Active:
		STRY A 0 A_SpawnItem ("StrobeEmitterYellow")
		Spin:
		STRY DCBA 4 BRIGHT
		Loop
	}
}

	//ROTATING EMITTERS
ACTOR StrobeEmitterBlue
{
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
		TNT1 A 1
		TNT1 A 0 A_CustomMissile ("StrobeRayBlue", 0, 0, 0, 2, -35)
		TNT1 A 0 A_CustomMissile ("StrobeRayBlue", 0, 0, 180, 2, -35)
		TNT1 A 0 A_SetAngle(10 + angle)
		Loop
	}
}

ACTOR StrobeEmitterGreen
{
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
		TNT1 A 1
		TNT1 A 0 A_CustomMissile ("StrobeRayGreen", 0, 0, 0, 2, -35)
		TNT1 A 0 A_CustomMissile ("StrobeRayGreen", 0, 0, 180, 2, -35)
		TNT1 A 0 A_SetAngle(10 + angle)
		Loop
	}
}

ACTOR StrobeEmitterRed
{
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
		TNT1 A 1
		TNT1 A 0 A_CustomMissile ("StrobeRayRed", 0, 0, 0, 2, -35)
		TNT1 A 0 A_CustomMissile ("StrobeRayRed", 0, 0, 180, 2, -35)
		TNT1 A 0 A_SetAngle(10 + angle)
		Loop
	}
}

ACTOR StrobeEmitterYellow
{
	Radius 16
	Height 16
	+NOGRAVITY
	+SPAWNCEILING
	+DONTSPLASH
	States
	{
	Spawn:
		TNT1 A 1
		TNT1 A 0 A_CustomMissile ("StrobeRayYellow", 0, 0, 0, 2, -35)
		TNT1 A 0 A_CustomMissile ("StrobeRayYellow", 0, 0, 180, 2, -35)
		TNT1 A 0 A_SetAngle(10 + angle)
		Loop
	}
}

//LIGHT RAYS
ACTOR StrobeRayBlue
{
	Radius 2
	Height 2
	Speed 100
	projectile
	-ACTIVATEIMPACT
	-ACTIVATEPCROSS
	+PAINLESS
	+THRUACTORS
	+DONTSPLASH
	States
	{
	Death:
		TNT1 A 2 LIGHT(BLUESTROBE)
		Stop
	}
}
ACTOR StrobeRayGreen : StrobeRayBlue
{
	States
	{
	Death:
		TNT1 A 2 LIGHT(GREENSTROBE)
		Stop
	}
}
ACTOR StrobeRayRed : StrobeRayBlue
{
	States
	{
	Death:
		TNT1 A 2 LIGHT(REDSTROBE)
		Stop
	}
}
ACTOR StrobeRayYellow : StrobeRayBlue
{
	States
	{
	Death:
		TNT1 A 2 LIGHT(YELLOWSTROBE)
		Stop
	}
}

ACTOR LightBulb 19092
{
	//$Category Light Sources (Wolf3D)
	//$Title Light Bulb
	//$Color 11
	Radius 4
	Height 12
	+NOGRAVITY
	+SPAWNCEILING
	States
	{
	Spawn:
		BULB A -1
		Stop
	}
}

ACTOR CellLight2 19341
{
	//$Category Light Sources (Wolf3D)
	//$Title Cell Light
	//$Color 11
	Radius 4
	Height 38
	+NOGRAVITY
	+SPAWNCEILING
	States
	{
	Spawn:
		CLLI A -1
		Stop
	}
}