D00Med's changes 18.1.17

>added mesa biome
>removed velociraptor and trilobite spawns
>added green water
This commit is contained in:
D00Med 2017-01-18 06:35:41 +10:00
parent d34aef2d90
commit 274f19421a
4 changed files with 131 additions and 4 deletions

View File

@ -865,6 +865,28 @@
humidity_point = 0,
})
--Mesa
minetest.register_biome({
name = "mesa",
node_dust = "default:desert_stone",
node_top = "mapgen:granite_brown",
depth_top = 3,
node_filler = "default:clay",
depth_filler = 4,
--node_stone = "",
--node_water_top = "default:desert_sand",
--depth_water_top = 1,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:desert_sand",
depth_riverbed = 2,
y_min = 1,
y_max = 31000,
heat_point = 85,
humidity_point = 15,
})
-- Cold desert
minetest.register_biome({
@ -981,7 +1003,7 @@
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
node_water = "mapgen:dirty_water_source",
--node_river_water = "",
node_riverbed = "default:sand",
depth_riverbed = 2,
@ -1071,7 +1093,7 @@ local function register_grass_decoration(offset, scale, length)
persist = 0.6
},
biomes = {"grassland", "grassland_dunes", "deciduous_forest",
"coniferous_forest", "coniferous_forest_dunes"},
"coniferous_forest", "coniferous_forest_dunes",},
y_min = 1,
y_max = 31000,
decoration = "default:grass_" .. length,

View File

@ -358,3 +358,108 @@ minetest.register_node("mapgen:vine", {
},
groups = {cracky=3, dig_immediate=3, oddly_breakeable_by_hand=1},
})
--code taken from default
--License of source code
----------------------
--GNU Lesser General Public License, version 2.1
--Copyright (C) 2011-2016 celeron55, Perttu Ahola <celeron55@gmail.com>
--Copyright (C) 2011-2016 Various Minetest developers and contributors
minetest.register_node("mapgen:dirty_water_source", {
description = "Dirty Water Source",
drawtype = "liquid",
tiles = {
{
name = "default_river_water_source_animated.png^[colorize:green:100",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
},
special_tiles = {
{
name = "default_river_water_source_animated.png^[colorize:green:100",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
backface_culling = false,
},
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
is_ground_content = false,
drop = "",
drowning = 1,
liquidtype = "source",
liquid_alternative_flowing = "mapgen:dirty_water_flowing",
liquid_alternative_source = ",mapgen:dirty_water_source",
liquid_viscosity = 2,
liquid_renewable = false,
liquid_range = 2,
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
groups = {water = 3, liquid = 3, puts_out_fire = 1, cools_lava = 1},
sounds = default.node_sound_water_defaults(),
})
minetest.register_node("mapgen:dirty_water_flowing", {
description = "Flowing Dirty Water",
drawtype = "flowingliquid",
tiles = {"default_river_water.png^[colorize:green:100"},
special_tiles = {
{
name = "default_river_water_flowing_animated.png^[colorize:green:100",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8,
},
},
{
name = "default_river_water_flowing_animated.png^[colorize:green:100",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8,
},
},
},
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
is_ground_content = false,
drop = "",
drowning = 1,
liquidtype = "flowing",
liquid_alternative_flowing = "mapgen:dirty_water_flowing",
liquid_alternative_source = "mapgen:dirty_water_source",
liquid_viscosity = 1,
liquid_renewable = false,
liquid_range = 2,
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
groups = {water = 3, liquid = 3, puts_out_fire = 1,
not_in_creative_inventory = 1, cools_lava = 1},
sounds = default.node_sound_water_defaults(),
})

View File

@ -92,7 +92,7 @@ mobs:register_mob("mobs_m:trilobite", {
},
})
mobs:register_spawn("mobs_m:trilobite", {"default:water_source",}, 20, 10, 15000, 2, 11000)
--mobs:register_spawn("mobs_m:trilobite", {"default:water_source",}, 20, 10, 15000, 2, 11000)
mobs:register_egg("mobs_m:trilobite", "Trilobite", "default_water.png", 1)

View File

@ -1,7 +1,7 @@
--spawns
mobs:register_spawn("mobs_m:velociraptor", {"default:dirt_with_grass","default:dirt"}, 20, 10, 32000, 2, 31000)
--mobs:register_spawn("mobs_m:velociraptor", {"default:dirt_with_grass","default:dirt"}, 20, 10, 32000, 2, 31000)
--mobs