-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Pushing furniture off the ledge results in a debugmsg error #78828
Comments
I think ideally this flag and error should be removed and there should just be some final check in mapgen that removes unintentionally floating furniture (where the error is could well be fine I forget where it is and aren't at home) |
The warnings about floating stuff in mapgen are fine, in my view, as they indicate something is wrong there and should be addressed. The problem occurs when post mapgen conditions cause these reports, such as the example above and when buildings collapse. However, the message is produced by a low level operation, so it doesn't have any info about the context in which it's invoked. It might be possible to add (yet another) parameter to the operation to indicate whether reports should be made or not, but then we might miss out on reports that should have been made because you usually don't want to place stuff in the air, but occasionally that's fine. |
I don't really see why you should have to guarentee terrain under any furniture during mapgen though, it just makes things more awkward with nests etc and I think this is a reasonable place to have it just silently fail. |
As far as I've seen, the most common reason for things in the air during mapgen is because they weren't placed where intended, so it serves as an notification that you need to recheck your placement. |
I'm completely clueless as I have not looked at the code, but would it perhaps be possible to distinguish between "furntire added to a tile" and "furniture moved into a tile", and only inssue the warning in the former case, but not the latter? |
I mean it would be detected by anyone looking at the map in game I don't see what extra use the error is when it only happens at mapgen not when the file is read, unless we ever have the tests gen every single special or something then it is unlikely to be catch most instances of this with tests |
@moxian: @Procyonae: |
Oh right I forgot the " " is replaced with open air by the roof palette so it's invisible unless furniture spawns which given it's minimal density due to no adjacent forest is pretty slim, kind of a funky scenario |
Describe the bug
Attach save file
debug-world-remote-trimmed.tar.gz
Steps to reproduce
see above
Expected behavior
no error
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: