added Swamp Tall Grass

master
runs 2021-08-11 01:15:34 +02:00
parent 49cd3c9668
commit 6d28d300c0
3 changed files with 45 additions and 1 deletions

View File

@ -227,6 +227,27 @@ minetest.register_node("swaz:swamp_grass", {
},
})
minetest.register_node("swaz:tall_grass", {
description = S("Swamp Tall Grass"),
drawtype = "plantlike",
waving = 1,
visual_scale = 1.25,
tiles = {"swaz_tall_grass.png"},
inventory_image = "swaz_tall_grass.png",
wield_image = "swaz_tall_grass.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = true,
groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0.0, 4 / 16},
},
})
minetest.register_node("swaz:pampas_grass", {
description = S("Pampas Grass"),
drawtype = "plantlike",
@ -656,7 +677,29 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
offset = 0.8,
scale = 0.08,
spread = {x = 250, y = 250, z = 250},
seed = 2,
seed = 233,
octaves = 3,
persist = 0.66
},
y_min = 1,
y_max = 80,
spawn_by = "swaz:water_source",
num_spawn_by = 1,
--num_spawn_by = 8,
})
minetest.register_decoration({
decoration = "swaz:tall_grass",
deco_type = "simple",
place_on = "swaz:silt_with_grass",
sidelen = 16,
fill_ratio = 2.0,
biomes = {"swampz"},
noise_params = {
offset = 0.8,
scale = 0.08,
spread = {x = 250, y = 250, z = 250},
seed = 2223,
octaves = 3,
persist = 0.66
},

View File

@ -34,3 +34,4 @@ Barberry Bush Sapling=Retoño de agracejo
Iris=Iris
flower=flor
Swampy Water Bucket=Cubo de agua fangosa
Swamp Tall Grass=Hierba alta del pantano

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB