Commit graph

241 commits

Author SHA1 Message Date
kno10
b2f7c04c85 igloo less slope, more snow, more rare 2024-10-29 19:28:43 +01:00
kno10
62bb73539b improve shipwrecks
reduce frequency, trim schematics, disable foundations again
2024-10-29 19:28:43 +01:00
kno10
c6598e1b09 more structures, more to discover. 2024-10-29 19:28:43 +01:00
kno10
9ba0337a36 use swap_node instead of set_node in mapgen, tweaks to end 2024-10-29 19:28:43 +01:00
kno10
faf2408681 eliminate the static_pos kludge except for strongholds for now 2024-10-29 19:28:43 +01:00
kno10
badf041d8c cleanups and fixes 2024-10-29 19:28:43 +01:00
kno10
92cffe42b4 More fixes, make shulkers spawn on the floor. 2024-10-29 19:28:43 +01:00
kno10
e2a0afe451 fix, and add small end city from MCLA 2024-10-29 19:28:43 +01:00
kno10
4430d1299e further fixes and improvements. 2024-10-29 19:28:43 +01:00
kno10
0a8bf42b03 code restructuring and cleanups 2024-10-29 19:28:42 +01:00
kno10
49a90a0dc4 Huge update of new terraforming, structures, and village code 2024-10-29 19:28:42 +01:00
kno10
acb5aef76b Big rewrite of structure spawning using voxel manipulators 2024-10-29 19:28:42 +01:00
kno10
27802fe2df move structures code from mcl_mapgen_core to mcl_structures 2024-10-29 19:28:42 +01:00
kno10
2a4fe39d5c prioritize map decorations to make the generations more deterministic 2024-10-29 19:28:42 +01:00
kno10
f219e5f4ae Fix structure spawns under water + peaceful spawns (#4607)
- peaceful structure spawns would not run in peaceful mode (e.g., parrots)
- water structure spawns (e.g., guardians) would not run because the code required air above
- small code improvements

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4607
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-15 23:15:30 +02:00
kno10
444c491e14 Remove mcl_structures:structblocks (#4619)
As spawning happens via gennotify anyway, we can omit placing a
structblock right away.

This also avoids certain cases of holes in snow cover or water.
Plus, the code is simpler.

Isolated from the big mapgen overhaul, for the main branch.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4619
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-08-31 21:01:44 +02:00
kno10
12214c5bd6 Allow salmon, tropical fish, witch huts in rivers (#4605)
As witch huts use flag "liquid_surface", place_on only can be water. If we want on-shore witch huts, this needs to be solved differently.
Also, probably no witch huts in deep ocean swamp water?

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4605
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-08-31 10:16:43 +02:00
kno10
d2b96b6142 Queue is not used anywhere (#4608)
Dead code.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4608
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-08-30 18:20:38 +02:00
WillConker
cddc1982be Fix first loot pool not being used in shipwrecks or ocean temples (#4523)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4523
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: WillConker <willconker@noreply.git.minetest.land>
Co-committed-by: WillConker <willconker@noreply.git.minetest.land>
2024-07-31 03:00:27 +02:00
JoseDouglas26
f824f109e2 mcl_structures pt_BR translation 2023-12-22 23:45:07 +01:00
chmodsayshello
712a6d6c66 Merge pull request 'add 1.20 armor trims' (#3784) from armor_trims into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3784
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2023-10-03 21:46:00 +00:00
chmodsayshello
408c7f71da Merge pull request 'Update Russian translation' (#3896) from Nanashi_Mumei/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3896
Reviewed-by: rudzik8
2023-09-02 08:25:43 +00:00
SmokeyDope
aa08a176fc lower ruined portal structure spawn rate 2023-08-31 22:47:02 +00:00
chmodsayshello
7c43c15fda update loottables 2023-08-31 17:17:38 +02:00
Sab Pyrope
5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
chmodsayshello
8431ac34d0 add armor trim templates 2023-06-08 00:16:57 +02:00
PrairieWind
f7bdf7481c Update ruined portal loot table 2023-04-01 00:11:56 +00:00
PrairieWind
802ff3d984 Remove evoker spawning in Pillager Outposts 2023-03-23 01:53:44 +00:00
ancientmarinerdev
38732e801d Fix geode crash 2023-01-15 22:27:02 +00:00
ancientmarinerdev
e6e898671a Merge pull request 'add japanese translation' (#3149) from SakuraRiu/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3149
Reviewed-by: Michieal <michieal@noreply.git.minetest.land>
2022-12-29 22:14:48 +00:00
kabou
d2edc75407 Separate blue dye from lapis lazuli.
* Add craftitem "mcl_core:lapis".
* Add texture for blue dye item.
* Add crafting recipe for blue dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update lapis block crafting recipes.
* Update lapis ore drops.
* Update dungeon and shipwreck loot.
* Update enchanting table input.
* Update villager trade.
2022-12-29 03:08:49 +00:00
Riu Sakura
2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
PrairieWind
0a2f57476e Update Woodland Outpost Schematic
Switched double chest with barrels so that they work correctly
2022-12-19 01:03:53 +00:00
PrairieWind
256655df83 Add bookshelves and anvils as structure constructed nodes 2022-12-19 01:03:53 +00:00
cora
63225c20e5 change schematics for gold and sponges instead of chests 2022-11-15 01:28:51 +01:00
PrairieWind
54d4a97a27 Add Ocean Temple Loot 2022-11-15 01:28:51 +01:00
cora
61b5783e73 Make temple rarer 2022-11-15 01:28:51 +01:00
cora
04cb919f2b structure-spawning: make water spawns possible 2022-11-15 01:28:51 +01:00
cora
4ceecffc8b Add ocean temple 2022-11-15 01:28:51 +01:00
cora
00541cbfb8 Fix end spike wrong vector.add usage 2022-11-15 01:26:06 +01:00
cora
36a6a353a3 Fix local construct_nodes 2022-11-15 01:26:06 +01:00
cora
e146b173b3 Replace "oning" with cages 2022-11-05 01:18:03 +01:00
cora
51d34c9f3d Add second pillager outpost schematic 2022-11-05 01:18:03 +01:00
cora
009ca7535c Add nether outpost with bridges
just via spawnstruct for now
2022-11-01 04:52:17 +01:00
cora
d393e6a181 fix single mob spawning and poutpost walls 2022-11-01 04:52:17 +01:00
cora
0f01a28c93 Add structure spawning to other structures 2022-11-01 04:52:17 +01:00
cora
27a434641d Make structure spawning respect caps 2022-11-01 04:52:17 +01:00
cora
77bdce5cea Add structure mob respawning mechanic
this sets a metadata field "spawnblock" in the nodes mobs spawn on
and registers an abm to respan them
2022-11-01 04:52:17 +01:00
cora
1f58cfb240 Fix merge conflict 2022-11-01 04:52:17 +01:00
cora
6b8236e8f3 Fix crash in villagegen 2022-11-01 04:52:17 +01:00