Commit Graph

67 Commits

Author SHA1 Message Date
Auke Kok
38a8351327 Register biomes before ores.
We may want to use biomes here at a later stage.
2016-01-26 21:33:27 +00:00
paramat
4b8410a982 Default/mapgen: Remove unused 'mapgen_air' alias 2016-01-22 13:21:26 +00:00
Auke Kok
6267f26027 Aspen trees.
Adds a birch-like tree to the default_game. Aspen was chosen on
purpose instead of birch, as several birch tree mods already exist
and choosing a different name avoids any conflicts.

Schematics were made for both normal and sapling version, assuring
saplings will not be able to grief. The shape of the Aspen is "fanning
out at the top" and provides an easy tree to walk under, but still a
somewhat thick cover. The Aspen trunk is 4 to 6 blocks tall, with up
to three layers of leaves on top, making it slightly taller than an
Apple tree, but shorter than a Pine tree, which provides a good blend.

Textures were painted from scratch, except tree_top and _wood
variants, which are color modified versions of the pine_wood
variants. Appropriate licenses have been chosen for the new textures.

The leaf texture is light enough to contrast other trees, but dark
enough to offset against our light default grass color. The leaves
are drawn in the typical minetest default fashion with plenty of
transparancy, but enough definition to suggest that you're seeing
something that looks like leaves. The placement of leaves in the
schematic also suggests the top of the tree is sparse and you can
see the sky through the leaves.

Sapling texture is both traditional and different, with lush green
leaves and a well-defined stem, but slightly stick-like and skinny,
as these plants tend to grow up first, then out.

Add fallen Aspen logs. We make these logs a minimum of 2 blocks long,
and up to 3. This allows us to make these logs a place where both
red and brown mushrooms can be found, to these may be attractive to
players. However, the spawn rate for these has been reduced a lot
compared to the other logs, to account for the scarcity of Aspen.

Add stairs, slabs for these wood types as well.

Mapgen will place these trees in deciduous forests only, but in
a way that the biome is a range between entirely Apple trees, and
mostly entirely Aspen trees, with a bias to Apple trees. To make
fallen logs somewhat correlated with trees, we modify the planting
of Apple trees and logs to use perlin noise and not fill ratio,
otherwise you'd always end up with Apple logs in Aspen tree areas,
which would be suspicious. There still is a bit of a mix.
2016-01-15 04:56:15 +00:00
Auke Kok
223e924edf Lower mushroom-on-log rate for pine forests.
These were likely too high, so we lower them to the rate
of mushrooms on apple trees.

issue #773
2016-01-08 04:44:29 +00:00
Auke Kok
57939c6c3f Place tree logs as decorations.
We can vary the landscape a bit more by placing "fallen logs"
around the various forests. These decorations are quite fast
and will provide some gameplay value but are still more rare
than the corresponding trees, so they don't provide free
materials.

I've manually put the schematic as lua tables since these log
schematics are only 8 blocks. We vary the log lengths between
1 and 3 blocks by making the end blocks have a lower chance
of appearing.

Amount is varied by fill_ratio, except for acacia trees where
we reduce the scale, so that acacia logs show up near places with
acacia trees consistently.

Mushrooms are placed optionally on each log. We can't place
two different mushrooms on a log, so instead we opt to place
brown mushrooms on oak/appletree logs, brown mushrooms on
jungletree logs, and red mushrooms on pine logs. No mushrooms
are placed on acacia logs, as they occur in a dry biome,
savannah, and this adds a bit of biome diversity.
2016-01-07 05:36:12 +00:00
paramat
76471dd137 Default: Add mapgen alias for air 2015-12-31 00:05:34 +00:00
paramat
eaed418b10 Ores: Allow dirt and sand blob ore in sandstone, desert stone
Re-align parameter format in 'register ore'
2015-12-23 16:55:18 +00:00
paramat
c3a1545ca1 Default/mapgen: Correct spelling of 'noise threshhold' in 'register ore' 2015-12-19 15:03:09 +00:00
paramat
a1b8b68e92 Default/mapgen: Re-add grassy sand dune biomes 2015-12-19 15:03:09 +00:00
paramat
abf0ca9c7e Default/mapgen: Retune cactus density due to low density fix 2015-11-23 03:19:11 +00:00
paramat
0d49978341 Default/mapgen: Use sidelen 16 for low density decorations
The fixing of low density decorations allows returning to
sidelen 16 for acacia trees and cacti, previously sidelen
80 was required for low density decorations to appear
Also use sidelen 16 instead of 8 for mgv6 papyrus
2015-11-15 09:20:21 +00:00
paramat
e67e28d226 Default/mapgen: Fix missing taiga pine 2015-11-09 01:10:41 +00:00
paramat
3d6f1685ad Default/mapgen: Tune biome points for improved disribution
Bring humidity points closer to reduce distortion of voronoi cells
Slightly reduce size of hot and frozen biomes
Improve location of glacier biomes
Remove unnecessary snow nodeboxes from tundra to improve FPS
Add missing dirt_with_snow to taiga
2015-11-08 05:04:39 +00:00
paramat
592ca341ea Default/mapgen: Tune biome points and biome depths 2015-11-04 01:13:46 +00:00
paramat
41c1e99b1f Default/mapgen: Remove dunes biome. Sand for glacier seabed 2015-10-10 16:28:49 +01:00
paramat
f4a412d9c1 Papyrus: Grow on dirt and grass only, remove from desert ocean 2015-10-05 01:47:37 +01:00
paramat
2119054a95 Mgv5/7 biomes: Add more shallow dirt waters
Dirt waters are more suitable for waterlilies
Add dedicated dunes biome in coniferous forest
Papyrus: use dirt base again
Force-place roots on mapgen tree schematics
Tune some humidity points to improve voronoi cells
Add random rotation to jungle trees
2015-10-03 01:12:45 +01:00
paramat
24578ca968 Default/mapgen blob ores: Tune, make faithful to mgv6 2015-09-20 00:39:05 +01:00
paramat
1cc8300ba9 Default/mapgen: Make river water ice in glacier biome
Add commented-out 'node river water' lines to all biomes
2015-09-10 16:34:34 +01:00
paramat
4d9b595a69 Default: Allow papyrus growing on default:sand
Mgv5/mgv7 papyrus schematic now has sand nodes as a base
Add sand beach to mgv5/mgv7 deserts
2015-08-31 22:58:33 +01:00
paramat
be4dd6479d Default: Rename pine tree nodes, textures and mapgen aliases 2015-08-10 09:19:02 +01:00
paramat
0a3bf5b220 Biomes: Tune v5/v7 biomes and v5/v6/v7 mushroom distribution
More complex distribution of dry grasses
Remove water below glacier rivers
Gravel as glacier seabed
Do not force-place acacia root
Tune acacia tree density
Match mgv5/v7 mushrooms to tree density
Spawn mgv6 mushrooms by trees
2015-08-07 17:13:33 +01:00
paramat
84de5f0f40 Add biomes for mgv5 and mgv7 2015-07-30 01:19:12 +01:00
paramat
252dffce78 Default/mapgen: Disable nyancats in singlenode mapgen 2015-07-27 05:05:50 +01:00
paramat
0914e595c7 Default/mapgen: Add missing spaces 2015-07-01 08:34:25 +01:00
Calinou
6919d43d02 Remove deprecated ore generation code 2015-06-07 04:38:52 +01:00
paramat
dd34dffa45 Default/mapgen: Add sandstone alias for sandstone biome detection 2015-05-12 23:31:38 +01:00
paramat
ab4485f824 Default/mapgen: Add mapgen aliases for sandstone brick and sandstone brick stair, to enable sandstone dungeons 2015-05-12 16:23:09 +02:00
paramat
055157d084 Default/mapgen: Make register function selection compatible with future mapgens 2015-05-11 05:37:04 +01:00
paramat
d0070f2b1a Default/mapgen: Add dry shrub to mgv6 tundra 2015-04-23 06:28:49 +01:00
paramat
c570f9f494 Default/mapgen: Add alias for river water source 2015-04-19 04:00:46 +01:00
paramat
87468eb6fc Default/mapgen: Fix missing num_spawn_by = 1 line for papyrus 2015-04-05 01:37:14 +01:00
paramat
4a7a51a46e Default/mapgen.lua: Remove ores absheight flags. Add aliases for mgv6 snow biomes 2015-03-30 00:21:47 +01:00
paramat
ccb4b925ed default/mapgen.lua: Register mgv6 decorations
Organise and cleanup code
2015-03-27 00:29:44 +00:00
paramat
a192f9fc78 default/mapgen.lua: Update biomes for new biome API
Register blob ores in mgv6 to replace addDirtGravelBlobs
Combine ores and blobs functions
2015-03-17 07:46:45 +00:00
paramat
3b526a7276 mapgen.lua: Add dirt/sand/gravel blob ores for mgv5/mgv7
Create register ores function. Select and order functions per mapgen
Use blob ore for clay. Update ore height_min/max to y_min/max
Tune flower amount
2015-02-22 01:34:35 +00:00
paramat
047bfb9ad1 Simple biomes for mgv5/mgv7. Uses get_mapgen_params 2015-01-10 15:32:16 +01:00
PenguinDad
3bf3249d71 Fix leaking globals in flowers and default mapgen.lua
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22 00:24:49 +10:00
paramat
e71b71c1a9 Default and flowers: only run on-generated functions in mgv6. Remove indev ore definitions 2014-11-16 19:38:04 +01:00
PilzAdam
51de4236ab Remove / replace all print() calls 2013-11-17 11:55:46 +01:00
4Evergreen4
91849c3b4e Implemented facedir in the nyan cat rainbow 2013-11-03 15:30:24 -05:00
Kahrl
cf6f458906 Remove mapgen_air alias 2013-10-05 18:50:33 +02:00
Sfan5
a4823a4261 Add mapgen_stair_cobble to minetest_game 2013-09-06 21:47:21 +02:00
PilzAdam
b0ab4fb4ab Generate clay with register_ore() 2013-06-18 00:51:26 +00:00
PilzAdam
31a74ede18 Replace minetest.env: with minetest. 2013-05-25 00:40:03 +02:00
PilzAdam
ea6d504b01 Split init.lua into several files 2013-05-19 18:43:04 +02:00
PilzAdam
fcf0816fa8 Move all common mods back to minetest_game 2013-05-18 16:05:16 +02:00
PilzAdam
d6ec56811b Use common mods 2013-03-21 18:44:36 +01:00
PilzAdam
9ff8f8038e Add grass 2013-03-18 22:27:15 +01:00
PilzAdam
4b9914fdcb Add jungleleaves, junglewood and junglesapling 2013-03-16 21:55:29 +01:00