I hope in the next version of MT there will finally be a more straightforward way to disable the auto-conversion of dirt to dirt_with_grass and cobble to mossycobble on a world-by-world basis, possibly via a setting in minetest.conf for backwards compatibility. Right now it seems the only way to override this behavior is by hard-coding the changes in default/functions.lua, which is a far from ideal solution.
These ABMs in particular grief maps that were created in older versions of Minetest where such behavior didn't exist by default. Just reading through the feature request on GitHub, it is clear that this change was implemented primarily because developers thought it would be cool, rather than considering its implications for existing builds.
Disabling conversion of cobble -> mossycobble
- sorcerykid
- Member
- Posts: 1841
- Joined: Fri Aug 26, 2016 15:36
- GitHub: sorcerykid
- In-game: Nemo
- Location: Illinois, USA
- Napiophelios
- Member
- Posts: 1035
- Joined: Mon Jul 07, 2014 01:14
- GitHub: Napiophelios
- IRC: Nappi
- In-game: Nappi
Re: Disabling conversion of cobble -> mossycobble
I think it was intended to give mossy cobble a source,
it just happens to be cool too :)
I had some snippet of code I was testing when you first brought it up a while back,
but I lost interest and forgot about it.I will try to find it and see if I can get it working right.
do you already have a means written to implement this?
if so share it, the worst they will do is say no.
it just happens to be cool too :)
I had some snippet of code I was testing when you first brought it up a while back,
but I lost interest and forgot about it.I will try to find it and see if I can get it working right.
do you already have a means written to implement this?
if so share it, the worst they will do is say no.
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Disabling conversion of cobble -> mossycobble
How about only growing mossy if there's mossy near? Similar to grass spreading
- Napiophelios
- Member
- Posts: 1035
- Joined: Mon Jul 07, 2014 01:14
- GitHub: Napiophelios
- IRC: Nappi
- In-game: Nappi
Re: Disabling conversion of cobble -> mossycobble
But then mossy cobble would never spawn above ground unless placed by a playerrubenwardy wrote:How about only growing mossy if there's mossy near? Similar to grass spreading
...oh wait that was your point huh?
- TumeniNodes
- Member
- Posts: 2941
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: Disabling conversion of cobble -> mossycobble
I've thought it would be better to create a separate moss mod... then code it so any stone and/or wood_like node which touches water, grows moss, and give it a spread of how ever many nodes away from the origin of the first mossy node. that way, trees in water would also grow moss up their trunks, so far up, etc... There could just be a generic moss overlay texture in the mod
Just a thought
>edit- or maybe the functions lua could just be re-written to do the job, rather than adding an entirely new mod to Minetest_Game
>yet another edit... "if" moss were a separate mod... it could be disabled per world.
Just a thought
>edit- or maybe the functions lua could just be re-written to do the job, rather than adding an entirely new mod to Minetest_Game
>yet another edit... "if" moss were a separate mod... it could be disabled per world.
A Wonderful World
- TumeniNodes
- Member
- Posts: 2941
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: Disabling conversion of cobble -> mossycobble
I had another thought regarding this and now I'm off to bed...
Why could moss growth not be done as an individual mod.... and set it up like "wood soils" was done?
growth will vary from thick, medium and thin...
nodes touching water directly grow heavy moss, and set the (abms?) to thin out on nodes connected to those nodes per a set distance from the water?
nodes which are affected would be stone-like, wood-like (including trees) and (maybe) dirt?
Anyway... there's my brainstorm... now I'm exhausted. I wish I knew more about lua because I would code it all out myself.
This way, all gain a really cool feature, while some also gain the ability to have it on or off depending on the conditions this thread started over.
Why could moss growth not be done as an individual mod.... and set it up like "wood soils" was done?
growth will vary from thick, medium and thin...
nodes touching water directly grow heavy moss, and set the (abms?) to thin out on nodes connected to those nodes per a set distance from the water?
nodes which are affected would be stone-like, wood-like (including trees) and (maybe) dirt?
Anyway... there's my brainstorm... now I'm exhausted. I wish I knew more about lua because I would code it all out myself.
This way, all gain a really cool feature, while some also gain the ability to have it on or off depending on the conditions this thread started over.
A Wonderful World
Who is online
Users browsing this forum: ROllerozxa and 5 guests