Actor ClubLight 25342
{
   //$Category Night Club Resources
   //$Title Flicker Club Light
	Scale 0.5
	Radius 4
	Height 4
	RenderStyle Add
	Alpha 0.5
	+NoGravity
	+ForceXYBillboard
	+Nointeraction
	+Noclip
	+ClientsideOnly
	States
	{
	Spawn:
		LGHT B 1
		LGHT B 3 A_SetTics(Args[0])
	Lit:
		LGHT A 3 Light("ClubLight")
	Unlit:
		LGHT B 3 A_SetTics(Args[1])
		Goto Lit
	}
}

ACTOR DiscoBall 25343
{
  //$Category Night Club Resources
  //$Title Disco-Ball
  Radius 10
  Height 20
  scale .75  
  -SOLID
  +NOGRAVITY
  States
  {
  Spawn:
    DSCB A -1
    loop    
  }
}

Actor BarchairSpawner : RandomSpawner 25345
{
  //$Category Night Club Resources
  //$Sprite POL2A0
  //$Title Bar Chair (Random)
  Radius 3
  Height 25
  DropItem "Stripclubchair", 255, 4
  DropItem "BarchairHorizontal",255, 2
}

Actor BarchairHorizontal
{
  //$Category Night Club Resources
  //$Title Bar Chair (Horizontal)
  Radius 4
  Height 18
  +SOLID
  states
  {
  Spawn:
    TNT1 A 1 NODELAY A_Jump(256,"1","2")
    1: POL2 B -1
    2: POL2 C -1
    stop
   }
}

ACTOR MolotovSpawnerWA: RandomSpawner 32105
{ 
//$Category Night Club Resources
//$Sprite MOLPA0
//$Title "Molotov Spawner (Without animals)"
Dropitem "FakeMolly" 255, 6
Dropitem "FakeWhiskey" 255, 3
DropItem "ABigNothing" 255, 1
}

actor MeleeSpawnerWA : RandomSpawner 32106
{
  //$Category Night Club Resources
  //$Sprite TNT1A0
  //$Title "Melee Spawner (Without animals)"
	DropItem "FakeWrenchSpawner"  255, 50
	DropItem "FakePipe" 255, 50
	DropItem "FakeCrowbar" 255, 5
	DropItem "ABigNothing" 255, 65
	
	DropItem "RandomWeaponKit" 255, 2
	DropItem "Beartrap" 255, 12
	DropItem "FakePickableTNT" 255, 2
}



Actor FakeFireExtVert : CustomInventory 32128
{
	//$Category Night Club Resources
	//$Sprite FIERV0
	//$Title "Fire Extinguisher (Vertical)"
	Radius 16 
	Height 8
	Inventory.PickupMessage "\cjFound a \c[D4]Fire Extinguisher. \cjIt can even put out fires!\n\caDamage: \c[C4]26"
	Inventory.Respawntics 10500 //5 minutes
	Scale 0.7
	+FORCEXYBILLBOARD
	+DonTGib
	+NoGravity
	States
	{
	Spawn:
		FIER V -1
		Stop
	Pickup:
		TNT1 A 0
		TNT1 A 0 A_JumpIfInventory("FireExtinguisher",1,"NotPickup")
		TNT1 A 0 A_JumpIfInventory("Slot1Filled",1,"NotPickup")
		TNT1 A 0 A_PlaySound("Pickups/Weapon")
		TNT1 A 0 A_GiveInventory("FireExtinguisher",1)
		TNT1 A 0 A_GiveInventory("Slot1Filled",1)	 TNT1 A 0 A_GiveInventory("GotNewWeap",1) 
		TNT1 AA 0 A_GiveInventory("FireExtAmmo",Random(0,100))
		TNT1 A 1 ACS_NamedExecute("WDIROldWeapon_id",0,43)
		Stop
	NotPickup:
		FIER V 0
		FIER V 1 ACS_NamedExecute("WDIROldWeapon_id",0,43)
		Fail
	ForgetIt:
		TNT1 A 1
		Stop
}}

actor LiquorBottleSpawner : RandomSpawner 30134
{
    Radius 4
	Height 8
	Scale 0.20
    //$Category Night Club Resources
	//$Title Liquor Bottle (Random, breakable)
	//$Sprite FLASA0
	
	DropItem "LiquorBottle1"
	DropItem "LiquorBottle2"
	DropItem "LiquorBottle3"
	DropItem "LiquorBottle4"
	DropItem "LiquorBottle5"
	DropItem "LiquorBottle6"
	DropItem "LiquorBottle7"
	DropItem "ABigNothing"
}
		
Actor LiquorBottle1
{
    Radius 4
	Height 8
	Scale 0.20
	HEALTH 10
	Mass 1600
	RenderStyle translucent
	DeathSound "GlassBreak"
	DamageFactor "Gas", 0.0
    DamageFactor "FlareEffect", 0.0
    DamageFactor "SprayRED", 0.0
    DamageFactor "SprayBLU", 0.0
    DamageFactor "SprayYLL", 0.0
    DamageFactor "SprayGRN", 0.0
    DamageFactor "SprayORG", 0.0
    DamageFactor "SprayPNK", 0.0
    DamageFactor "burn", 0.0
    DamageFactor "fire", 0.0
    DamageFactor "ShovelMelee", 2.0
    DamageFactor "SawMelee", 2.0
    DamageFactor "friendlygun", 10.0
	
	+PUSHABLE +CANNOTPUSH
	+VULNERABLE +SHOOTABLE
	+NOBLOOD +FORCEYBILLBOARD
	-SOLID
	States
	{
	Spawn:
	TNT1 A 0 A_SetScale(-scalex,scaley)
	FLAS A -1
	FLAS A -1 A_ChangeFlag("TOUCHY",1)
	Stop	
	Death:
	TNT1 A 0 A_Scream
	NULL AAA 0 A_SpawnItemEx ("Flaskshard1", 0, 0, random (3, 5), random (-5, 5), random (-5, 5), random (1, 2), 0, SXF_TRANSFERTRANSLATION|SXF_CLIENTSIDE, 30)
	NULL AAA 0 A_SpawnItemEx ("Flaskshard2", 0, 0, random (3, 5), random (-5, 5), random (-5, 5), random (1, 2), 0, SXF_TRANSFERTRANSLATION|SXF_CLIENTSIDE, 30)
	TNT1 AAAAAAAAAA 0 A_SpawnItemEx("NewGlassShard", random(-2, 2), 0, random(0, 5), random(-32, 32) * 0.1, random(-32, 32) * 0.1, random(-8, 32) * 0.2, 0, SXF_NOCHECKPOSITION|SXF_CLIENTSIDE|SXF_TRANSFERTRANSLATION)
	stop
	}
}

Actor LiquorBottle2 : LiquorBottle1
{
	States
	{
	Spawn:
	TNT1 A 0 A_SetScale(-scalex,scaley)
	FLAS B -1
	FLAS B -1 A_ChangeFlag("TOUCHY",1)
	Stop
}}

Actor LiquorBottle3 : LiquorBottle1
{
	States
	{
	Spawn:
	TNT1 A 0 A_SetScale(-scalex,scaley)
	FLAS C -1
	FLAS C -1 A_ChangeFlag("TOUCHY",1)
	Stop
}}

Actor LiquorBottle4 : LiquorBottle1
{
	States
	{
	Spawn:
	TNT1 A 0 A_SetScale(-scalex,scaley)
	FLAS D -1
	FLAS D -1 A_ChangeFlag("TOUCHY",1)
	Stop
}}

Actor LiquorBottle5 : LiquorBottle1
{
	States
	{
	Spawn:
	TNT1 A 0 A_SetScale(-scalex,scaley)
	FLAS E -1
	FLAS E -1 A_ChangeFlag("TOUCHY",1)
	Stop
}}

Actor LiquorBottle6 : LiquorBottle1
{
	States
	{
	Spawn:
	TNT1 A 0 A_SetScale(-scalex,scaley)
	FLAS F -1
	FLAS F -1 A_ChangeFlag("TOUCHY",1)
	Stop
}}

Actor LiquorBottle7 : LiquorBottle1
{
	States
	{
	Spawn:
	TNT1 A 0 A_SetScale(-scalex,scaley)
	FLAS G -1
	FLAS G -1 A_ChangeFlag("TOUCHY",1)
	Stop
}}

/////////////////////////////////////////////////////
///////////   BlackRayne studios Models   ///////////
/////////////////////////////////////////////////////

ACTOR HCouch 25344
{
  //$Category Night Club Resources
  //$Title Black Couch (Model, Non-Solid)
  Radius 32
  Height 20
  +SOLID
  States
  {
  Spawn:
    MDLC A -1
    Stop
  }
}

Actor br_cashregister 25380
{
  //$Category Night Club Resources
  //$Title Cash Register (Model, Solid)
  Radius 15
  Height 16
  +SOLID
  States
  {
  Spawn:
    MDLC A -1
    Stop
  }
}

Actor br_milk1 25381
{
  //$Category Night Club Resources
  //$Title Perforated Box (Model, Solid)
  Radius 8
  Height 8
  +SOLID
  States
  {
  Spawn:
    MDLC A -1
    Stop
  }
}

Actor br_tap1 25382
{
  //$Category Night Club Resources
  //$Title Bar Dispenser (Model, Solid)
  Radius 10
  Height 16
  +SOLID
  States
  {
  Spawn:
    MDLC A -1
    Stop
  }
}

Actor br_clothing 25383
{
  //$Category Night Club Resources
  //$Title Hanger (Model, Solid)
  Radius 20
  Height 50
  +SOLID
  States
  {
  Spawn:
    MDLC A -1
    Stop
  }
}