Commit graph

127 commits

Author SHA1 Message Date
ChrisPHP
5f0ad98dae Use node group for items that can be used in the stonecutter 2023-11-25 23:52:04 +00:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟
a620d24ec8 Fix a number of crashes involving unknown nodes, also fix fishbuckets on_place (#3914)
Fixes: #3913 #3915

~~You can reproduce the crash by placing a fish bucket on top snow above an unknown node.

I also noticed that the code always uses pointed_thing.above so I fixed that and also added a function to mcl_utils to figure out where a node should be placed (either above or below). Looks like the rest of the code could also use improvement but at least it does not crash now.~~

Cora fixed a bunch of related crashes in Mineclona so I am replacing my commit and cherry picking all her commits here.
https://codeberg.org/mineclonia/mineclonia/pulls/549

Here is the list of fixes from that PR:
- Crash when placing snow layer on unknown nodes
- Crash when snow layers on unknown nodes are flooded
- Crash when placing fishbucket on snow on top of unknown nodes
- Crash when placing chorus flower and stem on unknown
- Crash when placing mob spawners on unknown
- The fishbucket on place to actually replace buildable_to

Co-authored-by: cora <coradelamouche@gmx.ch>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3914
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
Co-committed-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
2023-09-29 18:47:07 +00:00
Sab Pyrope
5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
PrairieWind
6294a61d0d Make end crystals explode when nearby crystals are punched and explode 2023-05-17 21:17:46 +00:00
syl
96b2f6a01d Improve French translation 2023-03-10 22:48:46 +01:00
Michieal
6265148727 Move textures all into one centralized directory. 2023-01-30 22:55:53 -05:00
Riu Sakura
2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
cora
9aaa13408a Remove get_structure_data_construct
the positions are available from the registered structure
2022-10-28 21:25:43 +02:00
PrairieWind
644e71f0ee The End...Again... Advancement 2022-09-14 20:37:08 +00:00
cora
a3c4d915b3 Fix dragon spawning with crystals 2022-09-14 20:37:08 +00:00
cora
899c849996 old registered_structures -> structure_data 2022-06-15 05:10:41 +02:00
cora
9cea10a706 fix more blast resistance and hardness values 2022-06-13 02:48:00 +02:00
cora
5f126c4686 add hypercopyrighted end crystal beam texture
This texture has the following poem written by me, cora, encoded in its
pixeldata. I the author hereby release both the texture file and the
poem as cc0.

Additionally I explicitly consent with its inclusion into MineClone2,
MineClone5 and Mineclonia as well as any other minetest game for this
day and all the days to come.

Shall though betray me with a texture, mate
I'll smile at though just like a summer's day
The raindrop particles - no laggy state
But spring is coming, really, soon it's may

As If the seasons meant a damn to us
They do not exist in mineclone at all
unreal water flow, iron never rusts
but copper does in summer and in fall

But what this literally is about
because this damn thing is really silly
you see somehow they had to say it loud

I would bring that quote with painting lilys
but plagerism everywhere you see
so this will just be good enough for me
2022-04-24 01:46:57 +02:00
AFCMS
8396dfe7e3
enderdragon egg: check for protection on punch 2022-04-21 21:02:43 +02:00
Nils Dagsson Moskopp
34b5002fc8
Shuffle pixels in mcl_end_crystal_beam.png
A user claimed that this texture was a texture from Minecraft 1.8.9 –
see <https://git.minetest.land/MineClone2/MineClone2/issues/2099> for
further details. I have not verified that but I noticed that in commit
152e552458 the file was replaced with a
file containing the exact same pixels.

A visual inspection confirms that the file contains noise, so it is not
clear if it is even copyrightable. However, to ensure that it could not
be identical to a file from Minecraft, To get noise of the same quality,
I have shuffled all its pixels with the following POSIX sh shell script:

LANG=C
PREFIX=mcl_end_crystal_beam
convert $PREFIX.png $PREFIX.pnm
<$PREFIX.pnm  >$PREFIX.plainpnm pnmtoplainpnm
<$PREFIX.plainpnm >$PREFIX.seed tr '1234567890 ' ' 1356902468'
(
 <$PREFIX.plainpnm head -n+3
 <$PREFIX.plainpnm tail -n+4 \
  |tr ' ' '\n' \
  |shuf --random-source $PREFIX.seed
) >$PREFIX.shuffled.plainpnm

I then opened mcl_end_crystal_beam.shuffled.plainpnm using GIMP,
converted the color black to tranparency and saved the image as a
paletted PNG (which yields a smaller filesize than a grayscale PNG).
2022-04-16 01:24:04 +02:00
kabou
152e552458 Replace mcl_end_crystal_beam.png with free version.
* Replace mcl_end_crystal_beam.png with unknown provenance with a
  version from the PixelPerfection texture pack that has a know good
  free licence.
2022-04-06 23:04:01 +02:00
Emojigit
d2f7d31360
Fix warning in mcl_end
This fixes:
```
2021-07-10 10:00:58: WARNING[Main]: get_mapgen_params is deprecated; use get_mapgen_setting instead (at .../../games/MineClone2/mods/ITEMS/mcl_end/chorus_plant.lua:456)
```
2021-07-10 10:16:55 +08: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
d3a237384d [mcl_end] fix warnings 2021-05-25 08:40:21 +02:00
AFCMS
56310a3624 [mcl_end] fix some warnings 2021-05-22 23:56:52 +02:00
kay27
f3c540af5d [mcl_mapgen_core, mcl_biomes] Make chorus growth deterministic 2021-05-10 02:24:52 +04:00
Elias Fleckenstein
1bd647507b Add proper end crystal death message 2021-05-05 13:20:06 +02:00
Marcin Serwin
c6de8c0669 Add polish translation of mcl_end 2021-04-13 19:26:24 +02:00
Elias Fleckenstein
9ba1917209 Add end crystal beams 2021-04-10 20:58:34 +02:00
Elias Fleckenstein
f65c40f805 Make dragon egg teleport on punching 2021-04-06 17:20:11 +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
962a13847e Fix dragons summoned using commands spawning an egg on the exit portal 2021-04-06 14:57:29 +02:00
Elias Fleckenstein
a348909ba3 Enderdragon: Proper Egg and XP spawning 2021-04-06 12:50:36 +02:00
NO11
39aaf0f21f Fix #1391 2021-04-02 11:09:45 +00:00
AFCMS
61c9d065fb Fix  #1400 2021-03-27 07:19:35 +01:00
Elias Fleckenstein
327bb68927 Fix crystal on_place handler 2021-03-19 12:03:32 +01:00
Elias Fleckenstein
3df3e957e2 Make nodes usable when wielding an end crystal 2021-03-18 12:41:39 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS
3635b848d5 add API for mcl_wip 2021-03-07 00:42:34 +01:00
kay27
2958d96967 Fix Russian translation 2020-11-26 23:34:56 +04:00
Laurent Rocher
af26f18bd6 Complete French Translation 2020-11-18 23:06:47 +01:00
Wuzzy
d2518c91e8 Tweak German End crystal translation 2020-10-23 22:01:59 +02:00
Wuzzy
4c39224e6f Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 into master 2020-10-23 21:53:42 +02:00
Elias Fleckenstein
299099116b Changed drop chance 2020-10-12 11:07:11 +02:00
Wuzzy
2e9231ac56 Remove dead chorus flower from Creative 2020-08-05 21:00:30 +02:00
Wuzzy
ed6604ee56 Remove incorrect dead chorus flower tooltip 2020-08-05 20:44:41 +02:00
Wuzzy
402205d1ed Do not hide alive chorus flower in Creative 2020-08-05 20:40:34 +02:00
Elias Åström
a8eca09822 Fix on_blast for chorus flower crashing 2020-07-27 19:44:55 +02:00
Elias Fleckenstein
a31ed90a81 Proper model 2020-07-26 13:28:13 +02:00
Elias Fleckenstein
21c6815839 Added End Crystal 2020-07-25 13:32:35 +02:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
6a6e294c19 Fix blast not removing chorus plant 2020-06-07 21:31:52 +02:00