1
0
mirror of git://repo.or.cz/rocks.git synced 2024-11-15 23:10:40 +01:00
Realistic underground (geologic) mapgen for Minetest
Go to file
2015-04-20 15:49:07 +02:00
mineral Init mineral. 2015-04-20 15:26:47 +02:00
rocks Init mineral. 2015-04-20 15:26:47 +02:00
a.txt Doc of igneous layer. 2015-04-20 15:47:21 +02:00
AmplifiedMGv7.txt Nice set of map_meta parameters for high mountains and non-flat terrain. 2015-04-19 18:40:01 +02:00
modpack.txt This is now a modpack. 2015-04-19 20:31:54 +02:00
readme.md SymLink to docs. 2014-12-28 15:31:33 +01:00

Geological layer generator for [Minetest] "rocks"

Aim of this mod is to replace all generic stone (default:stone) and generate underground layers of different rocks.

Features

  • layers of different rocks: sort of working
  • ore veins: being added
  • extensibility, api: changed million times

** Work in progress! **

  • git clone git://repo.or.cz/rocks.git (show)
  • (old) Git clone: https

This mod nor minetest_game/default do not define meaningful biomes. So if you do not want unlimited grassland I suggest installing the Paramat's biomesdev mod and adding "rocks?" to depends.txt file inside the biomesdev folder. This is needed, becouse "rock" overrides the standard biome registration callback to patch in it's own sedimentary rocks.

Screenshots

all were out of date

License

  • My Code: GNU General Public License v2 or higher.
  • Media: see txt files in the texture folder
  • stated in the corresponding file

Documentation

How the underground is generated: todo.

Mod has been rewritten, so no doc yet.

The sedimentary layer

Is implemented by modifiing MGv7 biomes to use rocks's sedimentary rocks. This means that you need mapgen v7 enabled. I also suggest enabling caves and dungeons, as they are cool.

Soil is normlly 50-70 cm deep in real life, so I made soil (dirt) only 1 block thick. Under this thin layer of dirt an sedimentary layer is located. In RL, there is clay and other stuff.

Currently 2 sedimentary formations exists:

Coal

Large panes of coal spawn directly under grass. But be warned, they are really large and not-so-common. Best strategy is to follow rivers (MGv7 ridges) or randomly walk around and dig 2 block hole to see if coal is there.

Clay

Spawn simillary to coal, but not as large.

The Igenous layer

Default stone is aliased to basalt, but for some reason the alias is not working so please treat stone as basalt until I find way to fix it.

Everything below sedimentary and (unimp) metamorphic layer is of igneous origin. Primary rock is basalt. But about half of basalt is replaced by granite. Some smaller fraction (like 20%) is then replaced by diorite and gabbro. These are the primary rocks, and more should come.

Mineral distribution

Mineral ore is placed only in nodes of correct rock and only if the region for the ore is right. These "mineral biomes" can and do overlap and change every like 100 nodes. Following regions are defined:

Region minerals
Copper Chalcopyrite, Malachyte
Pb/Zn Sphalerite, Galena
Iron Magnetite

Skarn deposits

Are larg-ish (15-20m) blobs of skarn stone. They spawn only in granite and limestone. Copper, Lead, Zinc and Iron ores often enrich the skarn stone. Some deposits may (unimp) contain considerable amounts of Molybenium, Uranium and Wolfram ores.

Concentration of the minerals is quite high, as to regard the player for finding a not-so-common skarn vein.