# Ragnarok, by Jonathan Cooper

# config.py: configuration variables.

# Game configuration
#  Each option should be adequately explained, including what values are accepted
#   for it. If not, please contact me.
#  This is a python file which is imported by the main program, so you can use
#   python code in here if you want.

yes, no = 1, 0

# Percentage of galaxy and ships required to win (0-100)
winpercent = 75

# Whether to end the game when a player wins
end_win = no

# Use music/sound effects?
music = no

# Max no of times a particular tech can appear
max_tech = 2

# Whether cheats are enabled
cheats = yes

# Name of player who can perform certain cheats (the quotes are essential)
pl_cht = "Cheater"

# Whether debug information should be output
debug = no

# Only allow routes which don't intersect stars
check_route = yes

# What setup system to use.
#  0 for text-based, 1 for graphical, 2 for none (ie edit the source code to setup)
setup = 1

# Setup system to use for server in network games.
netsetup = 2

# Whether to wait for a keypress/mouse click before continuing when displaying
#  the event that just happened
await_user = no

# Whether to process all events happening at a particular date at the same star
#  before giving any players a turn.
merge_events = yes

# Time required to have elapsed before 2 events are no longer considered to occur
#  at the same date.
merge_events_time = 0.001

# Default server and port for network games.
#  Specify server using hostname or IP address in quotes ""
#  Port is a number; if you don't know what it does leave it alone.
server = ""
port = 4554


# Please feel free to modify the ship pictures; they're pretty pathetic atm. I
# suggest sticking to 20x20 pixels for the small images and 40x40 for the large
# ones. Hopefully the program wont break if you use different sizes, but...
# The names of the picture files must be kept the same, or edit the source.




### Options below here you probably don't want to change. If you do, strange
### things /might/ break. You have been warned...

# Initial time between alien builds
abld = 10

# Date of first alien build
abld_first = 20

# Size of the galaxy
xmax, ymax = 500, 440

# Size of the screen.
# Note that this is expected to be at least 100x40 larger than the galaxy
screenx, screeny = 640, 480

# Path to saved game files (absolute or relative)
savedgames = "savedgames/"

# Path to ship icons (absolute or relative)
pics = "pics/"

# Travel time multiplier
trav = 0.6875  # 11/16  (was 9/16 = 0.5625)

# Computer's suicidal rating (must be at least 3)
suicide = 4
