Time Nick Message 09:52 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Update library versions in buildbot (#11229) 139660ae2 https://git.io/JOAAy (152021-04-27T09:50:40Z) 09:52 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest_game: Check for required engine features on startup 1379e63a8 https://git.io/JOAAS (152021-04-27T09:50:32Z) 18:17 beanzilla How can I get an itemstring from a `minetest.get_meta(pos)`? 18:18 beanzilla Could I just do some call like `meta:get_string("name")`? 18:24 AntumDeluge beanzilla, I'm not really the one to answer that question (so you should probably wait for someone with knowledge about it), but I just tested it on a node & it seems like that is not what you want. "name" doesn't seem to be set by default (at least for nodes). 18:25 MTDiscord If you have pos, get the node itself, then get the name from that, then do ItemStack(name) 18:25 beanzilla AntumDeluge, Ok thank you for the input. 18:25 calcul0n__ yep, i don't think you can get the node infos if you only have the meta 18:26 AntumDeluge Jonathon, how do you "get the node itself" from pos? (trying to look it up now) 18:26 * beanzilla bangs more on the keyboard to get the node then convert to itemstack. 18:27 AntumDeluge Ah, simple: minetest.get_node(pos) 18:28 Hawk777 This plan is going to run into problems for nodes that don’t drop themselves as items, isn’t it? Though I guess it depends on what your intent is. 18:29 AntumDeluge So it should be minetest.get_node(pos):get_name() 18:29 beanzilla I am modifying Technic's Fuel Fired Generators so they consume only plants (Bioreactor) 18:30 AntumDeluge Hmmm, didn't work: "attempt to call method 'get_name' (a nil value)" 18:30 MTDiscord Or get_node_or_nil 18:30 AntumDeluge Oh, that's because I was looking at ItemStack definition, not node. I guess node doesn't have "get_name()" method. 18:31 AntumDeluge Sorry I couldn't be more help. 18:31 beanzilla AntumDeluge, Or you could just access the table like minetest.get_node does. 18:32 beanzilla AntumDeluge, It's ok you helped me get closer. 18:50 beanzilla I am confused... How does a furnace get the time an item burns for? 18:52 beanzilla Is it by flammable? Or is there some extra definition to the item? (I'm looking at coal to see how it compares to things like saplings) 19:00 beanzilla Hmm... well I guess I don't need to bother making a bioreactor since the Technic Fuel-Fired Generator can burn items of plant like. 19:00 * beanzilla continues to bable into insanity. 19:03 calcul0n beanzilla, fuel items are registered with minetest.register_craft() and type="fuel" 19:04 calcul0n see https://minetest.gitlab.io/minetest/definition-tables/#furnace-fuel 19:04 beanzilla Ah ha... Thank you very much calcul0n. 21:23 AntumDeluge Can I prevent a formspec from closing after "Enter" key is pressed while a text input field has focus? I tried setting "fields.quit = false" in "on_receive_fields", but it doesn't work. 21:24 sfan5 on_receive_fields runs on the server after the client has already closed the window, even if you could do that it would be too late 21:24 sfan5 but yes there's a way to do this, you need to specify this in the formspec 21:25 AntumDeluge In a meta key? 21:25 sfan5 no 21:25 sfan5 !api 21:25 MinetestBot Someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 21:25 sfan5 search for field_close_on_enter 21:26 MTDiscord https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2422-L2427 21:28 AntumDeluge Perfect! Thank you. 21:32 MTDiscord hmm, i could have used discord minetest bot to get that faster 21:52 Menchers gyah, why is there a DOS formatted file in irrlichtmt 21:53 sfan5 a? all of them have Windows line endings 21:53 sfan5 it's a pain 21:54 Menchers maybe *that* is why these patches didn't apply 22:01 Menchers I think my main problem is how it's looking for 22:01 Menchers there are systems that aren't linux irrlicht! 22:03 Menchers hmm the patch to source/Irrlicht/Makefile would have been what fixes this 22:04 Menchers but of course that's been stripped out and replaced with… CMake 22:04 Menchers urgh 22:07 * Menchers must do a lot more therapeutic griping, then learn CMake again 22:33 AntumDeluge Any ideas why '/revoke server' isn't working for me? 22:34 hlqkj is that player the one listed as the admin in minetest.config? 22:34 AntumDeluge I don't think so, but I will check. 22:35 hlqkj *.conf -- my bad lol 22:35 AntumDeluge No, I have "name = server" in minetest.conf. The actual name "server" should affect it, right? 22:35 AntumDeluge It says the priv has been revoked, but calling '/priv