Luanti logo

IRC log for #minetest, 2023-01-30

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
52 more elements. Show/hide.
19:30 fluxionary when using valleys mapgen and ethereal, i'm noticing that the biome reported by `minetest.get_biome_data(pos)` doesn't always seem to correspond to the actual biome at a given location. it's never too far off, but it's still clearly wrong sometimes, particularly near edges of some biomes
19:31 fluxionary anyone got any insight?
19:32 daxfold joined #minetest
19:41 calcul0n fluxionary, i noticed the same, it's because of altitude chill and other params altering the biome
19:43 fluxionary hm, interesting. would it be considered a bug that get_biome_data doesn't take this into account?
19:44 sfan5 this could be considered a design mistake
19:45 calcul0n yep, if it's a bug it would be very hard to fix
19:45 fluxionary hm. and there's no way to get that data either, w/out re-implementing parts of valleys mapgen in lua?
19:47 calcul0n afaik that would be only way yes
19:47 sfan5 valleys would have to move its biome adjustment stuff into a separate BiomeGen implementation (child class), annoying but not impossible
19:51 fluxionary i've been toying around w/ some ideas for gradual terrain repair & regeneration, but it sounds like there's a lot of work to be done before that's possible. hm.
19:55 calcul0n i made some tests and if i'm not wrong you can get the correct info from the biomemap in an on_generated hook
19:56 calcul0n the problem is you can only get it at mapgen time so you'll have to record it somewhere or something
19:57 fluxionary which isn't really possible for an already-existing world, unless i want to regenerate the whole thing...
19:58 calcul0n ah, true
8 more elements. Show/hide.

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