Commit Graph

703 Commits

Author SHA1 Message Date
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
79ce9f89d3 More adaptive foundation height 2022-08-11 14:26:34 +02:00
cora
0bcbea4ce3 Add lots of water lakes to mangrove swamps 2022-08-11 14:26:34 +02:00
cora
b7f26e2ddc Add setting to selectively disable strucutres 2022-08-11 14:26:34 +02:00
cora
4f96b38fa3 Make foundations less cubic 2022-08-11 14:26:34 +02:00
cora
f1c70fe19d grass border for water lake 2022-08-11 14:26:34 +02:00
cora
cef559c573 Fix ruined portals y offset 2022-08-11 14:26:34 +02:00
cora
f86898b2f4 make ruined portals rarer 2022-08-11 14:26:34 +02:00
PrairieWind
70277276b0 Adjusted spawn chance and fixed the walls on generation, thanks cora. 2022-08-09 10:30:48 -06:00
PrairieWind
84691c393d Pillager Outpost, Schematics by RandomLegoBrick 2022-08-09 10:30:48 -06:00
cora
27304d5d96 Nerf shipwreck loot 2022-08-04 04:21:59 +02:00
cora
811d7a778f Add tall mangrove tree schematics 2022-08-02 12:02:20 +02:00
cora
77c878f609 make waterlogged roots work with river water 2022-08-02 12:02:20 +02:00
cora
51f79eaa39 Add lilypads and dead bushes 2022-08-02 12:02:20 +02:00
cora
3bf45ec4e9 Spawn mangroves in shallow water, fix schematics 2022-08-02 12:02:20 +02:00
cora
e8fc56ab33 Fix water- and mudlogged roots, add w. logging abm 2022-08-02 12:02:20 +02:00
cora
f003aefe19 allow coral reefs in MangroveSwamps 2022-08-02 12:02:20 +02:00
Thunder1035
d284ddf150 Add mangrove trees 2022-08-02 12:02:20 +02:00
cora
09889ca927 Add MangroveSwamp biome defs 2022-08-02 12:02:20 +02:00
cora
9b9f9d9b0c Fix crash when using /spawnstruct in singlenode mg 2022-07-28 08:49:59 +00:00
cora
8ff559d4ad Add ancient debris as normal ore 2022-07-16 02:07:17 +02:00
cora
455fac9350 Add schematics by RandomLegoBrick and PrarieWind 2022-07-14 13:51:46 +02:00
cora
8cad4a6886 Add ruined portals 2022-07-14 13:38:20 +02:00
cora
931cb2b991 Add fallen tree logs 2022-07-14 06:59:47 +02:00
cora
2b835221a7 Make them spawn at (somewhat) random positions 2022-07-12 01:30:41 +02:00
cora
571c57e891 Add updated woodland outpost schematic 2022-07-12 00:44:39 +02:00
cora
33739dc5af Woodland cabin mob spawning 2022-07-12 00:32:53 +02:00
MysticTempest
484ad2b630 Replace all melon/pumpkin stems in woodland_cabins with unconnected variants. 2022-07-09 19:35:51 -05:00
cora
f98242bb0c Do not emerge while making railcorridors
it turns out to work fine without
2022-07-06 01:43:21 +02:00
cora
daa95e3688 replace dirt and gravel too for even less clumps 2022-07-05 00:12:23 +02:00
cora
ea99341f94 make geode inside smoother 2022-07-05 00:12:23 +02:00
cora
4b95185fba make geodes less cube shaped (sometimes) 2022-07-05 00:12:23 +02:00
cora
3584d89028 better distribution 2022-07-04 23:07:51 +02:00
cora
40d0c1affb slightly optimize placement 2022-07-04 23:07:51 +02:00
cora
0a2e68d136 spawn carts, make mineshafts a bit less frequent 2022-07-04 23:07:51 +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
a92b405efd Comment out unused cart-checking hackery 2022-07-04 23:07:51 +02:00
cora
db4f2baafc Tweak tsm_railcorridors for faster mapgen
This just does 5 instead of 10 attempts to spawn a corridor in a
chunk. There still appear to be plenty corridors and it makes
mapgen noticeably faster.
2022-07-04 23:07:51 +02:00
cora
c66cb834a2 spawn corals only at -10 and lower
to prevent corals in rivers
2022-07-04 02:13:54 +02:00
cora
6ad00e4170 emerge before geode and surface pool placement
otherwise they can be cut off
2022-07-01 14:43:03 +02:00
cora
ef14006f15 Fix surface pools & desert temple loot 2022-07-01 14:30:02 +02:00
cora
c59a890963 add woodland cabin loot 2022-07-01 06:11:10 +02:00
cora
ac69b7c710 Add woodland cabin and outpost 2022-07-01 04:26:41 +02:00
cora
f115fc8ea0 tweak probabilities 2022-07-01 02:05:48 +02:00
cora
8684140740 log actual placement position 2022-07-01 02:05:48 +02:00
cora
be2a8d7054 Structure transfer fixes 2022-07-01 02:05:48 +02:00
cora
f5cc0ef2dc Move shipwrecks to mcl_structures 2022-07-01 02:05:48 +02:00
cora
7945de1324 igloo fixes, mobspawns, move geode to mcl_structs 2022-07-01 02:05:48 +02:00
cora
a09226c370 fossil & igloo -> new api 2022-07-01 02:05:48 +02:00