# Copyright (c) 2017 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.

# Star attributes (solar power and solar wind). In general, a star either
# provides a lot of solar power or a lot of solar wind (ramscoop recharge rate)
# but not both. That's not realistic, but it creates a more interesting dynamic.

# Main sequence stars.
star "star/b5"
	power 2.5
	wind 0.54
star "star/a0"
	power 2
	wind 0.54
star "star/a5"
	power 1.7
	wind 0.55
star "star/f0"
	power 1.4
	wind 0.57
star "star/f5"
	power 1.2
	wind 0.60
star "star/g0"
	power 1
	wind 0.64
star "star/g5"
	power 0.9
	wind 0.69
star "star/k0"
	power 0.8
	wind 0.75
star "star/k5"
	power 0.72
	wind 0.82
star "star/m0"
	power 0.66
	wind .90
star "star/m4"
	power 0.62
	wind 1.00
star "star/m8"
	power 0.60
	wind 1.10

# Old main sequence stars.
star "star/f5-old"
	power 0.80
	wind 0.9
star "star/g0-old"
	power 0.70
	wind 1.0
star "star/g5-old"
	power 0.65
	wind 1.1
star "star/k0-old"
	power 0.62
	wind 1.3
star "star/k5-old"
	power 0.60
	wind 1.5

# Special stars.
star "star/giant"
	power 1.4
	wind 2
star "star/nova"
	power 0.2
	wind 8
star "star/wr"
	power 0.4
	wind 4

# Brown Dwarves
# Because these look like planets, they reverse the trend of increasing solar wind

star "planet/browndwarf-l"
	power 0.4
	wind 0.5
star "planet/browndwarf-l-rouge"
	power 0.4
	wind 0.5
star "planet/browndwarf-t"
	power 0.3
	wind 0.4
star "planet/browndwarf-t-rouge"
	power 0.3
	wind 0.4
star "planet/browndwarf-y"
	power 0.1
	wind 0.3
star "planet/browndwarf-y-rouge"
	power 0.1
	wind 0.3
