Are we able to set more than one material for mapgen nodes? Or is there a magical way to use a string of nodes?
In other words I have this
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_alias("mapgen_stone", "default:stone_"..1,4)
which only reads default_stone_1.
I have tried numerous ways including e.g:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_alias("mapgen_stone", "default:stone_".. math.random1,4))
or something like that (I've tried so many methods I cant recall now :P )
But that last method created a funny event.... using a dummy DB, it cycles through the stones 1 thru 4 each time I start MT... So, one time it will use default_stone_1..., close out, restart and it uses Default_stone_3, and so on... : /
I am not sure if anyone has followed or had interest in my experiment
hereBut what I am trying to figure out, is "if" I can use the multiple versions of default_stone to load during map generation, so they are randomly generated, giving a less tiled visual.
I even tried using
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_alias("mapgen_stone", "default:stone_".. i)
but this just .... : / actually, I forget what that did... :D
Anyway... any help is greatly appreciated. Because I have NO idea what the heck I'm doing here :P
And if it is, that there can be only one alias, and a string is undoable.... well, then that's okey dokey too
Flick?... Flick who?