Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_ground_content #836

Open
SwissalpS opened this issue Feb 25, 2024 · 12 comments
Open

is_ground_content #836

SwissalpS opened this issue Feb 25, 2024 · 12 comments
Assignees
Labels
enhancement New feature or request

Comments

@SwissalpS
Copy link
Contributor

SwissalpS commented Feb 25, 2024

Many node definitions seem to have not set is_ground_content to false.
This means jumping a ship near mapblocks that haven't been generated yet, can lead to loss of ships or at least parts of it.
Credit to Huhhila for suffering this, tracking down the cause and pointing it out.

I've opened this issue to track the progress of PRs to the various mods that are affected. Also to discuss which we might add to pandorabox_custom because some repos are very slow to accept PRs.

I used this postool branch to make the list

nonGroundContent.txt (680kB)

The above list includes legitimate ground content too, of course.

Adding the flag to all circular saw cuts and cnc nodes will already slim it down drastically.
Priority should maybe be given to technic and pipeworks mods.

reference links:

@BuckarooBanzay
Copy link
Contributor

A more radical (and maybe simpler) alternative to setting that in every mod would be to override this in pandorabox_custom on every registered node (except stone of course)

@SwissalpS
Copy link
Contributor Author

As a radical interum measure yes.
There are a lot of legitimately is_ground_content nodes like dirt, corium, water, air, ignore, lava, etc., etc.

once technic, pipeworks, circular_saw and mesecons are dealt with, the non-ground-content-list will shrink drascically.

I think it's good for mod-devs to think about this and add it, no rush though.

@SwissalpS
Copy link
Contributor Author

I've also PRed

  • mobs (meatblocks and spawner)
  • mobs_animal (egg, honeyblock and beehive)
  • mobs_monster (cobweb)

@SwissalpS
Copy link
Contributor Author

FYI, I've also started working on mods that pandorabox isn't using but referencing them to this thread to keep everything under one place.

There are still a few mods that pandorabox uses that I haven't PRed yet: advtrains* is the big one.

@SwissalpS
Copy link
Contributor Author

Here's the current list

nonGroundContent20240302.txt (51kB)

(roughly 13 times smaller already)

SwissalpS added a commit to SwissalpS/minetest_advtrains that referenced this issue Mar 3, 2024
see pandorabox-io/pandorabox.io#836

also some trailing whitespace removal
SwissalpS added a commit to SwissalpS/minetest_advtrains_platform that referenced this issue Mar 3, 2024
see pandorabox-io/pandorabox.io#836

also the whitespace used was so inconsistant, that almost
every line was going to be affected by diff anyway, so
consistancy was brought into it too.
SwissalpS added a commit to SwissalpS/minetest_vines that referenced this issue Mar 3, 2024
@SwissalpS
Copy link
Contributor Author

PRed 10+1's bakedclay (leaving flowers untouched to stay in sync with MTG default flowers)

SwissalpS added a commit to mt-mods/blox that referenced this issue Mar 4, 2024
see pandorabox-io/pandorabox.io#836

also fixed a few whitespace indent mistakes

closes #1
wsor4035 pushed a commit to mt-mods/blox that referenced this issue Mar 4, 2024
see pandorabox-io/pandorabox.io#836

also fixed a few whitespace indent mistakes

closes #1
BuckarooBanzay pushed a commit to pandorabox-io/cool_trees that referenced this issue Mar 5, 2024
see pandorabox-io/pandorabox.io#836

Keeping consistancy with MTG-default, all leaves, trunk, wood, fruits
etc. are non ground content.
Only the saplings are ground content.
SwissalpS added a commit to SwissalpS/digistuff that referenced this issue Mar 11, 2024
SwissalpS added a commit to SwissalpS/minetest_roads that referenced this issue Mar 11, 2024
see pandorabox-io/pandorabox.io#836

also some whitespace indentation and trailing fixup
SwissalpS added a commit to SwissalpS/minetest_arrowboards that referenced this issue Mar 11, 2024
Niklp09 pushed a commit to mt-mods/arrowboards that referenced this issue Mar 17, 2024
mckaygerhard pushed a commit to minenux/minetest-mod-mobs_animal that referenced this issue Mar 31, 2024
* closes https://codeberg.org/tenplus1/mobs_animal/pulls/1
* closes pandorabox-io/pandorabox.io#836
* Many node definitions seem to have not set is_ground_content to false,
  means jumping a ship near mapblocks that haven't been generated yet,
  can lead to loss of ships or at least parts of it.
* improved and related to commit 18a62b4
wsor4035 pushed a commit to mt-mods/digiterms that referenced this issue Apr 5, 2024
wsor4035 pushed a commit to mt-mods/roads that referenced this issue Apr 12, 2024
* is ground content revision

see pandorabox-io/pandorabox.io#836

also some whitespace indentation and trailing fixup

* unused variable removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants