Time Nick Message 00:36 ManElevation how do i make it so that when your at 0,1100,0 your breath goes down like if you were in water? 00:37 entuland there should be some facility that let you run some code every n time, ManElevation 00:38 entuland and probably some variable to lower the oxygen bar 00:39 entuland set_breath() on the player object will tackle that 00:39 entuland https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L4920 00:40 entuland I'm not able to find any "free" timer you could run though, only attached to nodes 00:41 entuland ah 00:42 entuland register_globalstep() probably: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L3421 00:42 ManElevation hum.. 00:42 entuland then you just need to check for the player position 00:42 ManElevation could i make a air node? 00:42 entuland sure you can 00:42 entuland I'm not sure it's the best way to tackle that 00:43 ManElevation hum... idk ill see 00:43 ManElevation btw thx 00:43 entuland the idea you had should work, with the above facilities 00:43 entuland yw 00:51 ManElevation i found this, its from basic_machines mod, it takes breath of you and kills you if you are not in a protected radius 00:51 ManElevation https://pastebin.com/49WFS1BQ 00:51 ManElevation well i can just change just for my new mod https://forum.minetest.net/viewtopic.php?f=9&t=20462 00:52 ManElevation and change player:set_hp(hp-10); to player:set_breath(-10); 04:07 Ruslan1 I have run time error how to fix it 07:54 MinetestBot 02[git] 04lhofhansl -> 03minetest/minetest: Reduce block load glitches 13ba7cf30 https://git.io/fNLf7 (152018-07-12T07:54:00Z) 07:54 DanPete_ Can someone help me with this error: ERROR[Main]: /home/dan/.minetest/mods/minetest_toolranks_master/init.lua:116: Attempt to override non-existent item default:pick_diamond 07:55 DanPete_ I think I have all the dependencies installed so I am not sure what the problem is 07:59 lumberJ DanPete_ Assuming default:pick_diamond is the right item name, you probably need to add default to depends.txt 08:02 DanPete_ Hmm, I am having multiple problems the same thing is happening with Ethereal NG - but with default item pine_needles. 08:02 DanPete_ Are many of the mods outdated and I shouldn't try using them? 08:03 sfan5 it looks like the mod you're using is not made to support Ethereal NG (or anything that isn't minetest_game really) 08:03 lumberJ no, i would guess something is wrong with your installation 08:04 DanPete_ This is the full error: 2018-07-12 11:01:49: ERROR[Main]: ModError: Failed to load and run script from /home/dan/.minetest/mods/ethereal/init.lua: 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /home/dan/.minetest/mods/ethereal/leaves.lua:36: Attempt to override non-existent item default:pine_needles 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: stack traceback: 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: [C]: in function 'error' 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:389: in function 'override_item' 08:04 lumberJ could be mod compatibility 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /home/dan/.minetest/mods/ethereal/leaves.lua:36: in main chunk 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: [C]: in function 'dofile' 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: /home/dan/.minetest/mods/ethereal/init.lua:89: in main chunk 08:04 DanPete_ 2018-07-12 11:01:49: ERROR[Main]: Check debug.txt for details. 08:04 lumberJ please post that in pastebin next time 08:04 DanPete_ Oh sorry, oops 08:05 DanPete_ I'm trying to use it on Voxelgarden, but it is the same erros on minetest too. Am I probably just using conflicting mods? 08:07 lumberJ i'm assuming voxelgarden has different mods than minetest game or has removed items so the mods aren't compatible 08:08 lumberJ if they aren't working on minetest game, they are perhaps mutually incompatible. i would test each one independently on a fresh world and see if they still don't work 08:09 DanPete_ Alright, thank you. 08:10 lumberJ there is no diamond pick in voxelgardens 08:10 lumberJ so that is that issue 08:10 DanPete_ Oh, hmmm, so can I add it with a different dependency, or it's not possible? 08:11 lumberJ you would just have to keep modifying toolranks until it works probably 08:11 DanPete_ Oh, I see 08:11 lumberJ if you commented out the code for the items that don't exist in voxel it might work 08:12 lumberJ but i'm not intimately familiar with either one's code base so i can't say for sure 08:12 DanPete_ does diamond pick even exist in Minetest-game? Because I am getting the same error. 08:13 lumberJ yes 08:14 lumberJ no other mods it could be conflicting with? 08:14 DanPete_ Yes, probably other mods conflicting... I got too excited and put a lot in. :) 08:14 DanPete_ So, I'll just have to clean it up I guess. 08:15 lumberJ add the ones that effect the map first 08:15 lumberJ affect* 08:15 lumberJ then one at a time add the others and debug as you go 08:15 lumberJ will probably make it a little less frustrating 08:19 DanPete_ Great, yea that sounds like a good idea. Thanks 08:20 sfan5 DanPete_: ethereal tries to change how pine needles work, but voxelgarden doesn't have these 08:20 sfan5 which is why i'm guessing that only minetest_game is supported 08:21 DanPete_ Oh, I see so I'd have to use minetest. Is voxelgarden equivalent to a modpack almost? 08:21 DanPete_ It seems more fun than minetest, but I assume I can just add all its features through separate mods? 08:22 DanPete_ I'm very new to minetest, just installed it yesterday. 08:22 lumberJ its a game, so its sort of meant to be more self contained 08:22 lumberJ where as minetest_game is sort of just a base game that is more suited to mod on top of 08:23 DanPete_ Oh, alright. So, it'd be less frustrating doing the mods in minetest 08:23 lumberJ other games can be modded the same way, but as you have found many mods are not written with the intention of supporting every game 08:31 lumberJ you should be able to add many mods to minetest_game without problems 08:33 DanPete_ Perfect, sounds fun. Thanks for the help 08:33 lumberJ no problem. have fun 08:39 sfan5 !wiki Subgames 08:39 MinetestBot "With 02Minetest you can run and play games (previously called “subgames”), which are complete playable interactive experiences." - http://wiki.minetest.net/Subgames 08:39 sfan5 ^ DanPete_ 08:53 DanPete_ Thanks! Anyone know of a good mod to implement stamina/hunger? 08:56 lumberJ I'd probably use this: https://forum.minetest.net/viewtopic.php?t=19675 08:56 DanPete_ Thanks 09:32 rubenwardy Games not subgames, sfan5 09:32 rubenwardy ;) 16:41 Astrobe I'm overriding the on_use callback of the "hand tool". What should I call if my override action is not applicable, to get the default behavior? 18:28 [k00l]shamoanjac hey, I'm hosting a server and for some reasons players don't have health 18:28 [k00l]shamoanjac but it's not creative 18:28 [k00l]shamoanjac why could that be? 18:30 entuland damage disabled? 18:41 [k00l]shamoanjac yes, but how do I enable it? 18:41 [k00l]shamoanjac is it in world.mt? 18:42 [k00l]shamoanjac nvm I found minetest.conf 18:49 entuland never ran a server using the command line or the alike, just tested them from the GUI by flagging "creative" or "enable damage" 18:54 snowmondaykernel Is it possible to convert lua code to lua assembler from cross-platform mod? 18:55 rubenwardy Lua is cross platform 19:07 Astrobe The question makes little sense. Basically lua is a bytecode-based interpreted language. Whay you get when using luac is bytecode, not machine code. 19:08 snowmondaykernel i saw lua assembler utils, but not sure if they have binary dependencies 19:08 Astrobe However, there exists what is called a "JIT", something that compiles on-the-fly lua code into machine code, when running the code. 19:14 snowmondaykernel i would like to create something like computercraft so i need to interpret lua inside of lua. Also i need to be able to split that lua to small parts to save running state of robot 19:17 snowmondaykernel https://github.com/efrederickson/LuaAssemblyTools that is what i found but no idea about it's api 19:24 Astrobe oh, right. They use the term "assembler" because the bytecode is actually like machine code for a "Lua virtual machine". 19:24 Astrobe Slightly confusing, but not wrong. 19:30 Astrobe In my opinion, I don't think that yet another "learn to code" mod is a good idea - especially if the learning language is Lua. Modding MT with Lua is already a good and fun way to learn to code. 19:31 snowmondaykernel it's not "learn to code", it's "make robot do boring things for you" 19:32 snowmondaykernel Also, unlike mod writing, you can distribute code more easily to players of same server 19:40 Astrobe I can see that building bridges, tunnels, roads etc. can be boring. Personally I'm looking for ways to let vets contract with newcomers to do that kind of thing. 19:41 Astrobe Hopefully it's less boring to new players in particular when they get "paid" for it. 19:41 [k00l]shamoanjac >arrive home after entire day of being paid for completing a task 19:42 [k00l]shamoanjac >go on computer and get paid virtual money for completing a virtual task 19:42 [k00l]shamoanjac cmon let me have a break from Capitalism 19:42 Astrobe :D 19:43 Astrobe You know how players sometimes say "I'm working on my new weapon", meaning they are grinding some stuff for hours to get the necessary components or gold or whatever? 19:43 chicken message 19:43 chicken oops 19:45 Astrobe That said it's more about promoting interaction between players - and even roleplay - than learning capitalism the hard way. 19:46 Astrobe We're talking about an online multiplayer game after all; what's the point if everyone does their own thing in their corner of the world? 19:47 [k00l]shamoanjac I agree 19:48 Shara When the server is full of children, the point is my sanity :D 19:51 Shara Some people just choose servers over singleplayer so they can benefit from someone else (who hopefully knows what they are doing) handling mods and updates. 19:53 Astrobe I didn't think about that. 19:53 Shara You can also get people who don't want to interact, but do want to build something where it will be seen by others 19:54 Shara It doesn't mean you shouldn't promote interaction though - it would be good to see more that does that 19:55 Astrobe Actually if they want to show but don't interact, there's an interesting contradiction there. 19:55 Shara Not really. 19:56 Shara An artist might not like chatting while they paint, but might very much want their work on a wall to be seen after they are far away 19:58 snowmondaykernel eventual minigames would be more pleasurable way of interaction 19:59 Astrobe Yes, it's the same thing. Yet showing something you've done is a form of communication, even if it's disconnect in space and time. 19:59 Astrobe The only gap is that interaction is communication both ways. 20:01 Shara I can't be bothered to argue definitions, sorry :) 20:03 Shara I would love to see more minigames and things anyway 20:04 Astrobe Ah! my brains hurts anyway. 20:04 Shara Plural? :D 20:07 Astrobe https://www.scientificamerican.com/article/gut-feelings-the-second-brain-in-our-gastrointestinal-systems-excerpt/ 20:07 Astrobe Ate something bad, so the second brain hurts too :D 20:07 Shara :D 20:15 Astrobe Maybe something inspired from SuperMario? Some players would build levels with blocks and simple mobs, others would play them. 20:15 Astrobe Already doen I bet. 20:18 Astrobe Or maybe something like Solomon's key: https://en.wikipedia.org/wiki/Solomon%27s_Key 20:23 swift110 that would be cool