
Actor GroundDirt
{
Scale 0.9
yscale 0.8
+NOTARGET
+ISMONSTER
-COUNTKILL
+SOLID
+ACTLIKEBRIDGE
-NONSHOOTABLE
+SHOOTABLE
+NOGRAVITY
+DONTFALL
+NOLIFTDROP
+FRIENDLY
-CANBLAST
+NOTARGET
+NOBLOOD
+CANPASS
-WINDTHRUST
DamageFactor "Flames", 0.1
mass 0x7FFFFFFF
health 16
radius 24
height 48
States
{
Spawn:
GND1 A 0
GND1 A -1 A_JumpIf(health <= 15, "Burnt")
stop
Burnt:
GND1 B -1
stop
Death:
GND1 A 0
GND1 A 0 A_SpawnItemEx("GroundDirtSmall", Random(-24, 24), 0,  Random(-24, 24), 0, 0, 0, 0)
GND1 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND1 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND1 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}

Actor GroundDirtSmall : GroundDirt
{
-NOGRAVITY
Scale 0.3
yscale 0.3
radius 6
height 12
States
{
Death:
GND1 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND1 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND1 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}

Actor GroundRed : GroundDirt
{
States
{
Spawn:
GND2 A 0
GND2 A -1 A_JumpIf(health <= 15, "Burnt")
stop
Burnt:
GND2 B -1
stop
Death:
GND2 A 0
GND2 A 0 A_SpawnItemEx("GroundRedSmall",  Random(-24, 24), 0,  Random(-24, 24), 0, 0, 0, 0, 0, 0)
GND2 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND2 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND2 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}

Actor GroundRedSmall : GroundRed
{
-NOGRAVITY
Scale 0.3
yscale 0.3
radius 6
height 12
States
{
Death:
GND2 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND2 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND2 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}

Actor GroundBlue : GroundDirt
{
States
{
Spawn:
GND3 A 0
GND3 A -1 A_JumpIf(health <= 15, "Burnt")
stop
Burnt:
GND3 B -1
stop
Death:
GND3 A 0
GND3 A 0 A_SpawnItemEx("GroundBlueSmall",  Random(-24, 24), 0,  Random(-24, 24), 0, 0, 0, 0, 0, 0)
GND3 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND3 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND3 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}

Actor GroundBlueSmall : GroundBlue
{
-NOGRAVITY
Scale 0.3
yscale 0.3
radius 6
height 12
States
{
Death:
GND3 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND3 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND3 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}

Actor GroundYellow : GroundDirt
{
States
{
Spawn:
GND4 A 0
GND4 A -1 A_JumpIf(health <= 15, "Burnt")
stop
Burnt:
GND4 B -1
stop
Death:
GND4 A 0
GND4 A 0 A_SpawnItemEx("GroundYellowSmall",  Random(-24, 24), 0,  Random(-24, 24), 0, 0, 0, 0, 0, 0)
GND4 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND4 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND4 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}

Actor GroundYellowSmall : GroundYellow
{
-NOGRAVITY
Scale 0.3
yscale 0.3
radius 6
height 12
States
{
Death:
GND4 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND4 A 0 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
GND4 A 1 A_SpawnItemEx("GirderBit", Random(-8, 8), Random(-8, 8), Random(-4, 4), Random(-8, 8), Random(-8, 8), Random(-8, 8), Random(0, 360), SXF_CLIENTSIDE, 0)
stop
}}
