Factorio Prototype DocsVersion 1.1.107

NoiseFunctionApplication :: union

Loaded as one of the NoiseFunctions listed in this union, based on the value of the function_name key.

Apply a function to a list or associative array of arguments. Some functions expect arguments to be named and some expect them not to be.

Function calls are their own class of expression (as opposed to every function just being its own expression type) because function calls all have similar properties -- arguments are themselves expressions, a function call with all-constant arguments can be constant-folded (due to referential transparency), etc.

Union members

NoiseFunctionAdd

Loaded when the function_name is "add".

NoiseFunctionSubtract

Loaded when the function_name is "subtract".

NoiseFunctionMultiply

Loaded when the function_name is "multiply".

NoiseFunctionDivide

Loaded when the function_name is "divide".

NoiseFunctionExponentiate

Loaded when the function_name is "exponentiate".

NoiseFunctionAbsoluteValue

Loaded when the function_name is "absolute-value".

NoiseFunctionClamp

Loaded when the function_name is "clamp".

NoiseFunctionCompileTimeLog

Loaded when the function_name is "compile-time-log".

NoiseFunctionDistanceFromNearestPoint

Loaded when the function_name is "distance-from-nearest-point".

NoiseFunctionRidge

Loaded when the function_name is "ridge".

NoiseFunctionTerrace

Loaded when the function_name is "terrace".

NoiseFunctionModulo

Loaded when the function_name is "modulo".

NoiseFunctionFloor

Loaded when the function_name is "floor".

NoiseFunctionCeil

Loaded when the function_name is "ceil".

NoiseFunctionBitwiseAnd

Loaded when the function_name is "bitwise-and".

NoiseFunctionBitwiseOr

Loaded when the function_name is "bitwise-or".

NoiseFunctionBitwiseXor

Loaded when the function_name is "bitwise-xor".

NoiseFunctionBitwiseNot

Loaded when the function_name is "bitwise-not".

NoiseFunctionSin

Loaded when the function_name is "sin".

NoiseFunctionCos

Loaded when the function_name is "cos".

NoiseFunctionAtan2

Loaded when the function_name is "atan2".

NoiseFunctionLessThan

Loaded when the function_name is "less-than".

NoiseFunctionLessOrEqual

Loaded when the function_name is "less-or-equal".

NoiseFunctionEquals

Loaded when the function_name is "equals".

NoiseFunctionFactorioBasisNoise

Loaded when the function_name is "factorio-basis-noise".

NoiseFunctionFactorioQuickMultioctaveNoise

Loaded when the function_name is "factorio-quick-multioctave-noise".

NoiseFunctionRandomPenalty

Loaded when the function_name is "random-penalty".

NoiseFunctionLog2

Loaded when the function_name is "log2".

NoiseFunctionNoiseLayerNameToID

Loaded when the function_name is "noise-layer-name-to-id".

NoiseFunctionAutoplaceProbability

Loaded when the function_name is "autoplace-probability".

NoiseFunctionAutoplaceRichness

Loaded when the function_name is "autoplace-richness".

NoiseFunctionOffsetPoints

Loaded when the function_name is "offset-points".

NoiseFunctionFactorioMultioctaveNoise

Loaded when the function_name is "factorio-multioctave-noise".

NoiseFunctionSpotNoise

Loaded when the function_name is "spot-noise".

Prototypes

Types