Time Nick Message 00:11 specing Is there a food-rebalancing script out there? Something that would munch all the register_node.on_use/item_eat() calls and assign weights to crafting/furnacing/etc steps such that all foods fall between 1 and 20 stamina? 05:36 mr_chubbz_ Hello 14:07 MTDiscord <11J​onathon> Hi 14:14 MTDiscord <09w​war> Hey 14:35 specing Is there a food-rebalancing script out there? Something that would munch all the register_node.on_use/item_eat() calls and assign weights to crafting/furnacing/etc steps such that all foods fall between 1 and 20 stamina? 15:39 Elvano A modding question: When registering a new node you can – within the node definition – specify drops based on what tool you used to break it. Is it also possible to specify this explicitly for using your bare hands? 15:43 cheapie Elvano: I *think* bare hands are a tool of ":". 15:44 Elvano Thank you, cheapie. I'll give that a try then. 15:46 MTDiscord <11J​onathon> yes, the hand is ":" https://gitlab.com/4w/void/-/blob/master/mods/void_hand/init.lua#L4\ 15:47 sfan5 technically ":" is how you register a hand, since items are usually enforced to start with the mod prefix 15:47 sfan5 so the hand itself is called "" 16:02 Elvano The empty string seems to work for me. Thanks a lot. 16:12 MinetestBot 02[git] 04paramat -> 03minetest/minetest: Move Mapgen V7 river generation into the main generation loop (#10639) 13872dce5 https://git.io/JkgdJ (152020-11-20T16:11:19Z) 17:42 Andrey01 can anybody help me with my mod please? 17:45 specing maybe 17:47 Andrey01 ok, my mod registers a red laser segment as an entity. It is made for aligning a whole laser from those segments from some node to some point and I have a problem with their rotations 17:48 Andrey01 I rotate an unit direction vector towards to that point and by means of vector.dir_to_rotation get a rotation of it 17:49 Andrey01 however, here is not all so easy: that laser segment has a null rotation (towards to +Z) "actually" is not turned to that direction, it is turned under right angle 17:51 Andrey01 that is, except me just pass a table to set_rotation() from dir_to_rotation I need to still rotate 90 degrees, but I don`t understand in which order I need to do it 17:52 Andrey01 if I just imoplement 'rot.y+math.pi' it won`t turned in right direction 17:56 Andrey01 so how would I need to implement correctly the turn? 18:11 NetherEran rot.y + math.pi is a 180 degree rotation, not 90 degree 18:12 NetherEran where do you get the direction unit vector from? 18:20 Andrey01 Yes, I mistook, I meant math.pi/2. That unit dir is co-directional with a face direction of a node 18:20 Andrey01 in my case 18:23 Andrey01 just the segments rotate around Z (roll) by some reason, although they should rotate around X to look aligned 18:23 Andrey01 * along X 18:24 Andrey01 that is, around Z 18:34 Andrey01 if I don`t add 90 degrees to y, the line will look like so: https://ibb.co/VjhpW7Z 18:34 Andrey01 if I add, then so: https://ibb.co/rcrf0gh 18:37 Andrey01 in second pic they dont like "connected", they actually should be turned along X axis 18:49 Andrey01 does anybody know how to do rotations right in my case? 19:28 luizrpgluiz hi 19:29 luizrpgluiz [does anyone here know OldCoder? 19:30 luizrpgluiz I have this doubt because he told me that he was one of the official developers of Minetest 19:32 Krock your concerns were correct 19:33 Krock though he wrote Lua mods, if that counts as "developing of Minetest" 19:34 Krock You can look up the contributors here: https://github.com/minetest/minetest/graphs/contributors, and also on the fork tree view (large!= 19:37 sfan5 he has never contributed code to minetest or minetest_game 19:38 sfan5 in addition to that I suggest you keep distance from him since he has a tendency to publicly post people's personal information and harass them over email and social media when he gets into disagreements 19:58 tango_ wow such a nice fellow 19:59 MTDiscord <04j​45> (sarcasm) 20:04 tango_ I was hoping it wouldn't be necessary to specfiy it, but you do have a point, one never knows 20:06 MTDiscord <04j​45> it is easier to tell when you are talking to someone face to face whether they are being sarcastic or not 20:18 tango_ well, given the horrid nature of the person being described, one would be quite hard pressed to not consider it sarcam. on the other hand, given that shitty people like OldCoder exist, there might also be people who actually admire that kind of behavior, too 20:55 blaise tango_: sarcam? 20:56 blaise OOOhhhh, Scarcasm 20:56 blaise XD 20:57 blaise so they finely called OldCoder out on his bullhonkey, eh?