Luanti logo

IRC log for #minetest, 2022-01-24

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Enable nick filtering
Time Nick Message
13 more elements. Show/hide.
03:15 erlehmann sofar_ this mod from you is GPLv2 but mineclonia is GPLv3, or any later version https://content.minetest.net/packages/sofar/frame/ would you maybe license it GPLv2 or any later version?
03:19 MTDiscord <Jonathon> https://github.com/minetest-mods/frame/blob/master/LICENSE
03:20 MTDiscord <Jonathon> fixed the license on cdb
03:28 queria^clone joined #minetest
03:28 erlehmann thx Jonathon
38 more elements. Show/hide.
13:30 erlehmann is there any way to get working daylight detectors in minetest 5.3?
13:30 erlehmann i am asking because of https://git.minetest.land/Mineclonia/Mineclonia/pulls/246
13:30 erlehmann > The daylight detector code used get_node_light(), which detects both natural and artificial light. This patch improves the code to use get_natural_light(), which was introduced with Minetest 5.4.0.
13:35 MTDiscord <luatic> Probably some bit ops, let me have a look
13:36 grouinos joined #minetest
13:37 MTDiscord <luatic> Yep, this can be implemented in Lua. See ModApiEnvMod::l_get_natural_light. This first does some bit ops, and for some edge case checks nearby nodes searches nearby nodes for their sunlight.
4 more elements. Show/hide.
14:19 erlehmann luatic you have some example for that?
14:20 MTDiscord <luatic> unfortunately no, I haven't needed it yet
14:25 erlehmann well for once, daylight sensor / solar panel in mesecons
14:25 erlehmann they are all wrong in 5.3
38 more elements. Show/hide.

| Channels | #minetest index | Today | | Google Search | Plaintext