Commit Graph

706 Commits

Author SHA1 Message Date
kay27 93da5d3f77 Merge MineClone2/master 2021-12-05 05:10:29 +04:00
Lizzy 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 72e88f1980 Rename mapgen API methods, fix errors 2021-08-05 04:01:07 +04:00
kay27 67248afe58 Use new vars in mcl_debrisgen 2021-07-25 04:34:55 +04:00
kay27 2f8e30b1bb Merge MineClone2/mapgen 2021-07-25 04:13:11 +04:00
kay27 b70859e185 Merge origin/master into mapgen 2021-07-17 21:45:48 +04:00
kay27 79f9837880 [MineClone5] Merge feature branch mineclone5 into master 2021-07-12 05:32:01 +04:00
kay27 35f07a8b66 [mineclone5] Put mob flow code at its right place, fix unloaded player spawn rechech 2021-06-25 03:53:58 +04:00
kay27 7ff476b9b9 Fix igloo hidden trapdoor with minetest.after(), MineClone2/MineClone2#1797 2021-06-22 16:53:55 +04:00
kay27 b3e3b91b7c Merge master 2021-06-12 15:12:33 +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
kay27 0b0be4cecf Merge branch 'master' into mineclone5 2021-05-15 02:24:26 +04:00
Code-Sploit bcea5a35ef Try to fix unknown variable in mcl_chorus_flower 2021-05-14 08:22:10 +00:00
Lizzy Fleckenstein f714d9399d Merge branch 'master' into mineclone5 2021-05-10 10:14:15 +02:00
AFCMS 45201481c1 Merge branch 'master' into luacheck-script 2021-05-10 09:38:40 +02:00
kay27 24dfda8d7e Merge branch 'master' into mineclone5 2021-05-10 06:19:56 +04: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
kay27 279b1b09cd [mapgen] Add `mcl_mapgen.priorities` table 2021-05-08 02:51:17 +04:00
kay27 3bd1a6f89e [mapgen] [mcl_ocean_monument] Fix a typo in water_flowing node name 2021-05-06 02:58:49 +04:00
kay27 ce6f5b0ee1 [mapgen] [mcl_ocean_monument] Generate prismarine legs up to the bottom 2021-05-06 02:42:45 +04:00
kay27 2272753652 [mapgen] [mcl_ocean_monument] Reorder check loops to make it work faster, add random rotation 2021-05-06 00:41:20 +04:00
kay27 2fda0f2644 [mapgen] Add true builder name of Ocean Monument into mod.conf 2021-05-05 14:22:50 +00:00
kay27 9e3c2fe21e [mapgen] [mcl_ocean_monument] Support ice 2021-05-04 03:27:35 +04:00
AFCMS cbb014ed38 basic working script 2021-05-03 22:11:49 +02:00
kay27 66d1172852 [mapgen] Add ocean monument 2021-05-03 05:24:53 +04:00
kay27 fd56bb746c [mapgen] Spawn strongholds without emerge areas 2021-05-02 04:25:23 +04:00
kay27 f4a28cfab0 [mapgen] GETTING RID OF EMERGE AREAS! Currently for dungeons and villages, and it works 2021-05-02 03:56:55 +04:00
kay27 3c5bf8c9b2 [mapgen] Use more readable constants, increase max_block_generate_distance 2021-04-29 00:53:48 +04:00
kay27 c23bb1d59d [mapgen] rebalance mapgen/init core code 2021-04-28 03:03:47 +04:00
kay27 29727136ac [mapgen] redesign the code 2021-04-27 01:30:07 +04:00
kay27 269e560db1 [mapgen] Fix old-style API calls, make the code runnable 2021-04-26 20:14:36 +04:00
kay27 942d70ee62 [mapgen] temporarily delay chorus nodes grow 2021-04-26 04:09:14 +04:00
kay27 abc3a1f139 [mapgen] To be continued... (this version won't run) 2021-04-26 03:35:54 +04:00
kay27 cb19340e0b [mineclone5] [mcl_mapgen_core] Fix empty caves which should be filled by lava 2021-04-25 19:45:59 +04:00
Lizzy Fleckenstein 58c20a7542 Merge branch 'mineclone5' into netherite 2021-04-19 11:13:01 +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
Lizzy Fleckenstein 30546a3902 Make sure ancient debris is not generated exposed to air 2021-04-16 12:17:07 +02:00
Code-Sploit 622c236b4b Add ancient debris generation in nether 2021-04-16 10:03:31 +00:00
jordan4ibanez 67c1bc973a Add lua locals into mcl_dungeons for performance 2021-04-14 01:19:01 +04:00
Lizzy Fleckenstein 3c1a38904a Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-04-07 09:25:44 +02:00
Lizzy 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
Lizzy Fleckenstein 430f958fae Move end exit portal to 0, 0; Add end gateway portals (WIP) 2021-04-06 20:08:20 +02:00
Lizzy Fleckenstein ea08fee9ba Make the dragon stay within a 50 blocks range of the portal 2021-04-06 16:38:23 +02:00
Lizzy Fleckenstein 83b9cf3ad2 End exit portal openng / closing on dragon death / spawn 2021-04-06 15:48:17 +02:00
Lizzy Fleckenstein a348909ba3 Enderdragon: Proper Egg and XP spawning 2021-04-06 12:50:36 +02:00
Lizzy Fleckenstein 1144006cdd Add End main island generation 2021-04-04 15:16:06 +02:00
Lizzy 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 MineClone2/MineClone2#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, MineClone2/MineClone2#1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, MineClone2/MineClone2#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, MineClone2/MineClone2#1267

Implement better suitable place search, MineClone2/MineClone2#1126

Implement object queue not to trigger the same search again

Avoid lava lakes, MineClone2/MineClone2#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. MineClone2/MineClone2#1254 and MineClone2/MineClone2#1060 2021-03-08 04:14:03 +04:00
kay27 15fa1e5b7a Fix MineClone2/MineClone2#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 MineClone2/MineClone2#1212 (comment) 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
Lizzy 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 MineClone2/MineClone2#1216 2021-02-27 22:44:34 +04:00
kay27 2ce5c5415a Fix village initialization: MineClone2/MineClone2#1206 MineClone2/MineClone2#1207 MineClone2/MineClone2#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: MineClone2/MineClone2#1208
2021-02-26 16:26:46 +00:00
AFCMS 41e715ef39 Fix #1204 2021-02-26 15:57:44 +00:00
kay27 a5168721b1 Fix MineClone2/MineClone2#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: MineClone2/MineClone2#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 MineClone2/MineClone2#993 and MineClone2/MineClone2#1060 2021-02-22 03:15:32 +04:00
Lizzy 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 Wuzzy/MineClone2#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
Lizzy Fleckenstein 4a4a834bf8 Generate Enchanted golden apples in chests 2021-01-22 19:45:18 +01:00
Lizzy Fleckenstein 8f62a3fe0c Enchanted book loot in desert temple 2020-12-23 12:25:18 +01:00
Lizzy Fleckenstein fdbfd4c654 Mineshaft Loot 2020-12-21 13:57:09 +01:00
Lizzy 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