1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add seed parameter for default and L-system trees

This commit is contained in:
RealBadAngel 2013-02-24 02:26:25 +01:00
parent 6b9906687b
commit f0d70d4e86
6 changed files with 37 additions and 32 deletions

View file

@ -4254,6 +4254,7 @@ private:
tree_def.fruitnode=ndef->getId(fruit);
getintfield(L, 3, "fruit_chance",tree_def.fruit_chance);
}
getintfield(L, 3, "seed", tree_def.seed);
}
else
return 0;