Commit Graph

86 Commits

Author SHA1 Message Date
Sokomine
91b8ef2664 first step of namespace cleanup for place_buildings.lua 2015-04-25 05:30:54 +02:00
Sokomine
2b33e88885 only place moresnow on plants around the village if moresnow is installed 2015-03-28 17:56:28 +01:00
Sokomine
15233d2d10 adjust terrain height below single houses as well 2015-03-27 16:49:47 +01:00
Sokomine
e14fe761e1 fixed typo 2015-03-26 01:17:04 +01:00
Sokomine
d886af6450 don't try to use snow on worlds where none exists 2015-03-25 21:58:21 +01:00
Sokomine
b2aea157e8 changed debug output a bit 2015-03-24 20:54:44 +01:00
Sokomine
3d6707b7d7 removed obsolete functions 2015-03-24 18:05:02 +01:00
Sokomine
9cbffa6fca added mg_villages.inside_village_terrain_blend_area 2015-03-14 19:25:27 +01:00
Sokomine
1e40f6bafb fixed bug with bottom tree trunks beeing rotated; added nice winter leaves in case of moresnow beeing installed 2015-01-22 04:03:07 +01:00
Sokomine
fbca6fce26 always save data of villages if something changed 2015-01-14 06:32:40 +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
9df7f0c80b added pine trees which where added recently to default 2014-12-31 02:23:46 +01:00
Sokomine
cef31621a3 fixed village height for very first village 2014-12-31 00:20:18 +01:00
Sokomine
78d003a0ee only the very first village is set to a height of 1 2014-12-30 23:59:44 +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
48070f8e9f re-organized buildings.lua and split it up 2014-12-13 06:51:00 +01:00
Sokomine
01b19637f2 cleaned up unneccessary global variables and made most local 2014-11-20 21:16:48 +01:00
Sokomine
ff97888adc only grow trees and jungletrees if the nodes for them exist 2014-11-17 05:47:12 +01:00
Sokomine
625600c058 single houses are not set to height 0 in the first chunk (as villages are); raised village terrain by 1 2014-11-14 01:43:47 +01:00
Sokomine
2b5a224de1 avoid artefacts where terrain blend encounters deep oceans 2014-11-14 00:19:01 +01:00
Sokomine
398f846ff2 split up terrain blending for individual houses 2014-11-13 23:15:57 +01:00
Sokomine
cb6541bf90 added tree growing code for normal and jungletrees as the default game no longer provides a suitable interface 2014-11-13 22:07:45 +01:00
Sokomine
32d1e0c1e6 added far better terrain blend (programmed by paramat); added update_liquids 2014-11-08 23:01:13 +01:00
Sokomine
4724787321 improved height calculation 2014-10-26 02:30:42 +01: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
c7b5279dab towers are slightly higher placed than other buildings 2014-10-20 20:03:43 +02:00
Sokomine
6552efacb5 re-enabled debug messages for performance measurement 2014-10-20 17:16:05 +02:00
Sokomine
9dbfd06234 corrected height detection when dealing with ground below a height of 0 2014-10-19 21:15:25 +02:00
Sokomine
b2b900eeec added spawning of individual houses; added config options for those 2014-10-19 20:07:40 +02:00
Sokomine
40b6ed38e8 moved further config value into config.lua 2014-10-13 18:13:16 +02:00
Sokomine
308df19006 moved spawning of player into extra file; made sure players do not spawn inside stone below the village if said villages height got changed 2014-10-13 17:17:42 +02:00
Sokomine
21e7d6e79f reduced amount of performance debug information printed 2014-10-11 23:42:29 +02:00
Sokomine
d849081e8d only allow height changes if the new height is>0 2014-10-11 23:34:41 +02:00
Sokomine
ca89bfc05e cleaned up noise usage in mapgen.lua 2014-10-11 23:25:50 +02:00
Sokomine
1e1cf8c249 removed noise parameter where not needed 2014-10-11 00:54:48 +02:00
Sokomine
13e574a158 removed obsolte code 2014-10-10 23:54:08 +02:00
Sokomine
7c126b9541 added option to cover some villages with snow even if no snow mod is installed 2014-10-10 01:51:12 +02:00
Sokomine
abb9e3cb71 do not accept nodeboxes as natural ground 2014-10-06 18:46:56 +02:00
Sokomine
375e33a8f7 removed chest fill code from main loop; disabled place_schematics code as that is no longer needed 2014-09-30 16:08:50 +02:00
Sokomine
d36e830d97 added function for filling chests and shelves with random materials 2014-09-28 03:56:24 +02:00
Sokomine
c6340f10b5 do not save extra_calls in village data 2014-09-28 01:59:41 +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
8321943358 calling on_construct, growing saplings, replacing cottages-chests 2014-09-24 02:02:17 +02:00
Sokomine
fa65ee89bb moved tree growth into extra function 2014-09-23 18:08:04 +02:00
Sokomine
0cf61c0955 added debug information for performance measurements 2014-09-22 05:43:21 +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