Time Nick Message 00:01 nekobit rubenwardy: For the Lua wrapper, should I put this in scripting_client, mainmenu, emerge, or server? 00:02 nekobit mainmenu makes sense, but those are async. Not sure what to do about that 00:02 rubenwardy needs to be available in the mainmenu. It has both sync and async methods 00:04 nekobit are there any docs on this 00:26 nekobit rubenwardy: Did you want all of the contentdb functions to be rewritten in C++? Or just contentdb.lua and pkgmgr.lua? 00:30 rubenwardy The other files are UI related which you'll want to keep in Lua 00:31 rubenwardy If I was doing this, I'd start by moving the stuff that's needed by both cpp and Lua to the same implementation in src/content. That's generally parsing file directory structures to build a content tree 00:32 rubenwardy Well then again I haven't looked into it fully 00:32 rubenwardy This isn't the best first task so sorry for that 00:33 MTDiscord "are there any docs on this" - Ha. Ha ha ha. We have decent documentation for modding API, but not the engine. That's a crapshoot. luckily we're semi helpful with questions 00:34 nekobit It's fine. I'm making do. Yeah I can see it's quite undocumented. I'm just digging around for what I can find. 00:35 nekobit My main roadblock is trying to put my pkgmgr methods in a table like pkgmgr.get_folder_type. Not sure how to do this 00:37 nekobit Ha, thank goodness i compiled Lua with the doc useflag... 02:35 nekobit I just wasted like 4 hours trying to figure out how to add my function to a table 02:36 nekobit Turns out, this entire time, pkgmgr.lua was setting the pkgmgr table to {}, making it empty.. so my results from C never even showed up... 03:22 MTDiscord :< 09:33 MTDiscord nekobit: you're doing a refactoring of pkgmgr code? you could check out #14543 for reference, so that you at least don't make it harder, or maybe incorporate some parts of it (not sure how deep you are going) 09:33 ShadowBot https://github.com/minetest/minetest/issues/14543 -- Add gameid aliases by nauta-turbidus 12:48 nekobit Thanks