Commit Graph

289 Commits

Author SHA1 Message Date
Wuzzy d0678d33f8 Use dungeons flag in mg_dungeons for MCL2 dungeons 2020-06-16 02:33:51 +02:00
Wuzzy 2394809649 Respect player's choice of mg_flags 2020-06-16 01:46:07 +02:00
Wuzzy dded403409 Mapgen: Set biomes flag explicitly 2020-06-16 00:20:13 +02:00
Wuzzy d29c4bb795 Fix 2 undeclared global warnings in mapgen core 2019-12-22 20:22:19 +01:00
Wuzzy 305145ca1c Tweak oceangen 2019-12-18 21:04:07 +01:00
Wuzzy f74a502979 Generate sponges in v6 2019-12-18 20:39:14 +01:00
Wuzzy 8b6dc30943 Generate kelp/seagrass in v6 2019-12-18 19:15:21 +01:00
Wuzzy affb984c56 Fix mapgen crash if there's unknown nodes 2019-12-14 01:30:21 +01:00
Wuzzy 3e3ed630e5 Add per-biome grass coloring 2019-12-13 23:48:13 +01:00
Wuzzy 62096c723a Generate new grass color 2019-12-13 15:33:13 +01:00
Wuzzy 76ed6ff826 MGV6: Generate witch huts only in Normal biome 2019-09-11 16:06:41 +02:00
Wuzzy c49efcf9ad Fix floating vines rarely generating in jungles 2019-03-22 11:20:34 +01:00
Wuzzy b0acd134ca Remove sand solidification code
Minetest does this now
2019-03-16 06:43:59 +01:00
Wuzzy 7935e64637 Cleanup ambigious sandstone groups, change meaning
- Change meaning of "sandstone" group to include sandstone of any color
- Add "normal_sandstone" group
- Rename "redsandstone" group to "red_sandstone"
2019-03-12 01:50:42 +01:00
Wuzzy f55dac38e2 Re-introduce melons in v6 mapgen 2019-03-10 06:50:15 +01:00
Wuzzy a943428b11 Simplify pumpkin map generation 2019-03-10 06:37:36 +01:00
Wuzzy aee7c4b4a2 Simplify top snow generation in v6 2019-03-10 06:06:06 +01:00
Wuzzy 05e8cc8a2c Don't turn water into end stone anymore 2019-03-09 21:20:37 +01:00
Wuzzy 7ca999626d Restrict v6 generation of ice spikes to snow block 2019-03-06 23:17:06 +01:00
Wuzzy 2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy e28f213f9a Add workaround to fix broken double plants in v6 2019-02-09 06:08:35 +01:00
Wuzzy e89a01630b Remove misunderstood replacements from decorations
I thought it would replace nodes on the map, but it turned it it replaces nodes from the schematic definition.
2019-02-09 04:32:55 +01:00
Wuzzy 3ec7914962 Allow to use Minetest's original flat mapgen again 2019-02-09 03:07:18 +01:00
Wuzzy 62159b0aa0 Core mapgen: Extend some stuff to emin,emax 2019-02-06 04:32:20 +01:00
Wuzzy f8362e798f Make v6 ice spikes much rarer 2018-05-28 16:32:15 +02:00
Wuzzy 12b0954523 Fix possible crash in mcl_mapgen_core 2018-05-20 15:25:57 +02:00
Wuzzy 16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy 9d409927bc Make nether wart more common in v6 2018-01-17 22:56:20 +01:00
Wuzzy b96974e253 Fix biome ores being generated in all biomes 2018-01-10 17:57:15 +01:00
Wuzzy 6e7e780af9 Fix ores spawning in non-existing biomes 2018-01-10 17:23:58 +01:00
Wuzzy 479ed1c12a Fix generated vines sometimes horizontal in air 2018-01-07 16:00:21 +01:00
Wuzzy b4bb986d61 Add river water 2017-11-30 14:19:00 +01:00
Wuzzy 72684f36ff Remove faceless pumpkins from survival again
The top face rotates when you use shears on the pumpkin.
2017-11-27 12:40:07 +01:00
Wuzzy b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy ce544cce6e Add faceless pumpkin 2017-11-23 00:05:31 +01:00
Wuzzy fc17303b1e Generate end exit portal near the spawn in the End 2017-11-21 07:24:56 +01:00
Wuzzy 7c15d5f9ac More MC-like end portal block (WIP) 2017-11-21 05:39:27 +01:00
Wuzzy d549dc0752 Add missing nil check for minetest.get_node_light 2017-11-18 21:39:00 +01:00
Wuzzy 8db574d30e Clean up grass block group stuff 2017-11-15 20:27:29 +01:00
Wuzzy 72f5591400 Add dry-colored grass/fern variants 2017-11-14 23:44:53 +01:00
Wuzzy 53f231a576 Fix biomemap being screwed up in mcl_mapgen_core 2017-11-07 20:16:25 +01:00
Wuzzy d4708c804a Don't generate bedrock and lava in singlenode 2017-11-07 05:29:39 +01:00
Wuzzy e03a2ee9a2 Make sugar canes less common in v6 2017-09-19 13:47:04 +02:00
Wuzzy 6f85cbdbc8 Fix large ferns never generating in v6 jungles 2017-09-13 18:34:19 +02:00
Wuzzy 4098c317e5 Tweak tall grass amount in v6 2017-09-13 18:29:03 +02:00
Wuzzy 12a43a25c8 Generate more tall grass in v6 2017-09-13 17:56:57 +02:00
Wuzzy e4a7c10363 Generate more gold ore in Mesa 2017-09-13 10:30:18 +02:00
Wuzzy 78fbb85371 Fix 2 code typos in mcl_mapgen_core 2017-09-13 05:45:27 +02:00
Wuzzy 8ebbfd9ab4 Fix underground and deep ocean biomes for once 2017-09-13 05:41:43 +02:00
Wuzzy 006f27750e Put monster egg and emerald in Extreme Hills only 2017-09-13 04:59:12 +02:00
Wuzzy b09e757a03 Tweak emerald ore and stone monster egg spawn 2017-09-13 04:13:55 +02:00
Wuzzy 88429f70ad Reduce vine threshold in Jungle M biome 2017-09-13 01:57:03 +02:00
Wuzzy cec723d47b Use LuaVoxelManip for vine generation
Important for Jungle M!
2017-09-13 01:47:24 +02:00
Wuzzy 2fce8752f2 Fix incorrect biome IDs in mcl_mapgen_core 2017-09-13 00:36:16 +02:00
Wuzzy caedf0649a Fix bedrock/lava/void layers not generating at all
lvm_used was accidentally set to nil by the clay generator. OMG!
2017-09-12 18:09:26 +02:00
Wuzzy 3643e9ac92 Fix some bad variables in mcl_mapgen_core 2017-09-12 08:11:03 +02:00
Wuzzy 4468b53fdd Add Jungle M biome 2017-09-12 05:20:03 +02:00
Wuzzy 27f3b9f3d9 VM: Update liquids after writing to map 2017-09-11 16:26:15 +02:00
Wuzzy b8461596a3 Generate clay in voxelmanip 2017-09-11 04:24:24 +02:00
Wuzzy e7db6f3c89 Generate clay more MC-like
* Diamond shape
* Flat
* Close to water surface
2017-09-11 03:58:07 +02:00
Wuzzy 24abe81409 mcl_mapgen_core: Put all mapgen code into single on_generated
This fixes some mapgen race conditions
2017-09-11 01:59:20 +02:00
Wuzzy 06256f068b Generate witch huts slightly deeper 2017-09-11 01:34:37 +02:00
Wuzzy 0baa563072 Generate witch huts only in swamplands 2017-09-11 00:28:52 +02:00
Wuzzy 75aec87b48 Remove weird witch hut debug stuff 2017-09-10 21:05:03 +02:00
Wuzzy 98e5f2b0ba Refactor Minecraft chunk probability code for structures 2017-09-10 20:41:22 +02:00
Wuzzy 876e2c6eb4 Random rotation for witch huts 2017-09-10 20:16:13 +02:00
Wuzzy 55e8d7503e Rarely generate witch huts (experimental) 2017-09-10 19:14:58 +02:00
Wuzzy b1065b2247 Use Biome API to turn floating sand to sandstone 2017-09-10 16:44:37 +02:00
Wuzzy 5448669ffd Generate pumpkins in every biome 2017-09-10 06:06:02 +02:00
Wuzzy f0b87379d3 Generate blue orchids only up to Y=5 in v6
But increase noise offset to 0. This spawn strategy emulates swamplands.
2017-09-09 21:05:40 +02:00
Wuzzy 0ceecec7c3 Add jungle edge biome 2017-09-09 01:13:21 +02:00
Wuzzy 0259353b6f Rework vine gen code and gen vines in swampland 2017-09-08 21:45:22 +02:00
Wuzzy 237541789b Spawn fossils in fixed height range 2017-09-08 05:49:24 +02:00
Wuzzy 86db1a8a0e Generate fossils in deserts 2017-09-08 05:06:42 +02:00
Wuzzy 11b56dfb51 Prevent desert temple spawning on beaches 2017-09-08 04:33:30 +02:00
Wuzzy 8576d36a2c Generate ice spikes in v6 2017-09-08 00:38:55 +02:00
Wuzzy b88ae2f1e4 Refactor mcl_mapgen_core and improve mg performace 2017-09-06 08:36:01 +02:00
Wuzzy 9a67b90538 Greatly reduce mapgen stress 2017-09-06 07:12:27 +02:00
Wuzzy 2141fb1df7 Clear snowy grass block if not below snow 2017-09-06 05:01:43 +02:00
Wuzzy 60fa765cca Don't generate dungeons in v6 2017-09-05 22:55:36 +02:00
Wuzzy d69644fd47 Don't generate lava and bedrock in singlenode 2017-09-05 22:47:48 +02:00
Wuzzy f7b4d87482 Smaller jungle areas without vines 2017-09-05 19:59:13 +02:00
Wuzzy 4cfb278187 No longer generate mushrooms next to jungle trees 2017-09-02 19:47:32 +02:00
Wuzzy aac9af4d6d Tweak biome height limits, fix some biome bugs 2017-08-31 04:10:38 +02:00
Wuzzy 7ade843e29 Generate lily pads 2017-08-22 17:40:54 +02:00
Wuzzy 209a2ca678 Generate sugar canes again 2017-08-22 15:57:19 +02:00
Wuzzy 7ed2adec3f Fix End lighting. Kinda 2017-08-22 00:22:53 +02:00
Wuzzy 19dc81842f Spawn Nether mushrooms after fire 2017-08-21 19:48:27 +02:00
Wuzzy fbf49a8794 Activate liquid flow again 2017-08-21 18:49:04 +02:00
Wuzzy 8d9e46b535 Add flat Nether; fix portals in flat world 2017-08-21 18:30:37 +02:00
Wuzzy 2e63dd0a3d Refactor content IDs in mcl_mapgen_core 2017-08-21 17:57:11 +02:00
Wuzzy cc15d6be6d Add Nether decorations
Nether wart, eternal fire, mushrooms
2017-08-21 16:16:30 +02:00
Wuzzy 67b9deaf88 Add roofed forest with dark oaks 2017-08-21 04:50:45 +02:00
Wuzzy abc6352471 Mapgen: Make more use of global reference vars 2017-08-21 04:23:24 +02:00
Wuzzy d77bdffc20 Strictly separate v6 mapgen from other mapgens 2017-08-21 04:14:28 +02:00
Wuzzy d28e32c7e9 Move mushroom gen to mcl_biomes 2017-08-21 02:35:31 +02:00
Wuzzy 1f40c86754 Generate vines and cocoas in v5, v7, etc., too 2017-08-21 02:28:15 +02:00
Wuzzy b34c4ad497 Add important decorations for v7, v5, etc. 2017-08-21 02:25:22 +02:00
Wuzzy dd5730a33d Fix water in the End 2017-08-20 22:18:26 +02:00
Wuzzy cfd1456dab Mapgen: Call update_liquids less often 2017-08-18 21:29:25 +02:00
Wuzzy cb1dbcb2db Explain weird End lighting 2017-08-18 14:10:49 +02:00
Wuzzy b157c09a4e Replace water in the End 2017-08-18 13:56:26 +02:00
Wuzzy e30719a3bb Fix some mapgen bugs WRT The End 2017-08-18 13:28:20 +02:00
Wuzzy 29119d2e2c Generate floating islands in the End 2017-08-18 02:42:26 +02:00
Wuzzy 28a085ae98 Fix broken mapgen overrides in mcl_mapgen_core 2017-08-18 00:53:23 +02:00
Wuzzy c01c3c5871 Replace water with lava in the Nether 2017-08-18 00:36:31 +02:00
Wuzzy dc1cb9b659 The Nether is now supported in v6, too 2017-08-17 23:58:35 +02:00
Wuzzy 974db12867 Register dimension stuff independent of mapgen 2017-08-17 23:14:02 +02:00
Wuzzy 3fefbf5fc4 Add realm barrier between End and Overworld void 2017-08-17 19:59:43 +02:00
Wuzzy d90b59c918 Tweak Nether ore and lava generation 2017-08-16 17:01:16 +02:00
Wuzzy b7c12e82e4 Fix basic Nether generation 2017-08-16 16:22:28 +02:00
Wuzzy 860155e5c1 Set proper realm boundaries 2017-08-16 15:29:05 +02:00
Wuzzy 91b92a2cfd Fix some realm bugs 2017-08-16 14:06:01 +02:00
Wuzzy a26aef7042 Generate vines and cocoas in non-v6 mapgens 2017-08-15 20:08:41 +02:00
Wuzzy 04593eca08 Localize a couple of accidental global variables 2017-08-02 01:34:12 +02:00
Wuzzy 305aacf705 Fix embarrassing monster egg typo 2017-07-06 00:00:26 +02:00
Wuzzy 598a2977b5 Add monster egg blocks 2017-07-05 23:53:15 +02:00
Wuzzy 1db851b42b Add experimental setting to disable superflat 2017-07-02 22:35:46 +02:00
Wuzzy b225ecf51f Force nolakes,nohills for flat mapgen 2017-07-02 21:50:37 +02:00
Wuzzy 7c3b422a49 Remove lava/water springs from flat mapgen 2017-06-13 13:53:34 +02:00
Wuzzy 8daac96e58 Rename stairs mod to mcl_stairs 2017-06-05 18:40:56 +02:00
Wuzzy d58ed09a9f Add more mapgen aliases 2017-06-05 00:21:34 +02:00
Wuzzy 25c9583ed2 Tweak vine density 2017-05-27 03:50:35 +02:00
Wuzzy b0f36500cf Vine generation now uses Perlin noise 2017-05-27 03:19:19 +02:00
Wuzzy f7393cf970 Generate vines in jungles, move cocoa gen b/w mods 2017-05-27 01:54:40 +02:00
Wuzzy f48b1f3591 Spawn igloos on snowy grass blocks as well 2017-05-24 04:35:59 +02:00
Wuzzy 9c22df853d Generate igloos on snow blocks 2017-05-20 07:59:10 +02:00
Wuzzy b433107f67 Rarely spawn desert wells in deserts 2017-05-20 06:47:42 +02:00
Wuzzy ef06d345df New lava generator: Spawn in air in layers 1-10 2017-05-20 01:27:09 +02:00
Wuzzy 0ae946a920 Mapgen: Single water and lava sources in ground 2017-05-19 22:26:39 +02:00
Wuzzy 34005774b8 Allow ore generator to replace andesite, etc. 2017-05-19 20:04:07 +02:00
Wuzzy 0d08f65cfe Generate dirt and gravel after stones 2017-05-19 19:56:37 +02:00
Wuzzy ba2d83eff9 Rename random_struct to mcl_structures 2017-05-19 15:13:31 +02:00
Wuzzy bcc185f83f Lua mapgen optimizations, hopefully prevent OOM 2017-05-09 16:30:30 +02:00
Wuzzy 1527a77735 Put snow on v6 snowy grass blocks
This code is much more efficient than previous attempts
2017-04-01 18:14:17 +02:00
Wuzzy 9ba92ae363 Gen. desert temples higher (not at beaches) 2017-04-01 17:50:28 +02:00
Wuzzy ae3721cbc8 Don't gen top snow anymore for performance reasons 2017-04-01 17:26:46 +02:00
Wuzzy e9e588a104 Add top snow on v6-generated snowy grass blocks 2017-04-01 17:01:15 +02:00
Wuzzy a4eba91c1e Add snowy variants of 3 dirt blocks 2017-04-01 06:44:02 +02:00
Wuzzy a7504781c4 Make allium and blue orchid slightly rarer 2017-04-01 03:00:35 +02:00
Wuzzy 75289ce039 Increase pumpkin chance again 2017-03-31 23:47:32 +02:00
Wuzzy 19ec22364f Make pumpkins and melons a bit less common 2017-03-31 23:41:19 +02:00
Wuzzy 112f099da5 Generate mushrooms underground (rare) 2017-03-31 23:12:19 +02:00
Wuzzy 69dfc49e37 Add more mushroom surfaces 2017-03-31 21:55:01 +02:00
Wuzzy 041c164f0d Generate mushrooms in the Overworld 2017-03-31 21:47:59 +02:00
Wuzzy 793152b1e6 Mapgen: Place cacti and sugarcanes on group:sand 2017-03-21 22:01:49 +01:00
Wuzzy 076b3fe44a Disable default dungeons, disable trash in mgflat 2017-03-21 03:21:23 +01:00
Wuzzy 40d3bc5602 Generate tall grass after large flowers 2017-03-21 02:53:21 +01:00
Wuzzy c914e69081 Mapgen: Rotate pumpkins randomly 2017-03-21 00:23:09 +01:00
Wuzzy c85f070d80 Tweak pumpkin rarity 2017-03-15 05:57:55 +01:00