1
0
mirror of git://repo.or.cz/rocks.git synced 2024-11-15 23:10:40 +01:00

Add layerite clay to beach biomes.

This commit is contained in:
Tomáš Brada 2015-04-22 20:09:06 +02:00
parent 016f5aab0f
commit 8159669a2a

View File

@ -16,6 +16,12 @@ minetest.register_node( "rocks:limestone", {
is_ground_content = true, sounds = default.node_sound_stone_defaults(),
groups = {cracky=2},
})
minetest.register_node( "rocks:laterite", {
description = S("Laterite clay"),
tiles = { "rocks_laterite.png" },
is_ground_content = true, sounds = default.node_sound_dirt_defaults(),
groups = {crumbly=3},
})
local beach_max=4
local lowland_max=27
@ -95,9 +101,8 @@ do
def.depth_filler=2
def.y_min=beach_min
elseif def.humidity_point>70 then
print(" dirt")
def.node_top="default:dirt"
def.depth_top=3
def.node_filler="rocks:laterite"
def.depth_top=0
end
end
if (def.node_stone=="default:stone") or (not def.node_stone) then def.node_stone="rocks:basalt" end