openclonk/planet/Worlds.ocf/RapidRefining.ocs/System.ocg/PipeLength.c

10 lines
194 B
C

// Maximum pipe length depends on difficulty.
#appendto PipeLine
public func Definition(proplist def)
{
def.PipeMaxLength = def.PipeMaxLength * (12 - 2 * SCENPAR_Difficulty) / 10;
return;
}