mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-14 22:40:31 +01:00
Added plants and dirt monsters on watershed:drygrass
This commit is contained in:
parent
7cfcbc63fc
commit
c7e4bd9745
|
@ -52,6 +52,6 @@ mobs:register_mob("mobs:dirt_monster", {
|
|||
},
|
||||
})
|
||||
-- spawn on normal;grey dirt between -1 and 5 light, 1 in 7000 change, 1 dirt monster in area up to 31000 in height
|
||||
mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass"}, 5, -1, 9500, 1, 31000)
|
||||
mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass", "watershed:drygrass"}, 5, -1, 9500, 1, 31000)
|
||||
-- register spawn egg
|
||||
mobs:register_egg("mobs:dirt_monster", "Dirt Monster", "default_dirt.png", 1)
|
||||
|
|
|
@ -199,7 +199,8 @@ plantslib:register_generate_plant({
|
|||
"default:dirt_with_grass",
|
||||
"stoneage:grass_with_silex",
|
||||
"sumpf:peat",
|
||||
"sumpf:sumpf"
|
||||
"sumpf:sumpf",
|
||||
"watershed:drygrass"
|
||||
},
|
||||
max_count = 15, --10,15
|
||||
rarity = 101 - 4, --3,4
|
||||
|
@ -244,7 +245,8 @@ plantslib:register_generate_plant({
|
|||
"default:dirt_with_grass",
|
||||
"stoneage:grass_with_silex",
|
||||
"sumpf:peat",
|
||||
"sumpf:sumpf"
|
||||
"sumpf:sumpf",
|
||||
"watershed:drygrass"
|
||||
},
|
||||
max_count = 55, --10,15
|
||||
rarity = 101 - 4, --3,4
|
||||
|
|
|
@ -105,6 +105,19 @@ plantslib:register_generate_plant({
|
|||
abstract_molehills.place_molehill
|
||||
)
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
surface = {"watershed:drygrass"},
|
||||
max_count = Molehills_Max_Count,
|
||||
rarity = 97,
|
||||
min_elevation = 1,
|
||||
max_elevation = 40,
|
||||
avoid_nodes = {"group:tree","group:liquid","group:stone","group:falling_node"--[[,"air"]]},
|
||||
avoid_radius = 4,
|
||||
plantlife_limit = -0.3,
|
||||
},
|
||||
abstract_molehills.place_molehill
|
||||
)
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
minetest.log("action", "[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user