minetest_game icon indicating copy to clipboard operation
minetest_game copied to clipboard

It's possible to grow cactus and papyrus into a protected area

Open Montandalar opened this issue 3 years ago • 3 comments

Protection checks are in place in MTG to check that a tree when fully grown would not overlap a protected area. Therefore I think this check should apply to cactus and papyrus, which can grow 2 and 3 extra nodes taller after being planted respectively. This means if someone leaves a hole in the floor of their protected area, you can plant papyrus or cactus under their floor and its top 1-2 nodes will protrude up out of the floor:

screenshot_20221025_222142 screenshot_20221025_223542

In this instance the cobblestone is the first layer of the protected area.

Yes, this is kind of an edge case. Also, you can break papyrus by hand. You can't break cactus by hand though, so hypothetically someone could end up trapped.

Montandalar avatar Oct 25 '22 11:10 Montandalar

I don't think this needs fixing. Grass and flowers spread too, and cutting them is fairly trivial. Make sure that you've protected your lawn well enough.

SmallJoker avatar Oct 26 '22 07:10 SmallJoker

I'm okay with that as an outcome, it would just mean we can solidify a "working as intended" response if anyone brings it up in future and link them here. Equally happy to go and fix it though depending on what others think.

Montandalar avatar Oct 26 '22 08:10 Montandalar

You can't break cactus by hand though, so hypothetically someone could end up trapped.

This is what worries me (as well as the inconsistency vs. trees).

appgurueu avatar Oct 26 '22 09:10 appgurueu