added thistles and added orchard biome

This commit is contained in:
kaadmy 2015-10-20 09:29:44 -07:00
parent ee5b16cf26
commit bb85bee215
6 changed files with 58 additions and 4 deletions

View File

@ -146,6 +146,23 @@ minetest.register_biome(
depth_top = 1,
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,
heat_point = 50,
@ -298,8 +315,8 @@ minetest.register_decoration(
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.005,
biomes = {"Grassland"},
fill_ratio = 0.006,
biomes = {"Orchard"},
flags = "place_center_x, place_center_z",
schematic = minetest.get_modpath("default").."/schematics/default_tree.mts",
y_min = 10,
@ -402,7 +419,6 @@ minetest.register_decoration(
height = 2,
y_max = 3,
y_min = 0,
y_max = 31000,
})
-- Flowers
@ -529,6 +545,21 @@ minetest.register_decoration(
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
minetest.register_decoration(

View File

@ -1253,6 +1253,7 @@ minetest.register_node(
inventory_image = "default_flowers_inventory.png",
wield_image = "default_flowers_inventory.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
buildable_to = true,
is_ground_content = true,
@ -1339,7 +1340,6 @@ minetest.register_node(
tiles ={"default_grass_clump_tall.png"},
inventory_image = "default_grass_clump_inventory.png",
wield_image = "default_grass_clump_inventory.png",
wield_image = "default_grass_clump_tall.png",
drop = "default:grass",
paramtype = "light",
waving = 1,
@ -1350,6 +1350,29 @@ minetest.register_node(
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(
"default:apple",
{

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.