name		SubMine
health		1
type		obstacle
nolife		1
death		1
candamage	player
offscreenkill	60
subject_to_gravity 0


anim	idle
	loop	1
	delay	15
	offset	12 12
	followcond 1
	followanim 1
	bbox	3 3 18 18
	attack	3 3 18 18 25
	platform -100 -100 1 1 1 1 1 1
	frame	data/chars/cobras/mine.gif
	offset	12 14
	frame	data/chars/cobras/mine.gif
	offset	12 16
	frame	data/chars/cobras/mine.gif
	offset	12 14
	frame	data/chars/cobras/mine.gif
	offset	12 12
	frame	data/chars/cobras/mine.gif
	offset	12 10
	frame	data/chars/cobras/mine.gif
	offset	12 8
	frame	data/chars/cobras/mine.gif
	offset	12 10
	frame	data/chars/cobras/mine.gif

anim	follow1
@script
    void self = getlocalvar("self");

    if(frame==2){
      killentity(self); //Suicide!
    }
@end_script
	delay	5
	offset	12 12
	spawnframe 1 0 0 0 0
	custentity XPlos
	platform 0 0 0 0 0 0
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif

anim	death
@script
    void self = getlocalvar("self");

    if(frame==2){
      killentity(self); //Suicide!
    }
@end_script
	delay	5
	offset	12 12
	spawnframe 1 0 0 0 0
	custentity XPlos
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
