Commit Graph

57 Commits

Author SHA1 Message Date
Sokomine
748a94f497 improved road handling; added road width per village type and configurable road node for each road width 2015-07-01 03:35:02 +02:00
Sokomine
0c8af48ada furhter cleanup, this time regarding roads 2015-04-25 23:38:57 +02:00
Sokomine
0cd759ab33 fixed some small bugs 2015-04-22 17:15:22 +02:00
Sokomine
400e538383 added error handling in case of buildings no longer beeing available at a later run or getting another internal id 2015-03-27 17:56:52 +01:00
Sokomine
b3d42ed165 no other houses are placed if the area already has some terrain blending going on due to another village 2015-03-14 19:26:01 +01:00
Sokomine
ed75b5d43f single houses may intersect in their village area, but not villages 2015-03-13 05:44:47 +01:00
Sokomine
7fc6f5fc5e improved house-village-collusion-detection so that single houses do not conflict with villages 2015-03-13 05:38:44 +01:00
Sokomine
030101e135 added debug level mechanism to reduce debug and timing information which is of no intrest to players 2015-01-05 03:15:53 +01:00
Sokomine
7a3b7314f9 prevent intersecting of villages and lone houses 2014-12-25 06:05:58 +01:00
Sokomine
a4c6338cab made first village configurable 2014-12-23 02:38:24 +01:00
Sokomine
35f89bfb0e added plot markers which allow to buy plots and to change the houses on them (no price charged yet) 2014-12-21 04:21:11 +01:00
Sokomine
fe241a08ed planttype of sourrounding area now depends on the village type 2014-12-14 04:10:43 +01:00
Sokomine
7bcd2bcf4a changed village_sizes to village_type_data as preparation for code cleanup 2014-12-13 03:37:46 +01:00
Sokomine
26b0e1068e added prefixes for village name where only single houses are concerned 2014-12-07 03:24:20 +01:00
Sokomine
7726530eff typo 2014-11-29 00:46:29 +01:00
Sokomine
45ae241b51 decreased village check radius for individual houses 2014-11-29 00:45:51 +01:00
Sokomine
01b19637f2 cleaned up unneccessary global variables and made most local 2014-11-20 21:16:48 +01:00
Sokomine
29b803901e increased blend radius so that larger buildings like the chateau with garden can be spawned 2014-11-20 16:57:19 +01:00
Sokomine
677ac0c7d7 increased blending area size for individual houses slightly 2014-11-14 00:19:43 +01:00
Sokomine
398f846ff2 split up terrain blending for individual houses 2014-11-13 23:15:57 +01:00
Sokomine
32d1e0c1e6 added far better terrain blend (programmed by paramat); added update_liquids 2014-11-08 23:01:13 +01:00
Sokomine
59de523b40 reduced amount of plants around single houses - especially wheat and cotton 2014-10-26 00:00:33 +02:00
Sokomine
1ca538da70 always adjust height to terrain for new village type 'single'; added pseudo-village type single; added nomirror option for buildings; removed obsolete size parameters from buildings.lua 2014-10-24 18:10:31 +02:00
Sokomine
7c25dbcc3e data of one-house-villages is now saved as well; mapchunk size got slightly more flexible; minor optimization; check for potential one-house-villages in neighbouring mapchunks as well; improved one-house-village generation 2014-10-23 16:49:37 +02:00
Sokomine
270991df60 improved placement of single houses relative to their corresponding noise area 2014-10-20 20:04:35 +02:00
Sokomine
3db2ee2784 changed size of flattened area for single buildings 2014-10-20 17:53:34 +02:00
Sokomine
b2b900eeec added spawning of individual houses; added config options for those 2014-10-19 20:07:40 +02:00
Sokomine
256d686a58 actually loaded config file 2014-10-13 17:59:48 +02:00
Sokomine
f5709ff0f5 moved configuration out of villages.lua and into extra config.lua file 2014-10-13 17:38:49 +02:00
Sokomine
de2e87f856 sorted some functions 2014-10-08 00:23:29 +02:00
Sokomine
414cdc5240 removed some special nodes from other mods; fixed replacements for realtest 2014-10-07 22:02:01 +02:00
Sokomine
2d6f61fe04 added tents for new village type 2014-10-07 05:44:04 +02:00
Sokomine
d36e830d97 added function for filling chests and shelves with random materials 2014-09-28 03:56:24 +02:00
Sokomine
dc68c7f33b bugfixes; upside_down_stairs etc 2014-09-25 22:13:22 +02:00
Sokomine
6bd67226b9 improved replacement handling; improved replacements for realtest 2014-09-25 18:59:53 +02:00
Sokomine
51a744f3c1 added support for realtest 2014-09-25 05:22:06 +02:00
Sokomine
6e583f99a9 moved on_construct calls to after writing of mapgen 2014-09-24 23:44:34 +02:00
Sokomine
70798ce745 better detection and handling of nodes that are not defined at the time the .we file is read 2014-09-24 17:17:03 +02:00
Sokomine
c4933890ea check if on_construct actually exists for the nodes it is to be called for 2014-09-24 16:12:28 +02:00
Sokomine
8321943358 calling on_construct, growing saplings, replacing cottages-chests 2014-09-24 02:02:17 +02:00
Sokomine
896b3dba01 fixed bug with param2 rotation 2014-09-22 21:23:38 +02:00
Sokomine
f991862f8b huge speed improvement for lage villages by improved rotation 2014-09-22 05:42:42 +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
fb3aea563a prolonged main road to village boundaries 2014-08-27 00:44:00 +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
c5b1c908e7 added paramats terrain blending; set deterministic height for villages with size >= 25 2014-08-25 01:46:33 +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
9e671a6cbc moved constants to mg_villages.* namespace 2014-08-19 18:32:42 +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