Time Nick Message 09:59 nore ~tell Krock LANG_CODE is not gettext standard, it needs to be defined in the translation files (I was not able to find a reliable way to detect language without it) 09:59 ShadowBot nore: O.K. 16:38 Sokomine can minetest.node_dig(pos, node, digger) be called with a mob as digger? 17:05 Krock Sokomine: that would work but the protection mods can only check against the player name "" 17:07 Krock also no tool will wear out. if your mob is an NPC you'll have to deal it manually or pass a custom fake player table to "digger" like pipeworks does 17:10 Sokomine tool wear may be handled by on_rigthclick (where all this more or less happens) anyway. i'm not sure how much tool wear will be appropriate (if any). i'm currently checking my functions to see what needs to be changed for mobs 17:14 Sokomine guess i'll skip protection checks for mobs and check beforehand if the player who acts is allowed to act in that area. slightly annoying that we have no real way to check a volume for protection 17:16 Krock well, there is. 17:17 Krock https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4430 17:17 Krock maybe 5.0.0-dev only but it exists 17:18 Sokomine 0.5 is fine. i'm just not familiar enough with some builtin functions and was therefore asking 19:16 paramat #7599 seems good now, Krock maybe you support a merge? 19:16 ShadowBot https://github.com/minetest/minetest/issues/7599 -- lua_api.txt: Improve code block format by pauloue 19:16 Krock reviewing 19:18 paramat good luck, it's big 19:20 Krock I'm not sure about this notation https://github.com/minetest/minetest/pull/7599/files#diff-1305560bd8befb32862f0feeefabd02eR5646 19:20 Krock Well, it's consistent now 19:32 paramat comments on same line is not ideal but can be a later PR 19:32 paramat i don't like that either :) 19:33 paramat seems best to merge before conflicts 19:35 paramat author tends to appear at night, shall i merge it tonight once your issues are fixed? 19:37 paramat actually yes, just seen your comment 19:37 paramat i could fix these on merge 19:38 paramat game#2184 19:38 ShadowBot https://github.com/minetest/minetest_game/issues/2184 -- Player_api: Give laying players a low selection/collisionbox by paramat 19:39 paramat ^ rubenwardy since you've worked on this mod a lot 20:25 paramat #7599 is updated will merge in 5 mins 20:25 ShadowBot https://github.com/minetest/minetest/issues/7599 -- lua_api.txt: Improve code block format by pauloue 20:33 paramat merging 20:39 paramat merged