mirror of
https://github.com/mt-mods/moretrees.git
synced 2024-12-24 17:50:24 +01:00
made all trees require default:dirt_with_grass in all 8 of the nodes that
surround the spawn point (to keep them from spawning in a desert->grass transition area).
This commit is contained in:
parent
750e3aa6ee
commit
c679cf94b7
6
init.lua
6
init.lua
@ -67,8 +67,8 @@ spawn_on_surfaces(
|
|||||||
jungletree_seed_diff, -- duh? :-)
|
jungletree_seed_diff, -- duh? :-)
|
||||||
5, -- minimum light needed
|
5, -- minimum light needed
|
||||||
nil, -- maximim (default, 14)
|
nil, -- maximim (default, 14)
|
||||||
nil, -- ABM neighbors parameter...
|
{"default:dirt_with_grass"}, -- must have grass..
|
||||||
nil, -- don't care what else is around
|
8, -- in all 8 of the surrounding nodes
|
||||||
nil, -- we don't care about facedir
|
nil, -- we don't care about facedir
|
||||||
nil, -- or water depth
|
nil, -- or water depth
|
||||||
-5, -- must be 5m below sea level or higher
|
-5, -- must be 5m below sea level or higher
|
||||||
@ -89,7 +89,7 @@ spawn_on_surfaces(
|
|||||||
nil,
|
nil,
|
||||||
nil,
|
nil,
|
||||||
{"default:dirt_with_grass"},
|
{"default:dirt_with_grass"},
|
||||||
3,
|
8,
|
||||||
nil,
|
nil,
|
||||||
nil,
|
nil,
|
||||||
CONIFERS_ALTITUDE,
|
CONIFERS_ALTITUDE,
|
||||||
|
Loading…
Reference in New Issue
Block a user