Add Free Terrain mode and terrain rules

This commit is contained in:
Catobat
2022-10-09 01:23:47 +02:00
parent 1fd1f9ca5c
commit 0c53fc8519
18 changed files with 603 additions and 106 deletions

View File

@@ -77,6 +77,7 @@ SETTINGSTOPROCESS = {
},
"overworld": {
"overworldshuffle": "ow_shuffle",
"terrain": "ow_terrain",
"crossed": "ow_crossed",
"keepsimilar": "ow_keepsimilar",
"mixed": "ow_mixed",

View File

@@ -33,8 +33,10 @@ def overworld_page(parent):
for key in dictWidgets:
self.widgets[key] = dictWidgets[key]
packAttrs = {"anchor":E}
if key == "keepsimilar":
packAttrs = {"side":LEFT, "pady":(18,0)}
if key == "terrain":
packAttrs = {"anchor":W, "pady":(3,0)}
elif key == "keepsimilar":
packAttrs = {"anchor":W, "pady":(6,0)}
elif key == "overworldflute":
packAttrs["pady"] = (20,0)
elif key in ["mixed", "whirlpool"]: