Factorio: map gen: allow arbitrary property expressions
Can be used to override tile generation; we don't want to define all of them
This commit is contained in:
		 black-sliver
					black-sliver
				
			
				
					committed by
					
						 Fabian Dill
						Fabian Dill
					
				
			
			
				
	
			
			
			 Fabian Dill
						Fabian Dill
					
				
			
						parent
						
							c27bfc515e
						
					
				
				
					commit
					ea51df432d
				
			| @@ -272,11 +272,12 @@ class FactorioWorldGen(OptionDict): | ||||
|                 "richness": FloatRange(0, 6) | ||||
|             }, | ||||
|             Optional("property_expression_names"): Schema({ | ||||
|                 "control-setting:moisture:bias": FloatRange(-0.5, 0.5), | ||||
|                 "control-setting:moisture:frequency:multiplier": FloatRange(0.166, 6), | ||||
|                 "control-setting:aux:bias": FloatRange(-0.5, 0.5), | ||||
|                 "control-setting:aux:frequency:multiplier": FloatRange(0.166, 6) | ||||
|             }, ignore_extra_keys=True) | ||||
|                 Optional("control-setting:moisture:bias"): FloatRange(-0.5, 0.5), | ||||
|                 Optional("control-setting:moisture:frequency:multiplier"): FloatRange(0.166, 6), | ||||
|                 Optional("control-setting:aux:bias"): FloatRange(-0.5, 0.5), | ||||
|                 Optional("control-setting:aux:frequency:multiplier"): FloatRange(0.166, 6), | ||||
|                 Optional(str): object  # allow overriding all properties | ||||
|             }), | ||||
|         }, | ||||
|         "advanced": { | ||||
|             Optional("pollution"): { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user