mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: map gen: allow width and height
Don't accept arbitrary keys to catch typos. This should be all 'basic' map gen settings now.
This commit is contained in:

committed by
Fabian Dill

parent
7fad0b0f51
commit
c27bfc515e
@@ -262,6 +262,8 @@ class FactorioWorldGen(OptionDict):
|
||||
}
|
||||
},
|
||||
Optional("seed"): Or(None, And(int, lambda n: n >= 0)),
|
||||
Optional("width"): And(int, lambda n: n >= 0),
|
||||
Optional("height"): And(int, lambda n: n >= 0),
|
||||
Optional("starting_area"): FloatRange(0.166, 6),
|
||||
Optional("peaceful_mode"): LuaBool,
|
||||
Optional("cliff_settings"): {
|
||||
|
Reference in New Issue
Block a user