added a wilderness biome and changed farming grow time
This commit is contained in:
parent
96130c3407
commit
a516b82d29
@ -28,6 +28,9 @@ Mapgen:
|
||||
"beach":
|
||||
Usually spawns you on a small beach area with gravel beaches and cliffs nearby,
|
||||
and a village also spawns at the same place.
|
||||
"wilderness":
|
||||
At 590, 30, 350 and -100, 11, 200
|
||||
Wilderness biome and a village
|
||||
|
||||
Special credits:
|
||||
Extra-special credit to Kenney(kenney.nl) for the inspiration,
|
||||
|
@ -101,6 +101,23 @@ minetest.register_biome(
|
||||
humidity_point = 40,
|
||||
})
|
||||
|
||||
minetest.register_biome(
|
||||
{
|
||||
name = "Wilderness",
|
||||
|
||||
node_top = "default:dirt_with_grass",
|
||||
node_filler = "default:dirt",
|
||||
|
||||
depth_filler = 4,
|
||||
depth_top = 1,
|
||||
|
||||
y_min = 3,
|
||||
y_max = 32000,
|
||||
|
||||
heat_point = 45,
|
||||
humidity_point = 38,
|
||||
})
|
||||
|
||||
minetest.register_biome(
|
||||
{
|
||||
name = "Grassland",
|
||||
@ -312,6 +329,47 @@ minetest.register_decoration(
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.004,
|
||||
biomes = {"Wilderness"},
|
||||
flags = "place_center_x, place_center_z",
|
||||
replacements = {["default:apple"] = "air"},
|
||||
schematic = minetest.get_modpath("default").."/schematics/default_tree.mts",
|
||||
y_min = -32000,
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.008,
|
||||
biomes = {"Wilderness"},
|
||||
flags = "place_center_x, place_center_z",
|
||||
schematic = minetest.get_modpath("default").."/schematics/default_talltree.mts",
|
||||
y_min = 0,
|
||||
y_max = 10,
|
||||
})
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.004,
|
||||
biomes = {"Wilderness"},
|
||||
flags = "place_center_x, place_center_z",
|
||||
replacements = {["default:leaves"] = "default:leaves_oak", ["default:tree"] = "default:tree_oak", ["default:apple"] = "air"},
|
||||
schematic = minetest.get_modpath("default").."/schematics/default_tree.mts",
|
||||
y_min = -32000,
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
-- Papyrus
|
||||
|
||||
minetest.register_decoration(
|
||||
@ -322,7 +380,7 @@ minetest.register_decoration(
|
||||
num_spawn_by = 1,
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.08,
|
||||
biomes = {"Grassland Ocean", "Grassland", "Forest", "Deep Forest"},
|
||||
biomes = {"Grassland Ocean", "Grassland", "Forest", "Deep Forest", "Wilderness"},
|
||||
decoration = {"default:papyrus"},
|
||||
height = 2,
|
||||
height_max = 3,
|
||||
@ -404,9 +462,59 @@ minetest.register_decoration(
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.16,
|
||||
biomes = {"Wilderness"},
|
||||
decoration = {"default:grass"},
|
||||
y_min = -32000,
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.12,
|
||||
biomes = {"Wilderness"},
|
||||
decoration = {"default:tall_grass"},
|
||||
y_min = -32000,
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
-- Ferns
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.06,
|
||||
biomes = {"Wilderness"},
|
||||
decoration = {"default:fern"},
|
||||
y_min = -32000,
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
-- Farming
|
||||
|
||||
if minetest.get_modpath("farming") ~= nil then
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "simple",
|
||||
place_on = "default:dirt_with_grass",
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.008,
|
||||
biomes = {"Wilderness"},
|
||||
decoration = {"farming:wheat_4"},
|
||||
y_min = 0,
|
||||
y_max = 32000,
|
||||
})
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "simple",
|
||||
@ -480,6 +588,20 @@ minetest.register_decoration(
|
||||
rotation = "0",
|
||||
})
|
||||
|
||||
minetest.register_decoration(
|
||||
{
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.004,
|
||||
biomes = {"Wilderness"},
|
||||
flags = "place_center_x, place_center_z",
|
||||
schematic = minetest.get_modpath("default").."/schematics/default_shrub.mts",
|
||||
y_min = 3,
|
||||
y_max = 32000,
|
||||
rotation = "0",
|
||||
})
|
||||
|
||||
-- Rocks
|
||||
|
||||
minetest.register_decoration(
|
||||
@ -614,6 +736,7 @@ minetest.register_ore( -- Springs
|
||||
ore_type = "blob",
|
||||
ore = "default:water_source",
|
||||
wherein = "default:dirt_with_grass",
|
||||
biomes = {"Grassland"},
|
||||
clust_scarcity = 18*18*18,
|
||||
clust_num_ores = 1,
|
||||
clust_size = 1,
|
||||
@ -621,6 +744,19 @@ minetest.register_ore( -- Springs
|
||||
height_max = 31000,
|
||||
})
|
||||
|
||||
minetest.register_ore( -- Pools
|
||||
{
|
||||
ore_type = "blob",
|
||||
ore = "default:water_source",
|
||||
wherein = "default:dirt_with_grass",
|
||||
biomes = {"Wilderness"},
|
||||
clust_scarcity = 30*30*30,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 6,
|
||||
height_min = 10,
|
||||
height_max = 40,
|
||||
})
|
||||
|
||||
minetest.register_ore( -- Swamp
|
||||
{
|
||||
ore_type = "blob",
|
||||
|
@ -1176,6 +1176,28 @@ minetest.register_node(
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node(
|
||||
"default:fern",
|
||||
{
|
||||
description = "Fern",
|
||||
drawtype = "plantlike",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, 0, 0.5}
|
||||
},
|
||||
visual_scale = 1.15,
|
||||
tiles ={"default_fern.png"},
|
||||
inventory_image = "default_fern_inventory.png",
|
||||
wield_image = "default_fern_inventory.png",
|
||||
paramtype = "light",
|
||||
waving = 1,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
is_ground_content = true,
|
||||
groups = {snappy = 2, dig_immediate = 3, attached_node = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node(
|
||||
"default:swamp_grass",
|
||||
{
|
||||
|
BIN
mods/default/schematics/default_talltree.mts
Normal file
BIN
mods/default/schematics/default_talltree.mts
Normal file
Binary file not shown.
BIN
mods/default/textures/default_fern.png
Normal file
BIN
mods/default/textures/default_fern.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 516 B |
BIN
mods/default/textures/default_fern.xcf
Normal file
BIN
mods/default/textures/default_fern.xcf
Normal file
Binary file not shown.
BIN
mods/default/textures/default_fern_inventory.png
Normal file
BIN
mods/default/textures/default_fern_inventory.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 500 B |
BIN
mods/default/textures/default_fern_inventory.xcf
Normal file
BIN
mods/default/textures/default_fern_inventory.xcf
Normal file
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
farming.register_plant(
|
||||
"wheat",
|
||||
{
|
||||
grow_time = 1440,
|
||||
grow_time = 720,
|
||||
grows_near = {"group:water"},
|
||||
growing_distance = 3,
|
||||
grows_on = {"group:plantable_soil"},
|
||||
@ -12,7 +12,7 @@ farming.register_plant(
|
||||
farming.register_plant(
|
||||
"cotton",
|
||||
{
|
||||
grow_time = 2880,
|
||||
grow_time = 1440,
|
||||
grows_near = {"group:water"},
|
||||
growing_distance = 4,
|
||||
grows_on = {"group:plantable_soil"},
|
||||
|
Loading…
Reference in New Issue
Block a user