Commit Graph

20 Commits (37168359b74f9895f5dec54b058ea5b387864169)

Author SHA1 Message Date
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 9e671a6cbc moved constants to mg_villages.* namespace 2014-08-19 18:32:42 +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 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 b8d854e32f marked dirt roads in mapgen as used territory 2014-08-18 18:18:53 +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
Sokomine 578dba5efb made fields sourrounding the village area larger 2014-08-11 00:42:48 +02:00
Sokomine 7449d3c7a6 seperated the wheat area into fields; added small paths between the fields 2014-08-08 18:08:28 +02:00
Sokomine ff1108a415 wheat is now rotated randomly 2014-08-07 19:50:10 +02:00
Sokomine 44129e8a43 fixed a problem with snow 2014-08-06 03:33:02 +02:00
Sokomine 24a96e30bc added improved height check 2014-08-06 03:00:43 +02:00
Sokomine a5762456b4 wheat is now grown on all available soil withhin a villages' territoriy 2014-08-06 00:12:24 +02:00
Sokomine f9b4c8e4f7 added the actual mapgen (which only acts if there is a village to be placed in that mapchunk) 2014-08-05 19:55:03 +02:00
Sokomine 7fa94dc66f seperated village structure generation and placement of buildings; lowered village height to 1-5; added special road node that will not be removed by cavegen 2014-08-05 19:49:02 +02:00
Sokomine ace2ac5b8b re-added randomness to mapgen initialization 2014-08-05 17:34:50 +02:00
Sokomine 07632c8a64 land is now adjusted in height to the villages 2014-08-05 03:20:07 +02:00
Sokomine 770e6a81af made village generation really independent from mg mapgen 2014-08-05 01:24:11 +02:00