Skip to content

Commit 64049cf

Browse files
committedNov 4, 2015
Mgfractal: Add documentation to conf.example and settingtypes
1 parent 8f03995 commit 64049cf

File tree

2 files changed

+134
-7
lines changed

2 files changed

+134
-7
lines changed
 

‎builtin/settingtypes.txt

+60-4
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ liquid_update (Liquid update tick) float 1.0
812812

813813
# Name of map generator to be used when creating a new world.
814814
# Creating a world in the main menu will override this.
815-
mg_name (Mapgen name) enum v6 v5,v6,v7,singlenode
815+
mg_name (Mapgen name) enum v6 v5,v6,v7,fractal,singlenode
816816

817817
# Water surface level of the world.
818818
water_level (Water level) int 1
@@ -885,13 +885,13 @@ mgv5_np_cave2 (Mapgen v5 cave2 noise parameters) noise_params 0, 12, (50, 50, 50
885885

886886
[***Mapgen v6]
887887

888-
# Map generation attributes specific to Mapgen V6.
888+
# Map generation attributes specific to Mapgen v6.
889889
# When snowbiomes are enabled jungles are enabled and the jungles flag is ignored.
890890
# Flags that are not specified in the flag string are not modified from the default.
891891
# Flags starting with "no" are used to explicitly disable them.
892892
mgv6_spflags (Mapgen v6 flags) flags jungles,biomeblend,mudflow,snowbiomes jungles,biomeblend,mudflow,snowbiomes,nojungles,nobiomeblend,nomudflow,nosnowbiomes
893893

894-
# Controls size of deserts and beaches in Mapgen V6.
894+
# Controls size of deserts and beaches in Mapgen v6.
895895
# When snowbiomes are enabled 'mgv6_freq_desert' is ignored.
896896
mgv6_freq_desert (Mapgen v6 desert frequency) float 0.45
897897
mgv6_freq_beach (Mapgen v6 beach frequency) float 0.15
@@ -909,7 +909,8 @@ mgv6_np_trees (Mapgen v6 trees noise parameters) noise_params 0, 1, (125, 125, 1
909909
mgv6_np_apple_trees (Mapgen v6 apple trees noise parameters) noise_params 0, 1, (100, 100, 100), 342902, 3, 0.45, 2.0
910910

911911
[***Mapgen v7]
912-
# Map generation attributes specific to Mapgen V7.
912+
913+
# Map generation attributes specific to Mapgen v7.
913914
# 'ridges' are the rivers.
914915
# Flags that are not specified in the flag string are not modified from the default.
915916
# Flags starting with "no" are used to explicitly disable them.
@@ -927,6 +928,61 @@ mgv7_np_ridge (Mapgen v7 ridge noise parameters) noise_params 0, 1, (100, 100, 1
927928
mgv7_np_cave1 (Mapgen v7 cave1 noise parameters) noise_params 0, 12, (100, 100, 100), 52534, 4, 0.5, 2.0
928929
mgv7_np_cave2 (Mapgen v7 cave2 noise parameters) noise_params 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0
929930

931+
[***Mapgen fractal]
932+
933+
# Map generation attributes specific to Mapgen fractal.
934+
# 'julia' selects a julia set to be generated instead of a mandelbrot set.
935+
# Flags that are not specified in the flag string are not modified from the default.
936+
# Flags starting with "no" are used to explicitly disable them.
937+
mgfractal_spflags (Mapgen fractal flags) flags nojulia julia,nojulia
938+
939+
# Mandelbrot set: iterations of recursive function.
940+
# Controls scale of finest detail.
941+
mgfractal_m_iterations (Mapgen fractal mandelbrot iterations) int 9
942+
#
943+
# TODO
944+
# Mandelbrot set: Approximate scale in nodes.
945+
#mgfractal_m_scale (Mapgen fractal mandelbrot scale) v3f (1024.0, 256.0, 1024.0)
946+
#
947+
# Mandelbrot set: Offsets the fractal from world centre.
948+
# Range -2 to 2, multiply by m_scale for actual offset in nodes.
949+
#mgfractal_m_offset (Mapgen fractal mandelbrot offset) v3f (1.75, 0.0, 0.0)
950+
951+
# Mandelbrot set: W co-ordinate of the generated 3D slice of the 4D shape.
952+
mgfractal_m_slice_w (Mapgen fractal mandelbrot slice w) float 0.0
953+
954+
# Julia set: iterations of recursive function.
955+
# Controls scale of finest detail.
956+
mgfractal_j_iterations (Mapgen fractal julia iterations) int 9
957+
#
958+
# TODO
959+
# Julia set: Approximate scale in nodes.
960+
#mgfractal_j_scale (Mapgen fractal julia scale) v3f (2048.0, 512.0, 2048.0)
961+
#
962+
# Julia set: Offsets the fractal from world centre.
963+
# Range -2 to 2, multiply by j_scale for actual offset in nodes.
964+
#mgfractal_j_offset (Mapgen fractal julia offset) v3f (0.0, 1.0, 0.0)
965+
966+
# Julia set: W co-ordinate of the generated 3D slice of the 4D shape.
967+
mgfractal_j_slice_w (Mapgen fractal julia slice w) float 0.0
968+
969+
# Julia set: X value determining the 4D shape.
970+
mgfractal_julia_x (Mapgen fractal julia x) float 0.33
971+
972+
# Julia set: Y value determining the 4D shape.
973+
mgfractal_julia_y (Mapgen fractal julia y) float 0.33
974+
975+
# Julia set: Z value determining the 4D shape.
976+
mgfractal_julia_z (Mapgen fractal julia z) float 0.33
977+
978+
# Julia set: W value determining the 4D shape.
979+
mgfractal_julia_w (Mapgen fractal julia w) float 0.33
980+
981+
mgfractal_np_seabed (Mapgen fractal seabed noise parameters) noise_params -14, 9, (600, 600, 600), 41900, 5, 0.6, 2.0
982+
mgfractal_np_filler_depth (Mapgen fractal filler depth noise parameters) noise_params 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0
983+
mgfractal_np_cave1 (Mapgen fractal cave1 noise parameters) noise_params 0, 12, (128, 128, 128), 52534, 4, 0.5, 2.0
984+
mgfractal_np_cave2 (Mapgen fractal cave2 noise parameters) noise_params 0, 12, (128, 128, 128), 10325, 4, 0.5, 2.0
985+
930986
[*Security]
931987

932988
# Prevent mods from doing insecure things like running shell commands.

‎minetest.conf.example

+74-3
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@
10001000

10011001
# Name of map generator to be used when creating a new world.
10021002
# Creating a world in the main menu will override this.
1003-
# type: enum values: v5, v6, v7, singlenode
1003+
# type: enum values: v5, v6, v7, fractal, singlenode
10041004
# mg_name = v6
10051005

10061006
# Water surface level of the world.
@@ -1089,7 +1089,7 @@
10891089

10901090
#### Mapgen v6
10911091

1092-
# Map generation attributes specific to Mapgen V6.
1092+
# Map generation attributes specific to Mapgen v6.
10931093
# When snowbiomes are enabled jungles are enabled and the jungles flag is ignored.
10941094
# Flags that are not specified in the flag string are not modified from the default.
10951095
# Flags starting with "no" are used to explicitly disable them.
@@ -1139,7 +1139,7 @@
11391139

11401140
#### Mapgen v7
11411141

1142-
# Map generation attributes specific to Mapgen V7.
1142+
# Map generation attributes specific to Mapgen v7.
11431143
# 'ridges' are the rivers.
11441144
# Flags that are not specified in the flag string are not modified from the default.
11451145
# Flags starting with "no" are used to explicitly disable them.
@@ -1179,6 +1179,77 @@
11791179
# type: noise_params
11801180
# mgv7_np_cave2 = 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0
11811181

1182+
#### Mapgen fractal
1183+
1184+
# Map generation attributes specific to Mapgen fractal.
1185+
# 'julia' selects a julia set to be generated instead of a mandelbrot set.
1186+
# Flags that are not specified in the flag string are not modified from the default.
1187+
# Flags starting with "no" are used to explicitly disable them.
1188+
# type: flags possible values: julia, nojulia
1189+
# mgfractal_spflags = nojulia
1190+
1191+
# Mandelbrot set: iterations of recursive function.
1192+
# Controls scale of finest detail.
1193+
# type: int
1194+
# mgfractal_m_iterations = 9
1195+
1196+
# Mandelbrot set: Approximate scale in nodes.
1197+
# type: v3f
1198+
# mgfractal_m_scale = (1024.0, 256.0, 1024.0)
1199+
1200+
# Mandelbrot set: Offsets the fractal from world centre.
1201+
# Range -2 to 2, multiply by m_scale for actual offset in nodes.
1202+
# type: v3f
1203+
# mgfractal_m_offset = (1.75, 0.0, 0.0)
1204+
1205+
# Mandelbrot set: W co-ordinate of the generated 3D slice of the 4D shape.
1206+
# type: float
1207+
# mgfractal_m_slice_w = 0.0
1208+
1209+
# Julia set: iterations of recursive function.
1210+
# Controls scale of finest detail.
1211+
# type: int
1212+
# mgfractal_j_iterations = 9
1213+
1214+
# Julia set: Approximate scale in nodes.
1215+
# type: v3f
1216+
# mgfractal_j_scale = (2048.0, 512.0, 2048.0)
1217+
1218+
# Julia set: Offsets the fractal from world centre.
1219+
# Range -2 to 2, multiply by j_scale for actual offset in nodes.
1220+
# type: v3f
1221+
# mgfractal_j_offset = (0.0, 1.0, 0.0)
1222+
1223+
# Julia set: W co-ordinate of the generated 3D slice of the 4D shape.
1224+
# type: float
1225+
# mgfractal_j_slice_w = 0.0
1226+
1227+
# Julia set: The following 4 values determine the 4D shape.
1228+
# Range -2 to 2.
1229+
# type: float
1230+
# mgfractal_julia_x = 0.33
1231+
1232+
# type: float
1233+
# mgfractal_julia_y = 0.33
1234+
1235+
# type: float
1236+
# mgfractal_julia_z = 0.33
1237+
1238+
# type: float
1239+
# mgfractal_julia_w = 0.33
1240+
1241+
# type: noise_params
1242+
# mgfractal_np_seabed = -14, 9, (600, 600, 600), 41900, 5, 0.6, 2.0
1243+
1244+
# type: noise_params
1245+
# mgfractal_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0
1246+
1247+
# type: noise_params
1248+
# mgfractal_np_cave1 = 0, 12, (128, 128, 128), 52534, 4, 0.5, 2.0
1249+
1250+
# type: noise_params
1251+
# mgfractal_np_cave2 = 0, 12, (128, 128, 128), 10325, 4, 0.5, 2.0
1252+
11821253
## Security
11831254

11841255
# Prevent mods from doing insecure things like running shell commands.

0 commit comments

Comments
 (0)
Please sign in to comment.