0

Changed "worldname" to "world" in configfile

Also brought tests up to date. All tests pass now.
This commit is contained in:
Andrew Brown
2012-02-14 20:39:05 -05:00
parent f3b434a327
commit aaf8e1d7cb
10 changed files with 81 additions and 57 deletions

View File

@@ -22,7 +22,7 @@ A Simple Example
worlds["My world"] = "/home/username/server/world"
render["normalrender"] = {
"worldname": "My world",
"world": "My world",
"title": "Normal Render of My World",
}
@@ -60,28 +60,28 @@ A more complicated example
worlds["creative"] = "/home/username/server/creativeworld"
renders["survivalday"] = {
"worldname": "survival",
"world": "survival",
"title": "Survival Daytime",
"rendermode": smooth_lighting,
"dimension": "overworld",
}
renders["survivalnight"] = {
"worldname": "survival",
"world": "survival",
"title": "Survival Daytime",
"rendermode": smooth_night,
"dimension": "overworld",
}
renders["survivalnether"] = {
"worldname": "survival",
"world": "survival",
"title": "Survival Nether",
"rendermode": nether_smooth_lighting,
"dimension": "nether",
}
renders["survivalspawnoverlay"] = {
"worldname": "survival",
"world": "survival",
"title": "Spawn Overlay",
"rendermode": spawn_overlay,
"dimension": "overworld",
@@ -89,7 +89,7 @@ A more complicated example
}
renders["creative"] = {
"worldname": "creative",
"world": "creative",
"title": "Creative",
"rendermode": smooth_lighting,
"dimension": "overworld",
@@ -152,7 +152,7 @@ Overviewer's rendering.
Render Dictonary Keys
---------------------
``worldname``
``world``
Specifies which world this render corresponds to. Its value should be a
string from the appropriate key in the worlds dictionary.
@@ -363,7 +363,7 @@ primitive object's constructor::
Then you can use your new rendermode in your render definitions::
render["survivalday"] = {
"worldname": "survival",
"world": "survival",
"title": "Survival Daytime",
"rendermode": my_rendermode,
"dimension": "overworld",