
action METEORN 0 3 1 1 10
action METEORE 0 6 1 1 10

useractor notenemy METEOR 0 METEORN
 ifcount 3
 {
   killit
 }
enda

useractor notenemy METEORBOOMGREEN 0 METEORE
 ifactioncount 6
 {
   killit
 }
enda

action REDACT 0 6 1 1 15

useractor notenemy REDPROJBOOM 0 REDACT
 ifactioncount 6
 {
    killit
 }
enda

action METEORRED 0 6 1 1 10

useractor notenemy REDMETEORBOOM 0 METEORRED
 sizeat 40 40

 ifactioncount 6
 {
   killit
 }
enda

defineprojectile 5059 PROJ_WORKSLIKE 2
defineprojectile 5059 PROJ_SPAWNS METEORBOOMGREEN
defineprojectile 5059 PROJ_SXREPEAT 33
defineprojectile 5059 PROJ_SYREPEAT 35
defineprojectile 5059 PROJ_VEL 750
defineprojectile 5059 PROJ_EXTRA 50
defineprojectile 5059 PROJ_DROP 0
defineprojectile 5059 PROJ_SOUND RPG_SHOOT
defineprojectile 5059 PROJ_ISOUND BOOMM
defineprojectile 5059 PROJ_HITRADIUS 1000
defineprojectile 5059 PROJ_OFFSET 150
defineprojectile 5059 PROJ_CLIPDIST 24
defineprojectile 5059 PROJ_XREPEAT 30
defineprojectile 5059 PROJ_YREPEAT 34

defineprojectile 5070 PROJ_WORKSLIKE 2
defineprojectile 5070 PROJ_SPAWNS REDPROJBOOM
defineprojectile 5070 PROJ_SXREPEAT 37
defineprojectile 5070 PROJ_SYREPEAT 35
defineprojectile 5070 PROJ_VEL 800
defineprojectile 5070 PROJ_EXTRA 32
defineprojectile 5070 PROJ_SOUND REDPROJSHT
defineprojectile 5070 PROJ_ISOUND REDBOOM
defineprojectile 5070 PROJ_HITRADIUS 500
defineprojectile 5070 PROJ_OFFSET 140
defineprojectile 5070 PROJ_CLIPDIST 24

defineprojectile 6153 PROJ_WORKSLIKE 2
defineprojectile 6153 PROJ_SPAWNS REDMETEORBOOM
defineprojectile 6153 PROJ_VEL 750
defineprojectile 6153 PROJ_EXTRA 65
defineprojectile 6153 PROJ_DROP 0
defineprojectile 6153 PROJ_SOUND LAVASHOOT
defineprojectile 6153 PROJ_ISOUND BOOMM
defineprojectile 6153 PROJ_HITRADIUS 500
defineprojectile 6153 PROJ_OFFSET 450
defineprojectile 6153 PROJ_CLIPDIST 48

define BFGIMPACT 6146
define FIREBALL 2364
define FIREBALLBLOW 2365

defineprojectile FIREBALL PROJ_WORKSLIKE 2
defineprojectile FIREBALL PROJ_SPAWNS FIREBALLBLOW
defineprojectile FIREBALL PROJ_SXREPEAT 45
defineprojectile FIREBALL PROJ_SYREPEAT 45
defineprojectile FIREBALL PROJ_VEL 600
defineprojectile FIREBALL PROJ_XREPEAT 45
defineprojectile FIREBALL PROJ_YREPEAT 45
defineprojectile FIREBALL PROJ_EXTRA 11
defineprojectile FIREBALL PROJ_SOUND IMPBALL
defineprojectile FIREBALL PROJ_ISOUND IMPBOOM
defineprojectile FIREBALL PROJ_HITRADIUS 550
defineprojectile FIREBALL PROJ_OFFSET 140
defineprojectile FIREBALL PROJ_CLIPDIST 48

define LAVA1 1960
define LAVA2 1963
define LAVAPUFF 1966
define SERPENTBALL 6635
define SERPENTBOOM 6650

defineprojectile LAVA1 PROJ_WORKSLIKE 2
defineprojectile LAVA1 PROJ_SPAWNS LAVAPUFF
defineprojectile LAVA1 PROJ_SXREPEAT 48
defineprojectile LAVA1 PROJ_SYREPEAT 48
defineprojectile LAVA1 PROJ_VEL 450
defineprojectile LAVA1 PROJ_XREPEAT 48
defineprojectile LAVA1 PROJ_YREPEAT 48
defineprojectile LAVA1 PROJ_EXTRA 40
defineprojectile LAVA1 PROJ_SOUND LAVABALL
defineprojectile LAVA1 PROJ_ISOUND LAVABOOM
defineprojectile LAVA1 PROJ_HITRADIUS 660
defineprojectile LAVA1 PROJ_OFFSET 48
defineprojectile LAVA1 PROJ_CLIPDIST 96

defineprojectile LAVA2 PROJ_WORKSLIKE 2
defineprojectile LAVA2 PROJ_SPAWNS LAVAPUFF
defineprojectile LAVA2 PROJ_SXREPEAT 48
defineprojectile LAVA2 PROJ_SYREPEAT 48
defineprojectile LAVA2 PROJ_VEL 450
defineprojectile LAVA2 PROJ_XREPEAT 48
defineprojectile LAVA2 PROJ_YREPEAT 48
defineprojectile LAVA2 PROJ_EXTRA 40
defineprojectile LAVA2 PROJ_SOUND LAVABALL
defineprojectile LAVA2 PROJ_ISOUND LAVABOOM
defineprojectile LAVA2 PROJ_HITRADIUS 660
defineprojectile LAVA2 PROJ_OFFSET  -48
defineprojectile LAVA2 PROJ_CLIPDIST 96

defineprojectile BFG PROJ_WORKSLIKE 2
defineprojectile BFG PROJ_EXTRA 90
defineprojectile BFG PROJ_EXTRA_RAND 210
defineprojectile BFG PROJ_XREPEAT 48
defineprojectile BFG PROJ_YREPEAT 48
defineprojectile BFG PROJ_VEL 560
defineprojectile BFG PROJ_HITRADIUS 5500
defineprojectile BFG PROJ_SPAWNS BFGIMPACT
defineprojectile BFG PROJ_SXREPEAT 48
defineprojectile BFG PROJ_SYREPEAT 48
defineprojectile BFG PROJ_ISOUND BFG_BOOM
defineprojectile BFG PROJ_CLIPDIST 108

defineprojectile 6379 PROJ_WORKSLIKE 2
defineprojectile 6379 PROJ_SPAWNS EXPLOSION2
defineprojectile 6379 PROJ_VEL 644
defineprojectile 6379 PROJ_EXTRA 60
defineprojectile 6379 PROJ_ISOUND PIPEBOMB_EXPLODE
defineprojectile 6379 PROJ_XREPEAT 24
defineprojectile 6379 PROJ_YREPEAT 24
defineprojectile 6379 PROJ_HITRADIUS 2088
defineprojectile 6379 PROJ_OFFSET 224
defineprojectile 6379 PROJ_CLIPDIST 24
defineprojectile 6379 PROJ_TRAIL SMALLSMOKE

defineprojectile SERPENTBALL PROJ_WORKSLIKE 2
defineprojectile SERPENTBALL PROJ_SPAWNS SERPENTBOOM
defineprojectile SERPENTBALL PROJ_SXREPEAT 28
defineprojectile SERPENTBALL PROJ_SYREPEAT 28
defineprojectile SERPENTBALL PROJ_VEL 566
defineprojectile SERPENTBALL PROJ_EXTRA 30
defineprojectile SERPENTBALL PROJ_SOUND IMPBALL
defineprojectile SERPENTBALL PROJ_ISOUND LAVABOOM
defineprojectile SERPENTBALL PROJ_XREPEAT 28
defineprojectile SERPENTBALL PROJ_YREPEAT 28
defineprojectile SERPENTBALL PROJ_HITRADIUS 880
defineprojectile SERPENTBALL PROJ_OFFSET 96
defineprojectile SERPENTBALL PROJ_CLIPDIST 12

action SERPACT 0 3 5 1 12
action SERPBOOM 0 5 1 1 15

useractor notenemy SERPENTBALL 0 SERPACT enda
useractor notenemy SERPENTBOOM 0 SERPBOOM ifactioncount 5 { killit } enda

defineprojectile RIFLESHELL PROJ_WORKSLIKE 1
defineprojectile RIFLESHELL PROJ_EXTRA 8

action LAVABUFF 0 6 1 1 15

useractor notenemy LAVAPUFF 0 LAVABUFF
 ifactioncount 6
 {
 killit
 }
enda

action IMPACT 0 5 1 1 35
action IMPACT2 0 4 1 1 15

useractor notenemy FIREBALLBLOW 0 IMPACT2 ifactioncount 4 { killit } enda
useractor notenemy BFGIMPACT 0 IMPACT ifactioncount 5 { killit } enda

action BACT 0 1 5 1 1

useractor notenemy BROWNMETEOR 0 BACT enda

spritenoshade RAILTRAIL
action RAILTRAILFRAMES -6629 6 1 1 4
useractor notenemy RAILTRAIL TOUGH RAILTRAILFRAMES

ifvare countvar 0
{
	cstator 130
	ifrnd 128 cstator 4
	ifrnd 128 cstator 8
	sizeat 3 3
}

setvar countvar 1


ifactioncount 6 killit

enda


spritenoshade RAILHIT
action RAILHITFRAMES -6628 6 1 1 6
useractor notenemy RAILHIT TOUGH RAILHITFRAMES

ifvare countvar 0
{
	cstator 130
	ifrnd 128 cstator 4
	ifrnd 128 cstator 8
	sizeat 24 24
	spritepal 13
	ifcansee flash
}

setvar countvar 1
ifactioncount 6 killit

enda

defineprojectile RAILSLUG PROJ_WORKSLIKE 1
defineprojectile RAILSLUG PROJ_DECAL 952
defineprojectile RAILSLUG PROJ_SOUND PISTOL_BODYHIT
defineprojectile RAILSLUG PROJ_SPAWNS RAILHIT
defineprojectile RAILSLUG PROJ_EXTRA 40
defineprojectile RAILSLUG PROJ_TNUM 50
defineprojectile RAILSLUG PROJ_TRAIL RAILTRAIL
