From bc9bb63aed82fb98eeab641eb8515c4cc1779230 Mon Sep 17 00:00:00 2001 From: Paramat Date: Wed, 18 Jul 2018 03:34:05 +0100 Subject: Mgvalleys: Make river depth variation and humidity drop optional (#7532) Add 2 new mapgen flags to make river depth variation and humidity drop with altitude independently optional, instead of both being enabled by the 'humid rivers' flag. Simplify and clarify related code by removing a low priority optimisation regarding 't_heat'. Remove unnecessary optimisation bools and use spflags directly instead. Improve and fix documentation in settingtypes.txt. A few minor code cleanups. --- builtin/settingtypes.txt | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'builtin') diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index afcee0f8c..d969799ce 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1760,14 +1760,16 @@ mgfractal_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, [*Mapgen Valleys] # Map generation attributes specific to Mapgen Valleys. -# 'altitude_chill' makes higher elevations colder, which may cause biome issues. -# 'humid_rivers' modifies the humidity around rivers and in areas where water would tend to pool, -# it may interfere with delicately adjusted biomes. -# Flags that are not enabled are not modified from the default. -# Flags starting with 'no' are used to explicitly disable them. -mgvalleys_spflags (Mapgen Valleys specific flags) flags altitude_chill,humid_rivers altitude_chill,noaltitude_chill,humid_rivers,nohumid_rivers - -# The altitude at which temperature drops by 20. +# 'altitude_chill': Reduces heat with altitude. +# 'humid_rivers': Increases humidity around rivers and where water pools. +# 'vary_river_depth': If enabled, low humidity and high heat causes rivers +# to become shallower and occasionally dry. +# 'altitude_dry': Reduces humidity with altitude. +mgvalleys_spflags (Mapgen Valleys specific flags) flags altitude_chill,humid_rivers,vary_river_depth,altitude_dry altitude_chill,noaltitude_chill,humid_rivers,nohumid_rivers,vary_river_depth,novary_river_depth,altitude_dry,noaltitude_dry + +# The vertical distance over which heat drops by 20 if 'altitude_chill' is +# enabled. Also the vertical distance over which humidity drops by 10 if +# 'altitude_dry' is enabled. mgvalleys_altitude_chill (Altitude chill) int 90 # Depth below which you'll find large caves. -- cgit v1.2.3