Closed Awkanimus closed 1 year ago
https://github.com/mt-mods/moretrees/pull/11#discussion_r1002973356
Was this fixed by TenPlus1?
Was this fixed by TenPlus1?
nope
to clarify the label, tenplus1 is to blame here for still nuking things unless mods dep on ethereal to load after it
relevant yl issue https://gitea.your-land.de/your-land/bugtracker/issues/3013
probably should make an issue from tracking the status so we dont forget
^ ill do this
Forgot to comment. Thanks for the clarification. I'll watch the related bug.
Updated as requested. Notes:
edit: Reworded point 3 for clarity
Testing notes:
For clarity, coding and testing is all done. Not sure if requesting a rereview is the way forward here but that's what I did
im sorry, but these latest commits are absolutely over the top ridiculous. nothing more was needed besides a minimally modified version of the code listed in https://github.com/mt-mods/moretrees/issues/22#issuecomment-1345102761 - additionally, it seems like luacheck wasnt even used here (see failed ci)
As requested, I force-pushed the version much closer to the snippet in the other issue. Luacheck is now happy about it. Thanks for pointing it out; it's my first time in lua. Hope this helps.
I just noticed you folks use tabs, not spaces. Just a moment.
Ok @wsor4035, a version more similar to the one in the other conversation is force-pushed. Tabs, not spaces are used as thats what the code around it mostly uses. Luacheck (assuming luacheck's config plus the .luacheckrc settings are enough) passes.
oh, just noticed moretress
should be moretrees
in the error
function
Ok. The comment is more descriptive, now uses minetest.global_exists("ethereal")
and s/moretress/moretrees/g.
Also, manual tests with and without ethereal and with a bad version number rerun and continue to pass. Luacheck passes.
looks good. approval still stands.
thank you for your contribution and testing @Awkanimus
Happy to help. Thanks for the timely responses and constructive feedback.
Removing
ethereal
from theoptional_depends
because it is not used in moretrees and it creates a circular dependency.The dependency cycle this solves is currently ethereal --> bakedclay --> flowerpot --> moretrees --> ethereal.