Time Nick Message 09:11 dalz hey there, does someone happen to know if there's a way to test if a node at a certain position is liquid? 09:45 AspireMint dalz: hello, first get node: node=minetest.get_node(pos) then ndef=minetest.registered_nodes[node.name] if ndef is not nil, then ndef.groups.liquid should be number in case it is liquid, otherwise nil 09:48 dalz thanks AspireMint, trying it now 09:54 dalz looks good, thanks again 09:55 AspireMint np :) 10:13 AspireMint anyone knows how to pause singleplayer from code? 11:09 MTDiscord <08a​ppguru> dalz: Use this instead: ((minetest.registered_nodes[minetest.get_node(pos).name] or {}).liquidtype or "none") ~= "none" 11:11 MTDiscord <08a​ppguru> AspireMint: liquid is a MTG group and should not be used here. Also, you should use minetest.get_item_group and check against 0, not nil. 11:15 dalz thanks appguru 11:15 dalz why is checking if minetest.registered_nodes contains the node necessary? 11:16 dalz can you have nodes that are not registered? 11:21 AspireMint appguru: thanks! dalz: same question i asked some days ago... yes, these nodes: "ignore" and "unknown node" 11:23 dalz good to know, ty 11:36 MTDiscord <08a​ppguru> np