# Copyright (c) 2014 by Michael Zahniser
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.  See the GNU General Public License for more details.

effect "afterburner"
	sprite "effect/afterburner"
		"no repeat"
		"frame rate" 30
	sound "afterburner"
	"lifetime" 10
	"velocity scale" 1.
	"random velocity" 1.
	"random angle" 30
	"random spin" 10

effect "ionic afterburner"
	sprite "effect/ionic afterburner"
		"no repeat"
		"frame rate" 30
	sound "ionic afterburner"
	"lifetime" 12
	"velocity scale" 1.
	"random velocity" 1.
	"random angle" 360
	"random spin" 30

effect "beam laser impact"
	sprite "effect/laser impact"
		"no repeat"
		"frame rate" 30
	"lifetime" 5
	"random angle" 2
	"random spin" 1
	"velocity scale" -.005

effect "heavy laser impact"
	sprite "effect/heavy laser impact"
		"no repeat"
		"frame rate" 30
	"lifetime" 5
	"random angle" 2
	"random spin" 1
	"random velocity" 1
	"velocity scale" -.007

effect "electron impact"
	sprite "effect/electron impact"
		"no repeat"
		"frame rate" 30
	"lifetime" 5
	"random angle" 2
	"random spin" 1
	"velocity scale" -.003

effect "blaster impact"
	sprite "effect/blaster impact"
		"no repeat"
		"frame rate" 30
	"lifetime" 7
	"random angle" 40
	"velocity scale" -.05

effect "particle impact"
	sprite "effect/particle impact"
		"no repeat"
		"frame rate" 30
	sound "explosion small"
	"lifetime" 35
	"random angle" 2
	"velocity scale" -.05
	"random spin" 10

effect "ion impact"
	sprite "effect/ion impact"
		"no repeat"
		"frame rate" 30
	sound "ion impact"
	"lifetime" 9
	"random angle" 360
	"velocity scale" -.05
	"random spin" 30
	"random velocity" 2

effect "plasma explosion"
	sprite "effect/plasma explosion"
		"no repeat"
		"frame rate" 20
	sound "explosion tiny"
	"lifetime" 21
	"random angle" 360
	"random velocity" .1
	"random spin" 4
	"velocity scale" -.05

effect "pulse impact"
	sprite "effect/pulse impact"
		"no repeat"
		"frame rate" 10
	"lifetime" 20
	"random angle" 360
	"random velocity" .6
	"random spin" 4
	"velocity scale" -.1

effect "tracker impact"
	sprite "effect/tracker impact"
		"no repeat"
		"frame rate" 20
	sound "explosion medium"
	"lifetime" 16
	"random angle" 360
	"random velocity" .2
	"random spin" 10
	"velocity scale" -.05

effect "tracker cloud"
	sprite "effect/tracker cloud"
		"no repeat"
		"frame rate" 4
	"lifetime" 60
	"random angle" 360
	"random velocity" 1
	"random spin" 4
	"velocity scale" -.1

effect "tracker fire"
	sprite "effect/tracker fire"
		"no repeat"
		"frame rate" 8
	"lifetime" 30
	"random angle" 5
	"random spin" 4
	"random velocity" 10

effect "proton impact"
	sprite "effect/proton impact"
		"no repeat"
		"frame rate" 30
	"lifetime" 20
	"random angle" 2
	"velocity scale" -.005

effect "flamethrower die"
	sprite "effect/explosion/small"
		"no repeat"
		"frame rate" 15
		"random start frame"
	"lifetime" 24
	"random angle" 360
	"random velocity" .4
	"random spin" 2
	"random frame rate" 5
	"velocity scale" .4

effect "flamethrower hit"
	sprite "effect/explosion/medium"
		"no repeat"
		"frame rate" 15
		"random start frame"
	"lifetime" 28
	"random angle" 360
	"random velocity" .6
	"random spin" 3
	"random frame rate" 5
	"velocity scale" .4

effect "tiny explosion"
	sprite "effect/explosion/tiny"
		"no repeat"
		"frame rate" 15
	sound "explosion tiny"
	"lifetime" 20
	"random angle" 360
	"random velocity" .2
	"random spin" 1
	"random frame rate" 5
	"velocity scale" .4

effect "small explosion"
	sprite "effect/explosion/small"
		"no repeat"
		"frame rate" 15
	sound "explosion small"
	"lifetime" 24
	"random angle" 360
	"random velocity" .4
	"random spin" 2
	"random frame rate" 5
	"velocity scale" .4

effect "medium explosion"
	sprite "effect/explosion/medium"
		"no repeat"
		"frame rate" 15
	sound "explosion medium"
	"lifetime" 28
	"random angle" 360
	"random velocity" .6
	"random spin" 3
	"random frame rate" 5
	"velocity scale" .4

effect "big explosion"
	sprite "effect/explosion/big"
		"no repeat"
		"frame rate" 15
	sound "explosion large"
	"lifetime" 32
	"random angle" 360
	"random velocity" .8
	"random spin" 4
	"random frame rate" 5
	"velocity scale" .4

effect "huge explosion"
	sprite "effect/explosion/huge"
		"no repeat"
		"frame rate" 15
	sound "explosion huge"
	"lifetime" 36
	"random angle" 360
	"random velocity" 1
	"random spin" 5
	"random frame rate" 5
	"velocity scale" .4

effect "smoke"
	sprite "effect/smoke"
		"no repeat"
		"random start frame"
		"frame rate" 8
	"lifetime" 60
	"random angle" 360
	"random spin" 5

effect "missile death"
	sprite "effect/missile death"
		"no repeat"
		"frame rate" 20
	"lifetime" 10
	"velocity scale" .8

effect "small anti-missile"
	sprite "effect/small anti missile"
		"no repeat"
		"frame rate" 3
	sound "anti-missile"
	"lifetime" 21
	"velocity scale" 1

effect "large anti-missile"
	sprite "effect/large anti missile"
		"no repeat"
		"frame rate" 2
	sound "heavy anti-missile"
	"lifetime" 31
	"velocity scale" 1

effect "pug anti-missile"
	sprite "effect/large anti missile"
		"no repeat"
		"frame rate" 6
	sound "pug anti-missile"
	"lifetime" 11
	"velocity scale" 1

effect "nuke explosion"
	sprite "effect/explosion/nuke"
		"no repeat"
		"frame rate" 30
	sound "explosion nuke"
	"lifetime" 15
	"random angle" 360
	"random velocity" 1
	"random spin" 5
	"velocity scale" .4

effect "nuke residue fast"
	sprite "effect/explosion/huge"
		"no repeat"
		"frame rate" 15
	"lifetime" 36
	"random angle" 360
	"random velocity" 8
	"random spin" 5
	"velocity scale" 0.1

effect "nuke residue slow"
	sprite "effect/explosion/huge"
		"no repeat"
		"frame rate" 10
	"lifetime" 60
	"random angle" 360
	"random velocity" 5
	"random spin" 5
	"velocity scale" 0.1

effect "torpedo fire"
	sprite "effect/torpedo fire"
		"no repeat"
		"frame rate" 10
	"lifetime" 15

effect "typhoon fire"
	sprite "effect/typhoon fire"
		"no repeat"
		"frame rate" 10
	"lifetime" 15

effect "meteor fire"
	sprite "effect/meteor fire"
		"no repeat"
		"frame rate" 30
	"lifetime" 12
	"random velocity" 10

effect "sidewinder fire"
	sprite "effect/sidewinder fire"
		"no repeat"
		"frame rate" 30
	"lifetime" 9
	"random velocity" 2

effect "ion spark"
	sprite "effect/spark"
		"no repeat"
		"frame rate" 30
	"lifetime" 9
	"random angle" 360
	"random spin" 10
	"random velocity" 1

effect "box"
	sprite "effect/box"
		"frame rate" 6
		"random start frame"
	"random frame rate" 12
	"lifetime" 60000
	"random angle" 30
	"random spin" 10
	"random velocity" -1
