Time Nick Message 00:05 Guest33 how do i fix this irc err 00:05 Guest33 Uploaded file: https://uploads.kiwiirc.com/files/726402dc20053b6fdb950dc9b0c09059/pasted.txt 00:10 MinetestBot 02[git] 04paramat -> 03minetest/minetest: Improve light curve parameter limits and documentation (#9054) 131f142ec https://git.io/Je0Rj (152019-10-24T00:08:49Z) 00:18 MinetestBot 02[git] 04random-geek -> 03minetest/minetest: Change some rough/inappropriate language in comments (#9061) 1353ebd80 https://git.io/Je00f (152019-10-24T00:17:00Z) 00:50 Parnikkapore[m] Physics is being crazy again 00:50 Parnikkapore[m] https://mastodon.social/@Parnikkapore/103012469901515652 02:49 MinetestBot 02[git] 04gang65 -> 03minetest/minetest_game: boats: Improve physics by implementing drag and friction forces 13dd71dcb https://git.io/Je0E1 (152019-10-24T02:47:28Z) 14:18 scr267_ Is it theoretically possible to register an action like register_on_punchplayer() based on a priv that a user has? I've had an idea to create a 'punishment' privilege for overly aggressive players... Assign the priv and when they hit another player, they actually hurt themselves in the process. 14:19 sfan5 of course 14:19 sfan5 you can just check the player privilege inside the callback 14:20 scr267_ Right, so the mod would register the callback on all players then? 14:20 scr267_ sfan5: Thanks for the tip, I'll give that a try 14:22 sfan5 yes it would 14:23 scr267_ I guess on my server thats not a significant impact XD - I only get max 5 ~ 8 players at any given time 14:23 scr267_ Cool, much appreciated once again 17:28 codic Is it possible to code Minetest mods in Python or Ruby 17:29 codic * Is it possible to code Minetest mods in Python or Ruby? I don't really want to learn Lua which is yet another language to learn on top of Python, Java, JavaScript, C++ etc 17:29 Krock Yes, if you pipe your code through a Python/Ruby to Lua converter 17:29 Krock lool 17:29 Krock You can learn Lua in 15 minutes 17:30 Krock http://tylerneylon.com/a/learn-lua/ 17:30 codic Lol 17:30 Krock or compile your code to a dynamic library which then can be imported to Lua using the insecure "include" function 17:31 codic I might learn Lua, but do you know any converters? 17:31 codic Maybe Python/Ruby->C/C++->Lua 17:31 Krock no, I doubt that exists. It would be way too complicated to covert entire libraries 17:33 Krock PS: in case you're wondering. this here might not work in LuaJIT: (condition and func1 or func2)(arg1, arg2) 17:34 Krock although table[condition and func1 or func2](arg1, arg2) works 17:38 kurtzmusch codic: just learn lua syntax and know that tables are the only data structures 17:39 Krock can be recursive data structures 17:53 tomraceror You can learn Lua in 15 minutes interesting 17:54 Krock tomraceror: you maybe don't 17:54 Krock do it in 14 minutes 17:54 tomraceror would be cool 17:55 tomraceror i am reading 17:55 tomraceror Gibts auch ne deutsche anleitung,ist schon abend...XD 19:56 MinetestBot 02[git] 04Andrey2470T -> 03minetest/minetest_game: Add Russian translation (#2525) 136fea665 https://git.io/Je0yc (152019-10-24T19:54:20Z) 21:34 sagax hi all! 21:35 sagax How to understand the place of the appearance of monsters? 21:38 sagax i just built a base underground, and the base includes a mobs spawn point. i don’t understand which part of the database to remove. 21:39 codic @kurtzmuch: not sure how easy it is tbh 21:39 codic But sure I'll give it a shot 21:39 codic Where are the API docs? 21:39 codic for Minetest's mod api for lua 21:39 codic and are c++ mods a thing 21:41 calcul0n codic, https://rubenwardy.com/minetest_modding_book/en/index.html 21:41 calcul0n and i don't think there are c++ mods 21:42 calcul0n it's free software though, you can still modify the engine as you like :) 21:45 codic Nice 21:45 codic I'll read that guide and thanks! Also if any transpilers exist that work with MT I'll let the community know here 22:04 kurtzmusch MinetestBot 22:05 kurtzmusch !tell kurtzmusch hi 22:05 MinetestBot You can tell that to yourself 22:06 kurtzmusch codic: !api 22:06 kurtzmusch !api 22:06 MinetestBot Someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 22:45 Ruslan1 ? 22:52 cities anyone know someone named. fritigan or fertigan 22:52 cities or something like that 23:12 Parnikkapore[m] C++ mods aren't a thing because Minetest mods are meant to be hotswapped by any player/server owner ?