170 Commits

Author SHA1 Message Date
Sokomine
fa65ee89bb moved tree growth into extra function 2014-09-23 18:08:04 +02:00
Sokomine
a48ef62742 fixed rotation bug for param2 regarding .mts files 2014-09-23 17:47:14 +02:00
Sokomine
7d3edf7c17 made use of minetest.decompress by reading .mts files directly 2014-09-23 04:53:13 +02:00
Sokomine
1389ffbecb removed obsolete rotate function 2014-09-22 21:25:14 +02:00
Sokomine
896b3dba01 fixed bug with param2 rotation 2014-09-22 21:23:38 +02:00
Sokomine
0cf61c0955 added debug information for performance measurements 2014-09-22 05:43:21 +02:00
Sokomine
f991862f8b huge speed improvement for lage villages by improved rotation 2014-09-22 05:42:42 +02:00
Sokomine
3abbd19db1 minor fix 2014-09-22 05:17:41 +02:00
Sokomine
e186a5ec9e removed set_node calls 2014-09-21 23:41:57 +02:00
Sokomine
6ac0ad262a added name generator for villages 2014-09-20 17:53:20 +02:00
Sokomine
832d902c07 add snow cover on wheat again 2014-09-16 06:01:37 +02:00
Sokomine
f484425f0d keep snow on roofs in the shell area after cavegen if possible 2014-09-16 00:05:53 +02:00
Sokomine
11e12f761b no snow or saplings below water level 2014-09-15 05:18:39 +02:00
Sokomine
d909df59bd no more jungletree saplings for branches; saplings are automaticly grown into trees; adjust height to the right village height; save village data always when needed 2014-09-15 05:11:28 +02:00
Sokomine
9de0961ff4 reduced spam by no longer printing which mts files are parsed 2014-09-15 05:03:40 +02:00
Sokomine
6dd31e2d0e added special torches that do not melt snow and thus do not cause floodings 2014-09-15 04:20:05 +02:00
Sokomine
c680c8e891 made jungletree population less dense 2014-09-15 00:40:17 +02:00
Sokomine
955ca41d59 improved snow support 2014-09-14 03:08:30 +02:00
Sokomine
5dad00f788 added limited support for big freaking dig - especially the trees 2014-09-04 22:21:32 +02:00
Sokomine
bc2097b542 added support for darkage nodes in medieval and taoki type villages 2014-09-04 21:01:22 +02:00
Sokomine
e461dce785 improved support for ethereal 2014-08-28 16:16:32 +02:00
Sokomine
9c286363a5 added support for ethereal trees/wood 2014-08-28 05:27:02 +02:00
Sokomine
d0a91eb2b8 removed old code from flattening function 2014-08-28 04:37:22 +02:00
Sokomine
632635bada added better ground node detection; moved terrain blending into lower_or_raise_terrain_at_point function; added basic support for ethereal 2014-08-28 04:35:42 +02:00
Sokomine
f9b9f120aa re-added height calculation 2014-08-27 02:11:05 +02:00
Sokomine
fb3aea563a prolonged main road to village boundaries 2014-08-27 00:44:00 +02:00
Sokomine
ed12f4d176 started improving terrain flattening code 2014-08-27 00:01:48 +02:00
Sokomine
8f236a3c61 improved detection of real ground nodes (no more undesired wood); added coal in stone below village; added stone below village and removed old buffering; added terrain blend for terrain that is lower than the village; added mg_villages.UNDO_CAVEGEN_AND_MUDFLOW flag; removed optimal height calculation for now; added mg_villages.ENABLE_TERRAIN_BLEND flag 2014-08-26 20:41:29 +02:00
Sokomine
60a5a9e690 added improved terrain blending by paramat; reduced underground adjustment to 1; added repair function for cavegen griefings and undesired mudflow; village is now written to the entire vm area 2014-08-25 17:34:16 +02:00
Sokomine
c5b1c908e7 added paramats terrain blending; set deterministic height for villages with size >= 25 2014-08-25 01:46:33 +02:00
Sokomine
37168359b7 added missing parameters; improved calculation of optimal height; added code to change height of a village; switched to soil which has no abms; removed water layer below that new soil; made sure villages are only generated in chunks where villages may actually appear 2014-08-24 01:03:28 +02:00
Sokomine
4c0b70ad7e changed protection so that only 10 nodes below the village are protected 2014-08-24 01:00:11 +02:00
Sokomine
88c72d75ea villages >= 40 in size are set to a fixed height of 1 2014-08-24 00:59:37 +02:00
Sokomine
427ad8dd86 added alternate soil for the fields which don't have ambs running 2014-08-23 23:51:46 +02:00
Sokomine
25afe15e6b logcabin villages are now independent of glasspanes mod 2014-08-19 18:52:29 +02:00
Sokomine
9e671a6cbc moved constants to mg_villages.* namespace 2014-08-19 18:32:42 +02:00
Sokomine
23a2c2f11f improved replacements for grasshut villages 2014-08-19 18:23:06 +02:00
Sokomine
af1430c5e4 added grasshut villages and soft dependencies for them 2014-08-19 18:15:08 +02:00
Sokomine
73ec3e548c fixed minor bug where dirt roads in negative z-direction where not prolonged 2014-08-19 16:47:07 +02:00
Sokomine
de796469ab avoided water spill at the edge of villages by adding water only when the field node is sourrounded by other fields 2014-08-19 16:41:20 +02:00
Sokomine
97f238849a added cottages as optional dependency 2014-08-19 16:27:02 +02:00
Sokomine
094e043a27 added doors to dependency list 2014-08-19 16:26:14 +02:00
Sokomine
1b377e02e5 cleaned up main mapgen function 2014-08-19 04:56:44 +02:00
Sokomine
b87b7aa2df moved voxelmanip code in mapgen.lua closer together 2014-08-19 04:23:45 +02:00
Sokomine
fd68ec4a85 made sure there are borders kept free from plants around each building 2014-08-19 03:54:54 +02:00
Sokomine
54d00a7303 added plantlist depending on village type 2014-08-19 03:45:45 +02:00
Sokomine
af6cf434b8 added replacements for saplings 2014-08-18 23:11:56 +02:00
Sokomine
b8d854e32f marked dirt roads in mapgen as used territory 2014-08-18 18:18:53 +02:00
Sokomine
4b764038a3 moved buildings-table to mg_villages.* namespace 2014-08-18 00:24:15 +02:00
Sokomine
c10b2ab90c removed not really working village height calculation; removed paths between buildings due to dirt_roads now beeing a better solution; added additional layer of clay below desert sand soil; removed obsolete top_node calculation 2014-08-18 00:10:36 +02:00