added thistles and added orchard biome
This commit is contained in:
parent
ee5b16cf26
commit
bb85bee215
@ -146,6 +146,23 @@ minetest.register_biome(
|
|||||||
depth_top = 1,
|
depth_top = 1,
|
||||||
|
|
||||||
y_min = 3,
|
y_min = 3,
|
||||||
|
y_max = 20,
|
||||||
|
|
||||||
|
heat_point = 50,
|
||||||
|
humidity_point = 35,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome(
|
||||||
|
{
|
||||||
|
name = "Orchard",
|
||||||
|
|
||||||
|
node_top = "default:dirt_with_grass",
|
||||||
|
node_filler = "default:dirt",
|
||||||
|
|
||||||
|
depth_filler = 4,
|
||||||
|
depth_top = 1,
|
||||||
|
|
||||||
|
y_min = 21,
|
||||||
y_max = 32000,
|
y_max = 32000,
|
||||||
|
|
||||||
heat_point = 50,
|
heat_point = 50,
|
||||||
@ -298,8 +315,8 @@ minetest.register_decoration(
|
|||||||
deco_type = "schematic",
|
deco_type = "schematic",
|
||||||
place_on = {"default:dirt_with_grass"},
|
place_on = {"default:dirt_with_grass"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
fill_ratio = 0.005,
|
fill_ratio = 0.006,
|
||||||
biomes = {"Grassland"},
|
biomes = {"Orchard"},
|
||||||
flags = "place_center_x, place_center_z",
|
flags = "place_center_x, place_center_z",
|
||||||
schematic = minetest.get_modpath("default").."/schematics/default_tree.mts",
|
schematic = minetest.get_modpath("default").."/schematics/default_tree.mts",
|
||||||
y_min = 10,
|
y_min = 10,
|
||||||
@ -402,7 +419,6 @@ minetest.register_decoration(
|
|||||||
height = 2,
|
height = 2,
|
||||||
y_max = 3,
|
y_max = 3,
|
||||||
y_min = 0,
|
y_min = 0,
|
||||||
y_max = 31000,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Flowers
|
-- Flowers
|
||||||
@ -529,6 +545,21 @@ minetest.register_decoration(
|
|||||||
y_max = 32000,
|
y_max = 32000,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Thistle
|
||||||
|
|
||||||
|
minetest.register_decoration(
|
||||||
|
{
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = "default:dirt_with_grass",
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.024,
|
||||||
|
biomes = {"Wilderness"},
|
||||||
|
decoration = {"default:thistle"},
|
||||||
|
height = 2,
|
||||||
|
y_min = -32000,
|
||||||
|
y_max = 32000,
|
||||||
|
})
|
||||||
|
|
||||||
-- Ferns
|
-- Ferns
|
||||||
|
|
||||||
minetest.register_decoration(
|
minetest.register_decoration(
|
||||||
|
@ -1253,6 +1253,7 @@ minetest.register_node(
|
|||||||
inventory_image = "default_flowers_inventory.png",
|
inventory_image = "default_flowers_inventory.png",
|
||||||
wield_image = "default_flowers_inventory.png",
|
wield_image = "default_flowers_inventory.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -1339,7 +1340,6 @@ minetest.register_node(
|
|||||||
tiles ={"default_grass_clump_tall.png"},
|
tiles ={"default_grass_clump_tall.png"},
|
||||||
inventory_image = "default_grass_clump_inventory.png",
|
inventory_image = "default_grass_clump_inventory.png",
|
||||||
wield_image = "default_grass_clump_inventory.png",
|
wield_image = "default_grass_clump_inventory.png",
|
||||||
wield_image = "default_grass_clump_tall.png",
|
|
||||||
drop = "default:grass",
|
drop = "default:grass",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
@ -1350,6 +1350,29 @@ minetest.register_node(
|
|||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node(
|
||||||
|
"default:thistle",
|
||||||
|
{
|
||||||
|
description = "Thistle",
|
||||||
|
drawtype = "plantlike",
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-6/16, -0.5, -6/16, 6/16, 0.5, 6/16}
|
||||||
|
},
|
||||||
|
tiles ={"default_thistle.png"},
|
||||||
|
inventory_image = "default_thistle_inventory.png",
|
||||||
|
wield_image = "default_thistle_inventory.png",
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
is_ground_content = true,
|
||||||
|
damage_per_second = 1,
|
||||||
|
groups = {snappy = 3, dig_immediate = 3, falling_node = 1},
|
||||||
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
after_dig_node = function(pos, node, metadata, digger)
|
||||||
|
default.dig_up(pos, node, digger)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node(
|
minetest.register_node(
|
||||||
"default:apple",
|
"default:apple",
|
||||||
{
|
{
|
||||||
|
BIN
mods/default/textures/default_thistle.png
Normal file
BIN
mods/default/textures/default_thistle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 665 B |
BIN
mods/default/textures/default_thistle.xcf
Normal file
BIN
mods/default/textures/default_thistle.xcf
Normal file
Binary file not shown.
BIN
mods/default/textures/default_thistle_inventory.png
Normal file
BIN
mods/default/textures/default_thistle_inventory.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 711 B |
BIN
mods/default/textures/default_thistle_inventory.xcf
Normal file
BIN
mods/default/textures/default_thistle_inventory.xcf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user