freeslot
MT_REDRING_BOX
MT_REDRING_ICON
S_REDRING_BOX
S_REDRING_ICON1
S_REDRING_ICON2

# Script by Zippy_Zolton. contact me through Discord - Zolton#4312

Object MT_REDRING_BOX
#$Name Red Ring (-10 Rings)
#$Sprite TVRIS0
#$Category Monitors
MapThingNum = 3297
SpawnHealth = 1
SpawnState = S_REDRING_BOX
SeeState = S_NULL
SeeSound = sfx_None
AttackSound = sfx_None
MeleeState = S_NULL
MissileState = S_NULL
DeathState = S_BOX_POP1
XDeathState = S_NULL
DeathSound = sfx_pop
ActiveSound = sfx_None
ReactionTime = 50
PainChance = 0
Speed = 1
Radius = 18*FRACUNIT
Height = 40*FRACUNIT
DispOffset = 0
Mass = 100
Damage = MT_REDRING_ICON
Flags = MF_SOLID|MF_SHOOTABLE|MF_MONITOR

State S_REDRING_BOX
SpriteName = TVRI
SpriteFrame = S
Duration = 2
Action = none
Var1 = 0
Var2 = 0
Next = S_BOX_FLICKER

Object MT_REDRING_ICON
MapThingNum = none
SpawnHealth = 1
SpawnState = S_REDRING_ICON1
SeeState = S_NULL
SeeSound = sfx_antiri
AttackSound = sfx_None
MeleeState = S_NULL
MissileState = S_NULL
DeathState = S_NULL
XDeathState = S_NULL
DeathSound = sfx_pop
ActiveSound = sfx_None
ReactionTime = -10
PainChance = 0
Speed = 2*FRACUNIT
Radius = 8*FRACUNIT
Height = 14*FRACUNIT
DispOffset = 0
Mass = 100
Damage = 62*FRACUNIT
Flags = MF_NOBLOCKMAP|MF_NOCLIP|MF_SCENERY|MF_NOGRAVITY|MF_BOXICON

State S_REDRING_ICON1
SpriteName = TVRI
SpriteFrame = FF_ANIMATE|U
Duration = 18
Action = none
Var1 = 3
Var2 = 4
Next = S_REDRING_ICON2

State S_REDRING_ICON2
SpriteName = TVRI
SpriteFrame = U
Duration = 18
Action = A_RingBox
Var1 = 0
Var2 = 0
Next = S_NULL
