cora
232ea1da06
Fix end lighting
2022-09-14 20:37:07 +00:00
cora
61f9a047e3
Remove unused functions
2022-09-14 20:37:07 +00:00
cora
1d942e9946
Exit portal and spawn platform -> mcl_structures
2022-09-14 20:37:07 +00:00
cora
52c4a7dc28
some refactoring
2022-09-14 20:37:07 +00:00
cora
b377f67214
Move v6 fixes to separate file
2022-09-14 20:37:07 +00:00
cora
fc64907b15
move mapgen ores regs to separate file
2022-09-14 20:37:07 +00:00
FaceDeer
e1bf4081dd
since registered_generators was a table, not an array, table.sort was having no effect and so priority was being ignored. Generators were being run in an arbitrary order.
...
I discovered this when I attempted to register an lvm in a mod that was intended to run after "main", to modify clay that the main mapgen lvm adds to the world. It wasn't finding any clay because priority was being ignored and it was running before "main" was.
2022-08-28 22:11:02 -06:00
FaceDeer
1a09b5c132
fixing registration of node functions
...
"#registered_generators" was attempting to count a non-array table and was always returning 0. So every node function registered was named "mod_1" and overwrote each other in that index.
also, "nodes" wasn't counting node_functions, it was counting lvm_functions.
2022-08-14 01:11:30 -06:00
cora
8ff559d4ad
Add ancient debris as normal ore
2022-07-16 02:07:17 +02:00
cora
9f66c9f673
let railcorridors be placed by new api
...
this makes it a lot faster
2022-07-04 23:07:51 +02:00
cora
a09226c370
fossil & igloo -> new api
2022-07-01 02:05:48 +02:00
cora
3ca6d4de3b
fix chunk probability and distributions
2022-07-01 02:05:48 +02:00
cora
14cd360214
witch hut, boulders, ice-spikes -> new api
2022-07-01 02:05:48 +02:00
cora
dfbb832f96
Terrain feature fixes
2022-07-01 02:05:48 +02:00
cora
9381657f5d
use new struct api for desert well and temples
2022-07-01 02:05:48 +02:00
cora
fed81932e2
structs: use mcl_register_generator, cave decos
2022-07-01 02:05:48 +02:00
cora
41f708e03e
Regular decorations for legacy nether(except v6)
...
minetest supports this now
2022-06-19 00:24:56 +02:00
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh
2022-05-26 07:29:28 +02:00
Alexander Minges
faf3f60cff
Use uncarved pumpkin instead of carved in mapgen
2022-04-22 18:07:37 +00:00
cora
3cb9947cf4
fix sugarcane not getting param2 on mapgen
2022-04-19 12:16:07 +02:00
E
87e494f42b
mapgen/mcl_mapgen_core: move set_node decorations a node callback
...
During the rewrite in 89e55e9065
, a queue system was added to allow
using both VoxelManip-based generation steps, and set_node-based steps,
however some set_node-based steps (underground mushrooms, nether
decorations, and structures) were missed and remained in a VoxelManip
step. The result is that the changes made by the set_node stages were
overwritten after the (now-stale) VoxelManip data was committed later.
(ref. Mineclonia/Mineclonia#26 )
2022-02-25 18:38:50 +01:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
AFCMS
00063cde73
speedup mcl_observer
2021-05-27 09:34:12 +02:00
AFCMS
9e074af07f
unify code style [1]
2021-05-25 12:52:25 +02:00
AFCMS
1870a89af0
remove unused var
2021-05-22 20:01:59 +02:00
kay27
96be84161f
[mcl_mapgen_core] Don't crash if Ender Dragon doesn't spawn for some reason
2021-05-10 01:57:34 +04:00
AFCMS
02f393998f
fix many warnings (644 remaining)
2021-04-17 09:26:37 +02:00
Elias Fleckenstein
430f958fae
Move end exit portal to 0, 0; Add end gateway portals (WIP)
2021-04-06 20:08:20 +02:00
Elias Fleckenstein
ea08fee9ba
Make the dragon stay within a 50 blocks range of the portal
2021-04-06 16:38:23 +02:00
Elias Fleckenstein
83b9cf3ad2
End exit portal openng / closing on dragon death / spawn
2021-04-06 15:48:17 +02:00
kay27
80d845adb6
[mcl_mapgen_core] Fix Nether generation chain reaction
2021-03-29 03:18:17 +04:00
kay27
1818fcf592
[mcl_mapgen_core] Remove water from End, fix https://git.minetest.land/MineClone2/MineClone2/issues/1394
2021-03-29 02:43:08 +04:00
kay27
cb2aae5a55
[mcl_mapgen_core] Redesign, mostly to remove water from End and restore static lvm_buffer to speed it up
2021-03-28 22:57:11 +04:00
kay27
03feb36558
Improve Nether Portals ( #1315 ) (as a squash)
...
Remove Nether portal caches, https://git.minetest.land/MineClone2/MineClone2/issues/1210
Store all exits from Nether portals in quick-access table
Implement proper Nether portal search, using the table, https://git.minetest.land/MineClone2/MineClone2/issues/1055
Store Nether portal exits table in mod storage
Remove exits from table on Nether portal destruction
Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void ) to avoid lots of ```emerge_area()``` calls
Support Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1267
Implement better suitable place search, https://git.minetest.land/MineClone2/MineClone2/issues/1126
Implement object queue not to trigger the same search again
Avoid lava lakes, https://git.minetest.land/MineClone2/MineClone2/issues/1126
Add ```/spawnstruct nether_portal``` chat command
Co-Authored-By: kay27 <kay27@noreply.git.minetest.land>
Co-Committed-By: kay27 <kay27@noreply.git.minetest.land>
2021-03-21 23:14:33 +00:00
kay27
15fa1e5b7a
Fix https://git.minetest.land/MineClone2/MineClone2/issues/1060 - attempt number 3
2021-03-08 03:05:43 +04:00
kay27
8ed28adf7c
Quick attempt to consider https://github.com/minetest/minetest/issues/5900#issuecomment-306071900 and fix https://git.minetest.land/MineClone2/MineClone2/issues/1212#issuecomment-16139
2021-03-07 06:31:43 +04:00
Elias Fleckenstein
d859d94a63
Merge pull request 'Fix #1204' ( #1208 ) from AFCMS/MineClone2:afcms-patch-1 into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1208
2021-02-26 16:26:46 +00:00
AFCMS
41e715ef39
Fix #1204
2021-02-26 15:57:44 +00:00
kay27
a5168721b1
Fix https://git.minetest.land/MineClone2/MineClone2/issues/1186
2021-02-25 17:36:42 +04:00
AFCMS
0e6177ee1f
Add setting to dissable ores generation #874
2021-02-22 12:33:28 +00:00
kay27
89e55e9065
Add sub-map generators queue, fix https://git.minetest.land/MineClone2/MineClone2/issues/993 and https://git.minetest.land/MineClone2/MineClone2/issues/1060
2021-02-22 03:15:32 +04:00
Elias Fleckenstein
100e37183d
Update noise_params to the minetest 5.4 convention
2021-02-18 11:54:51 +01:00
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