0

added more stern warnings about sample.settings.py and the --zoom option

This commit is contained in:
Aaron Griffith
2011-08-22 23:20:17 -04:00
parent 88e889301a
commit 85e8a1e889
2 changed files with 8 additions and 5 deletions

View File

@@ -235,8 +235,8 @@ zoom=ZOOM
This is equivalent to setting the dimensions of the highest zoom level. It This is equivalent to setting the dimensions of the highest zoom level. It
does not actually change how the map is rendered, but rather *how much of does not actually change how the map is rendered, but rather *how much of
the map is rendered.* (Calling this option "zoom" may be a bit misleading, the map is rendered.* Setting this option too low *will crop your map.*
I know) (Calling this option "zoom" may be a bit misleading, I know)
To be precise, it sets the width and height of the highest zoom level, in To be precise, it sets the width and height of the highest zoom level, in
tiles. A zoom level of z means the highest zoom level of your map will be tiles. A zoom level of z means the highest zoom level of your map will be

View File

@@ -33,7 +33,9 @@ if procs < 1: procs = 1
## Sets the zoom level manually instead of calculating it. This can be useful ## Sets the zoom level manually instead of calculating it. This can be useful
## if you have outlier chunks that make your world too big. This value will ## if you have outlier chunks that make your world too big. This value will
## make the highest zoom level contain (2**ZOOM)^2 tiles ## make the highest zoom level contain (2**ZOOM)^2 tiles
## Normally you should not need to set this variable. ## ***Normally you should not need to set this variable.***
## ***Setting it too low will crop your map!***
## Seriously, check the README before using this.
## Default: Automatically calculated from your world ## Default: Automatically calculated from your world
## Type: integer ## Type: integer
## Example: ## Example:
@@ -163,7 +165,8 @@ north_direction = "upper-right"
### As a reminder, don't use this file verbatim, it should only be used as ### As a reminder, *don't use this file verbatim*, it should only be used as
### a guide. ### a guide. Be sure to read what each option does before you set it.
### See the README for more details.
import sys import sys
sys.exit("This sample-settings file shouldn't be used directly!") sys.exit("This sample-settings file shouldn't be used directly!")