Commit Graph

899 Commits

Author SHA1 Message Date
Elias Fleckenstein
ff33794487 Rename mobs global to mcl_mobs 2022-05-25 23:13:33 +02:00
cora
fca259c074 fix crash during (artificial) village creation
when using the village tool doing that on an unsuitable location
would result in no position for the belltower being available
this checks for that and ... doesn't crash then ^^
2022-05-22 02:01:21 +02:00
cora
7379d5bee8 Add Belltower to villages 2022-05-21 14:48:56 +02:00
cora
d67dd0577f fix crash through forgotten function call 2022-05-21 12:36:57 +02:00
cora
2b63866c14 spawn villagers (and golem) immediately after mg 2022-05-21 12:36:57 +02:00
cora
e51ea1e079 initialize inventory nodes on mapgen 2022-05-21 12:36:57 +02:00
cora
b58422a584 write villager id into bed nodemeta 2022-05-21 12:36:57 +02:00
cora
3ff4ea576d spawn iron golem on villagegen 2022-05-21 12:36:57 +02:00
cora
0d56ef1a90 add jobsites to villagegen schematics 2022-05-21 12:36:57 +02:00
cora
8d0afede37 don't block mapgen on village generation 2022-05-09 10:29:57 +00:00
cora
0288581407 increase wait til village generated 2022-05-09 10:29:57 +00:00
cora
46dbf8c0ab Spawn villagers on villagegen, stay in village
This spawns a villager per bed on village gen and saves the bed
position in the entity. If it moves too far from the village
it gets teleported (for now) back.
2022-05-09 10:29:57 +00: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
kabou
ace0dc00c7 Remove settlements_in_world and settlements.txt
The global(!) table settlements_in_world` has no use, but is serialized and
saved to a file `settlements.txt` every time during generation of a new
village, adding more lag.  This commit removes all related code:
* Remove all instances of `settlements_in_world`.
* Remove `settlements.load()` and `settlements.save()`.
2022-04-02 21:52:03 +02:00
kabou
deed231f28 Fix typos. 2022-03-09 18:50:41 +01:00
kabou
1326b9e7e7 Add check for unknown nodes.
* Check if node has a definition table before attempting to evaluate its
  attributes.  By application of De Morgan's law, the compound logic
  expression can be rewritten so that the existence of the table is
  checked before all following attribute references.
2022-03-09 15:14:22 +01:00
kabou
6a69f49fa0 Add check for unknown nodes.
* Check if node has a definition table before attempting to evaluate its
  attributes.
2022-03-09 14:59:49 +01:00
kabou
f5a8d6d17a Add check for unknown nodes.
* Check if node has a definition table before attempting to evaluate its
  attributes.
* Define local variable to cache multiple accesses to `registered_nodes[]`
  and improve readability.
* Clarify code flow.
2022-03-09 14:40:37 +01: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
Emojigit
c52e09ddcd mcl_structures 2022-02-23 23:58:05 +01:00
Elias Fleckenstein
0e9a56fa35
Add stacks to enchant_uniform_randomly 2021-12-07 18:19:41 +01:00
Elias Fleckenstein
ec7e245b9d
Various fixes to the enchanting and loot system
- enchanted loot generated by mapgen now uses PseudoRandom for randomness
- prevent fishing loot from generating loot 32767 times (!!!) when only 1 is needed
- bows and fishing rods obtained from the treasure section of fishing loot are now enchanted
- there is now a function to uniform enchant items other than books
2021-12-07 17:57:18 +01:00
Elias Fleckenstein
34f329a9d5
TextureConverter: Implement grass palette conversion
Source: https://minecraft.fandom.com/wiki/Tint
Since the MineClone2 biomes do not entirely match with the Minecraft ones I picked the Minecraft biomes that seem to match them best.
This also changes the palette index of the nether to match the desert instead of the mesa biome
and changes the color of grass blocks in item form to the default minecraft one.
2021-11-03 19:57:21 +01:00
kay27
7ff476b9b9 Fix igloo hidden trapdoor with minetest.after(), https://git.minetest.land/MineClone2/MineClone2/issues/1797 2021-06-22 16:53:55 +04:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00: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
Marcin Serwin
37b1191c0a Add polish translation of mcl_structures 2021-05-25 21:58:23 +02:00
AFCMS
9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
AFCMS
388ab6d8df fix some codestyle issues 2021-05-25 10:56:06 +02:00
AFCMS
8592670f9b [tsm_railcorridors] fix warnings 2021-05-25 08:44:24 +02:00
AFCMS
a71a0e9161 fix even more warnings (nether portals and potions) 2021-05-22 23:04:18 +02:00
AFCMS
1870a89af0 remove unused var 2021-05-22 20:01:59 +02:00
Code-Sploit
bcea5a35ef Try to fix unknown variable in mcl_chorus_flower 2021-05-14 08:22:10 +00:00
AFCMS
45201481c1 Merge branch 'master' into luacheck-script 2021-05-10 09:38:40 +02:00
kay27
f054eb1ce6 [mcl_biomes] Fix chorus random function, prevent chorus growth at return portal position 2021-05-10 02:47:56 +04:00
kay27
f3c540af5d [mcl_mapgen_core, mcl_biomes] Make chorus growth deterministic 2021-05-10 02:24:52 +04: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
cbb014ed38 basic working script 2021-05-03 22:11:49 +02:00
AFCMS
02f393998f fix many warnings (644 remaining) 2021-04-17 09:26:37 +02:00
AFCMS
22a2fdbf5f fix more codestyle 2021-04-17 07:46:24 +02:00
AFCMS
5f076d372a fix many codestyle errors 2021-04-17 07:42:49 +02:00
AFCMS
1a58b0c510 fix many codestyle issues 2021-04-16 13:35:03 +02:00
jordan4ibanez
67c1bc973a Add lua locals into mcl_dungeons for performance 2021-04-14 01:19:01 +04:00
Elias Fleckenstein
3c1a38904a Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-07 09:25:44 +02:00
Elias Fleckenstein
b2c09c8ba0 Add gateway portals 2021-04-07 09:17:13 +02:00
kay27
069e089ae4 [mcl_portals, mcl_structures] Add End gateways W-I-P by Elias Fleckenstein with minor portals improvements and fixes 2021-04-07 03:34:15 +04: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
Elias Fleckenstein
a348909ba3 Enderdragon: Proper Egg and XP spawning 2021-04-06 12:50:36 +02:00
Elias Fleckenstein
1144006cdd Add End main island generation 2021-04-04 15:16:06 +02:00
Elias Fleckenstein
49446bbb7b Make enderdragon spawn upon exit portal generation 2021-04-04 12:01:45 +02:00
kay27
d1a0299b92 [mcl_dungeons] Remove empty code section, add debug info 2021-03-29 03:34:41 +04: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
AFCMS
558fa57cc6 Solve quartz not generating in the nether 2021-03-18 09:48:18 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
kay27
6e6809f360 Make books in chest loot deterministic, ref. https://git.minetest.land/MineClone2/MineClone2/issues/1254 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-03-08 04:14:03 +04:00
kay27
15fa1e5b7a Fix https://git.minetest.land/MineClone2/MineClone2/issues/1060 - attempt number 3 2021-03-08 03:05:43 +04:00
AFCMS
bddc4a3ac7 make village tool experimental 2021-03-07 17:07:55 +01: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
kay27
66febf158a Speedify dungeons a little and fix chest places (linear, not square) 2021-03-07 06:00:49 +04:00
kay27
45c0c576f7 Implement /spawnstruct dungeon 2021-03-07 03:49:34 +04:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
kay27
05a3b4e60c Wrap https://github.com/minetest/minetest/issues/10995 around, thanks @SmallJoker 2021-02-28 16:35:21 +04:00
kay27
abc0bb9e8e Fix dir_to_rotation() 2021-02-27 23:20:57 +04:00
kay27
21e6c5ad1f Fix https://git.minetest.land/MineClone2/MineClone2/issues/1216 2021-02-27 22:44:34 +04:00
kay27
2ce5c5415a Fix village initialization: https://git.minetest.land/MineClone2/MineClone2/issues/1206 https://git.minetest.land/MineClone2/MineClone2/issues/1207 https://git.minetest.land/MineClone2/MineClone2/issues/1209 2021-02-27 03:33:51 +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
kay27
e23ad6cabf Merge pull request 'Add setting to disable ores generation' (#1174) from AFCMS/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1174
2021-02-25 10:04:13 +00:00
kay27
54cd5007ed Try to wrap https://github.com/minetest/minetest/issues/10995 by cancelling redefinition of minetest.place_schematic 2021-02-25 01:03:41 +04:00
AFCMS
f0348d99d9 Use setting to generate Quartz ore 2021-02-22 19:12:33 +00:00
kay27
47db5c5917 Make mcl_loot/get_random_slots() deterministic 2021-02-22 21:58:35 +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
kay27
a73f5dabbd Cleanup 2021-02-10 15:36:32 +00:00
kay27
1d792a650f Speedup placing villages 2/2 (update mcl_villages through Gitea, as direct push doesn't work) 2021-02-10 13:07:32 +00:00
MysticTempest
dc9ca16321 Enable villager spawning. 2021-02-09 06:06:19 -06:00
MysticTempest
e716ebd911 Make enderman grief less frequently, enable pseudobiome villages by default, and disable natural village generation in singlenode. 2021-02-01 15:45:22 -06:00
kay27
30b4b9661c Villages cleanup 2021-01-29 23:03:39 +04:00
MysticTempest
2fe5ac8569 Add experimental, pseudobiome-based village variation. 2021-01-28 23:59:01 -06:00
kay27
9a668204cb Remove inter-village distance check 2021-01-28 23:12:16 +04:00
MysticTempest
ff38a44454 Give 'mcl_villages' the proper loot table, fix blacksmith shop catching fire/missing chest, add butcher shop, remove chest from large_houses, and remove screenshots. 2021-01-28 01:24:43 -06:00
kay27
ff2cd808d5 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/1022 2021-01-28 03:17:11 +04:00
MysticTempest
0c23406531 Add mcl_villages; with support for seed-based, and multithreaded village generation by kay27. 2021-01-27 02:56:53 -06:00
MysticTempest
cbd3a491f6 Add support for mcimported worlds by clearing out singlenode mapgen, and adding a toggleable fix for converted double_plants. 2021-01-25 20:23:38 -06:00
Elias Fleckenstein
4a4a834bf8 Generate Enchanted golden apples in chests 2021-01-22 19:45:18 +01:00
Elias Fleckenstein
8f62a3fe0c Enchanted book loot in desert temple 2020-12-23 12:25:18 +01:00
Elias Fleckenstein
fdbfd4c654 Mineshaft Loot 2020-12-21 13:57:09 +01:00
Elias Fleckenstein
d820c35937 Fishing & Mineshaft loot 2020-12-20 17:33:24 +01:00
Laurent Rocher
af26f18bd6 Complete French Translation 2020-11-18 23:06:47 +01:00
kay27
4c2e28836c Fix generation of strongholds 2020-10-15 00:22:48 +04:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00: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
7ff7b64ad0 Fix air holes in desert temple 2020-06-08 17:18:19 +02:00
Wuzzy
15f2960e34 Remove legacy village schematic 2020-06-03 19:57:04 +02:00
Wuzzy
a25f7652f6 New desert temple schematic 2020-06-03 19:30:29 +02:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy
a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
wuniversales
15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy
1d2da1f01a TNT minecart and activator rail no longer WIP 2020-01-30 22:31:44 +01:00
Wuzzy
d29c4bb795 Fix 2 undeclared global warnings in mapgen core 2019-12-22 20:22:19 +01:00
Wuzzy
bbc5f2a0d9 Use sand and gravel for ocean floors 2019-12-22 01:22:05 +01:00
Wuzzy
305145ca1c Tweak oceangen 2019-12-18 21:04:07 +01:00
Wuzzy
b7406ed3d5 Generate sponges in deep oceans in non-v6 mgs 2019-12-18 20:55:20 +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
e0e73b8ee8 Add basic seagrass/kelp mapgen 2019-12-18 18:42:04 +01:00
Wuzzy
41d7e513e7 Make variable local 2019-12-14 03:38:00 +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
6002cd0af5 Fix tallgrass, fern, bonemeal for new grass color 2019-12-13 15:32:57 +01:00
Wuzzy
325801efd7 First step towards param2-based grass color 2019-12-13 14:03:12 +01:00
Wuzzy
2e09febaae Rename Moss Stone to Mossy Cobblestone 2019-12-11 04:24:32 +01:00
Wuzzy
3322366457 Enable igloo basements with 50% chance 2019-10-02 22:38:35 +02:00
Wuzzy
5198f5cdec More igloo basement placement tweaks 2019-10-02 22:29:25 +02:00
Wuzzy
da149d5a58 Apply more checks in igloo basement generation 2019-10-02 22:06:26 +02:00
Wuzzy
b3e1df7e9b Round pos in spawnstruct chatcommand 2019-10-02 21:18:29 +02:00
Wuzzy
76ed6ff826 MGV6: Generate witch huts only in Normal biome 2019-09-11 16:06:41 +02:00
Wuzzy
6188d7b528 Fix other boolean settings default fails 2019-03-25 12:42:37 +01:00
Wuzzy
2d34a2982a Add biome type to biome metadata 2019-03-25 09:04:41 +01: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
45d09754d0 German translation: mcl_structures 2019-03-14 01:59:31 +01:00
Wuzzy
4ede0a1227 Fix underwater ice sheet in IcePlainsSpikes biome 2019-03-12 03:18:07 +01:00
Wuzzy
e26a668b74 Add emerald ore+monster eggs in all ExtremeHills 2019-03-12 02:14:19 +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
45a30867c3 Del. color from underground hclay in MesaPlateauFM 2019-03-12 00:56:35 +01:00
Wuzzy
2e092dc15f Shrink MesaBryce beach once more 2019-03-12 00:46:08 +01:00
Wuzzy
206293e3f9 Fix MesaBryce typo 2019-03-12 00:34:44 +01:00
Wuzzy
12581e8441 Tweak MesaBryce sandlevel: Sand beach, strata 2019-03-12 00:31:39 +01:00
Wuzzy
c62658fd27 Erode strata a bit in Mesa and MesaPlateauF 2019-03-11 23:00:59 +01:00
Wuzzy
f1f6dc4c48 Colorize bottom terracotta layers of MesaBryce 2019-03-11 22:08:17 +01:00
Wuzzy
a16886bf17 Tweak heat and humidity points of new mesa biomes 2019-03-11 21:44:13 +01:00
Wuzzy
ae513f7b53 Add MesaBryce biome 2019-03-11 21:42:55 +01:00
Wuzzy
0b9e25fd9a Add vertical blend for *_ocean biomes 2019-03-11 14:22:05 +01:00
Wuzzy
256dc9e1b5 Vertical blend for mushroomisland 2019-03-11 13:50:27 +01:00
Wuzzy
053e10f223 Update mcl_biome comments 2019-03-11 13:41:19 +01:00
Wuzzy
f713394f6d Add vertical blend to ExtremeHills+ 2019-03-11 02:51:59 +01:00
Wuzzy
18adaef361 Eroded strata for MesaPlateauFM 2019-03-11 01:57:00 +01:00
Wuzzy
f59f4d4f7c Tweak MesaPlateauFM riverbed 2019-03-11 00:17:14 +01:00
Wuzzy
c868b7a767 Add MesaPlateauFM biome
Variant of MesaPlateauF, more erratic terrain, smooth transitions, has red sandstone, more red sand, fewer trees, much more dry shrubs and coarse dirt
2019-03-11 00:04:03 +01:00
Wuzzy
f48019a877 Use built stratum ore type for mesa strata 2019-03-10 18:47:27 +01:00
Wuzzy
b4b5cb2879 Tweak mesa-underground transition 2019-03-10 18:42:53 +01:00
Wuzzy
2a9e30b900 Also generate more gold in MesaPlateauF 2019-03-10 08:41:09 +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
2892c45f52 Fix end portal shrine being in lava in flat mapgen 2019-03-10 03:30:18 +01:00
Wuzzy
ef0b941bce Fix undeclared global bug in mcl_biomes 2019-03-10 00:35:16 +01:00
Wuzzy
05e8cc8a2c Don't turn water into end stone anymore 2019-03-09 21:20:37 +01:00
Wuzzy
7a4aeb6625 Generate chorus plants in the End 2019-03-09 21:02:40 +01:00
Wuzzy
895b9e7e3a More End tweaks 2019-03-09 19:15:10 +01:00
Wuzzy
e2fd769657 New, stratum-based end stone generation 2019-03-09 18:52:24 +01:00
Wuzzy
1df3d0e42b Fix some PseudRandom weirdness in mcl_structures 2019-03-07 22:03:34 +01:00
Wuzzy
7ca999626d Restrict v6 generation of ice spikes to snow block 2019-03-06 23:17:06 +01:00
Wuzzy
c4558a31ab Update modpack meta files (MT 5.0.0) 2019-03-06 05:52:31 +01:00
Wuzzy
4f8377b161 Fix warning in tsm_railcorridors 2019-03-06 05:07:42 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
477aa07822 Add experimental setting: fallen logs 2019-03-01 18:08:28 +01:00
Wuzzy
03c6beb971 Remove mcl_imitation_mode 2019-03-01 18:04:43 +01:00
Wuzzy
19b1cf5986 More robust initialization of chests of structs 2019-02-28 18:19:57 +01:00
Wuzzy
1daf9b7a59 Put treasure loot into random inventory slots 2019-02-28 18:00:17 +01:00
Wuzzy
38f6804a79 Update tsm_railcorridors to 0.14.0 2019-02-19 20:16:12 +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
da625b569a Spawn minecarts in railcorridor chests 2019-02-06 03:00:45 +01:00
Wuzzy
9105f248b4 More secure igloo generation 2019-02-06 02:23:51 +01:00
Wuzzy
6ff637ec69 Add more igloo generation code 2019-02-06 02:02:18 +01:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy
68c373d2b8 Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00
Wuzzy
25b65e4b7d Remove tsm_railcorridors_probability_cart for now 2018-11-17 15:59:01 +01:00
Wuzzy
34e92a361b Rename mobs mod to mcl_mobs 2018-05-31 18:32:26 +02: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
d5d65f4a84 Tweaking of the new tree schematics 2018-05-13 18:39:47 +02:00
Wuzzy
b992100106 More variations of mega spruces and large oaks 2018-05-13 18:03:57 +02:00
Wuzzy
bb6f2f7770 Rename “subgame” to “game” (partial fix) 2018-03-25 22:20:32 +02:00
Wuzzy
16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy
53ca167eb1 Merge branch 'mesecons_updates' 2018-01-22 17:46:38 +01:00
Wuzzy
9d409927bc Make nether wart more common in v6 2018-01-17 22:56:20 +01:00
Wuzzy
ec49459eb4 Update desert temple schematic 2018-01-17 19:53:20 +01:00
Wuzzy
2f32c76013 Make v6 sapling treasures more common 2018-01-12 19:02:06 +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
a818995d2a Generated mob spawners generate mobs in darkness (except silverfish) 2018-01-08 00:41:57 +01:00
Wuzzy
fa51fdbdb5 Freeze water in snowtop biome 2018-01-08 00:19:53 +01:00
Wuzzy
3cf6656df2 Rename "Monster Spawner" to "Mob Spawner" 2018-01-07 16:58:44 +01:00
Wuzzy
479ed1c12a Fix generated vines sometimes horizontal in air 2018-01-07 16:00:21 +01:00
Wuzzy
0c9b28c92e Fix missing decorations in v6 2017-12-13 21:01:04 +01:00
Wuzzy
89ef81b4c5 Remove buggy chests and furnaces from villages 2017-12-13 00:50:13 +01:00
Wuzzy
3b9b34a0de Add warning when building a village 2017-12-13 00:50:03 +01:00
Wuzzy
5d2df6db4c Fix broken huge mushroom caps generating 2017-12-12 23:59:35 +01:00
Wuzzy
40d22d2173 Fix crash when using eye of ender in singlenode 2017-12-11 19:33:58 +01:00
Wuzzy
7d00c008d0 Fixed height of end portal shrines in flat worlds 2017-12-11 01:56:50 +01:00
Wuzzy
a79c2ade05 Fix dependency mess of mcl_structures 2017-12-10 22:49:49 +01:00
Wuzzy
810357f81a Rename end portal room to end portal shrine 2017-12-10 22:22:37 +01:00
Wuzzy
664c24ce7d Eyes of ender now fly to End portal shrines! 2017-12-10 22:20:48 +01:00
Wuzzy
55778ab375 Add function to query stronghold positions 2017-12-10 18:48:34 +01:00
Wuzzy
2d8ad7ebf0 Generate end portal rooms in the world 2017-12-10 18:39:02 +01:00
Wuzzy
fdae9711f8 Randomize stonebrick stairs in end portal room 2017-12-09 16:50:32 +01:00
Wuzzy
206bd3d29f Fix hole in end portal room schematic 2017-12-09 14:16:53 +01:00
Wuzzy
1537ae276e Tweak stone brick chances of end portal rooms 2017-12-09 14:08:36 +01:00
Wuzzy
c4dbbda9fd Add end portal room structure 2017-12-09 02:05:41 +01:00
Wuzzy
3443e68b76 Railcorridors: Use dark oak wood in terracotta 2017-12-08 16:13:02 +01:00
Wuzzy
d9a8403e11 Use red sand as river bed in Mesa and MesaPlateauF 2017-12-07 14:35:12 +01:00
Wuzzy
b4bb986d61 Add river water 2017-11-30 14:19:00 +01:00
Wuzzy
9c80f8d970 Remove mcl_dungeons unused code 2017-11-30 10:21:54 +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
a9d95dea23 Use hardware coloring for tallgrass and friends 2017-11-16 03:13:19 +01:00
Wuzzy
8db574d30e Clean up grass block group stuff 2017-11-15 20:27:29 +01:00
Wuzzy
54ae1190d6 Allow spruces at Y=1 2017-11-15 06:23:46 +01:00
Wuzzy
c79b1062cc Add small beach to plains biomes 2017-11-15 02:30:30 +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
0267fc98ab Update desert temple schematic 2017-09-19 19:29:12 +02:00
Wuzzy
486b84c7c8 Increase sugar canes spread in non-v6 mapgens 2017-09-19 13:51:09 +02:00
Wuzzy
d4b7e2f1d6 Update sugar canes swampland biomes 2017-09-19 13:50:07 +02:00
Wuzzy
e03a2ee9a2 Make sugar canes less common in v6 2017-09-19 13:47:04 +02:00
Wuzzy
4eebd37a12 Minor desert temple randomization 2017-09-14 03:47:48 +02:00
Wuzzy
7f5c051b5d Initialize pressure plates in generate structures 2017-09-14 03:41:06 +02:00
Wuzzy
f0adddac12 Update desert temple schematic 2017-09-14 03:21:05 +02:00
Wuzzy
15892c6604 Generate random Mese strata based on world seed 2017-09-13 22:50:21 +02:00
Wuzzy
66e1abf1dc Fix Mesa stratum regression 2017-09-13 21:49:06 +02:00
Wuzzy
7dcc39be72 Generate stone below sea level in Mesa-like biomes 2017-09-13 21:43:15 +02:00
Wuzzy
5d70d05dab Tweak double tallgrass/fern amount in non-v6 2017-09-13 19:03:15 +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
0d717dcb69 Update biome TODO 2017-09-13 10:31:41 +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
3107812ddb Remove Deep Ocean and underground biomes 2017-09-13 04:58:53 +02:00
Wuzzy
b09e757a03 Tweak emerald ore and stone monster egg spawn 2017-09-13 04:13:55 +02:00
Wuzzy
0d736c58e8 Fix 2 mistakes in mcl_biomes 2017-09-13 03:58:33 +02:00
Wuzzy
92d0dbdeef Allow to revert back to jungle leaves bushe and fallen logs 2017-09-13 03:15:16 +02:00
Wuzzy
b357e927b4 Update jungle bush schematic and use oak leaves 2017-09-13 02:29:09 +02:00
Wuzzy
d12533f622 Reduce length of fallen logs to fix floating logs 2017-09-13 01:59:24 +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
3ccf0a4937 Rebalance jungle biomes, esp. Jungle Edge M
To make is much rarer.
2017-09-13 00:17:39 +02:00
Wuzzy
8245ddcc2c Spawn oaks in Savanna 2017-09-12 21:59:14 +02:00
Wuzzy
76eee3d79e Minor refactor of oak biome trees 2017-09-12 21:54:42 +02:00
Wuzzy
b9006512b8 Make sunflowers more common in Sunflower Plains 2017-09-12 21:38:38 +02:00
Wuzzy
ebe9b262ed More straight-forward naming convention for biomes 2017-09-12 21:31:33 +02:00
Wuzzy
ecccb9d90d Balance all heat and humidity points of all biomes 2017-09-12 20:40:20 +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
427eb32448 Add a second huge jungle tree schematic, tweak the 1st one 2017-09-12 05:35:02 +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
bc1e16fbc6 Delete unused WorldEdit code in mcl_structures 2017-09-11 04:26:16 +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
defffbc952 Fix generating lots of gravel in caves 2017-09-11 01:11:57 +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
98654b45b1 mcl_structures: Return place_schematic return value 2017-09-10 20:20:52 +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
61e0d55311 Update mcl_biomes comments 2017-09-10 17:18:11 +02:00
Wuzzy
d715eda723 Fix surface of ice plains spike 2017-09-10 16:55:55 +02:00
Wuzzy
65333ae43c Replace birches with spruce in ice plains 2017-09-10 16:53:33 +02:00
Wuzzy
b1065b2247 Use Biome API to turn floating sand to sandstone 2017-09-10 16:44:37 +02:00
Wuzzy
5d3323d094 Generate red sandstone 2017-09-10 15:32:24 +02:00
Wuzzy
84a92817cc Tweak beaches 2017-09-10 15:01:32 +02:00
Wuzzy
b7684d2980 Add deep ocean biome 2017-09-10 14:23:52 +02:00
Wuzzy
b70b836efd Tweak Mesa Plateau F biome 2017-09-10 06:34:28 +02:00
Wuzzy
5448669ffd Generate pumpkins in every biome 2017-09-10 06:06:02 +02:00
Wuzzy
81a170645e Don't restrict sugar cane spawn to biomes 2017-09-10 05:45:27 +02:00
Wuzzy
5a69b132c4 Add an Y layer to moss stone boulder schematics 2017-09-10 05:03:20 +02:00
Wuzzy
1938f84c3b Re-introduce Jungle Edge, nerf OP melon spawn 2017-09-10 04:45:43 +02:00
Wuzzy
a69f8ca9e1 Make mega spruce taiga much more dense 2017-09-10 04:42:42 +02:00
Wuzzy
bc47d542da Disable Jungle Edge M biome for balancing 2017-09-10 04:33:27 +02:00
Wuzzy
bd7d57d083 Add Jungle Edge M biome 2017-09-10 03:59:59 +02:00
Wuzzy
fb2714d5f1 Add savanna M biome 2017-09-10 03:41:42 +02:00
Wuzzy
a14b501f24 Change mesa plateau F ocean appearance 2017-09-10 03:33:06 +02:00
Wuzzy
d2cf48022c Remove red desert biome 2017-09-10 03:17:38 +02:00
Wuzzy
a02a492b2c Add Mesa Plateau F biome 2017-09-10 03:16:49 +02:00
Wuzzy
dfc4a950c6 Remove unused mesa ores 2017-09-10 02:49:02 +02:00
Wuzzy
3ad6b03f68 Generate semi-random mese strata 2017-09-10 02:44:47 +02:00
Wuzzy
18f916f3c5 Refactor and simplify mesa generation code 2017-09-10 00:55:32 +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
2916b28f87 Comment the biomes code in mcl_biomes 2017-09-09 19:30:22 +02:00
Wuzzy
fa75eda9cf Add stone beach biome 2017-09-09 19:01:04 +02:00
Wuzzy
6427c72b95 New biomes: Extreme Hills and 2 variants
Extreme Hills
Extreme Hills+
Extreme Hills M (gravel field)
2017-09-09 11:42:15 +02:00
Wuzzy
44725be4bb Fix fern generating virtually everywhere 2017-09-09 08:17:24 +02:00
Wuzzy
22131e588e Generate the new acacias 2017-09-09 08:15:49 +02:00
Wuzzy
e433be1472 Add mega taiga spruces and more spruces 2017-09-09 05:04:39 +02:00
Wuzzy
52f22ac58f Make melons rarer in non-v6 mapgens 2017-09-09 01:34:37 +02:00
Wuzzy
0ceecec7c3 Add jungle edge biome 2017-09-09 01:13:21 +02:00
Wuzzy
a5a73ea12d Add flower forest beach 2017-09-09 00:30:02 +02:00
Wuzzy
edf42043db Generate alliums in flower forest only 2017-09-09 00:22:59 +02:00
Wuzzy
f61ecab98e Add flower forest biome 2017-09-09 00:19:24 +02:00
Wuzzy
c3278d679d Generate giant mushrooms with 1/12 chance 2017-09-08 23:01:04 +02:00
Wuzzy
f9bc27967d Generate lily pads also in 2 node deep water in swamps 2017-09-08 22:04:05 +02:00
Wuzzy
0259353b6f Rework vine gen code and gen vines in swampland 2017-09-08 21:45:22 +02:00
Wuzzy
fc2d9b3d32 Add swampland biome 2017-09-08 19:54:24 +02:00
Wuzzy
03ab34405f Rename jungle-related biomes 2017-09-08 18:52:08 +02:00
Wuzzy
4c4ebabea9 Add mushroom island shore 2017-09-08 17:56:04 +02:00
Wuzzy
ea9a34337a Freeze water in cold beaches 2017-09-08 17:51:56 +02:00
Wuzzy
8c2b1df005 Only use sand for riverbeds 2017-09-08 17:44:45 +02:00
Wuzzy
96a3474c40 Disable cart spawning cuz error message spam 2017-09-08 16:32:33 +02:00
Wuzzy
8f916ac429 Fix 2 variable bugs in mcl_biomes 2017-09-08 07:41:14 +02:00
Wuzzy
237541789b Spawn fossils in fixed height range 2017-09-08 05:49:24 +02:00
Wuzzy
152327bb2a Fossil schematics: ~7% chance to lose bone block 2017-09-08 05:16:12 +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
22a1b0a5d2 Convert desert temple structure to schematic file 2017-09-08 04:30:47 +02:00
Wuzzy
0dd4d501ef Move villages into schematic, fix bad nodes 2017-09-08 03:31:20 +02:00
Wuzzy
ef1bce1609 Document fossil schematic sizes 2017-09-08 01:39:14 +02:00
Wuzzy
576a31ac7f Stop fossil schematics replacing air 2017-09-08 01:34:33 +02:00
Wuzzy
8576d36a2c Generate ice spikes in v6 2017-09-08 00:38:55 +02:00
Wuzzy
14a276033d v6: Add otherwise ungettable saplings into chests 2017-09-07 04:38:50 +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
35fa425781 Generate more acacia trees 2017-09-06 06:21:27 +02:00
Wuzzy
62f233eafb Add birch forest biomes 2017-09-06 06:04:32 +02:00
Wuzzy
c5d4eb9bed Disable sunflower plains again 2017-09-06 05:25:07 +02:00
Wuzzy
a95cec29f3 Balance sunflower plains biome 2017-09-06 05:11:29 +02:00
Wuzzy
2141fb1df7 Clear snowy grass block if not below snow 2017-09-06 05:01:43 +02:00
Wuzzy
47d08ed542 Very rarely make oaks and birches in ice plains 2017-09-06 04:32:49 +02:00
Wuzzy
951cc5366e Generate tall grass in ice plains 2017-09-06 04:11:39 +02:00
Wuzzy
4ba318df32 Rename beach biomes 2017-09-06 03:34:51 +02:00
Wuzzy
f5ea645776 Tweak ice spike plains 2017-09-06 03:29:18 +02:00
Wuzzy
55aa01a6fc Fix floting snow on mushrooms in cold taiga 2017-09-06 03:03:02 +02:00