mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Updated moretrees, plantlife, and added biome_lib
- Solves #204 - Updated world.mt - Updated news.txt
This commit is contained in:
@ -130,4 +130,4 @@ minetest.register_craft({ -- twigs blocks --> twigs_roof_corner_2's
|
||||
{"trunks:twigs", "" ,"trunks:twigs"},
|
||||
{ "" ,"trunks:twigs", "" },
|
||||
}
|
||||
})
|
||||
})
|
@ -1,5 +1,5 @@
|
||||
default
|
||||
plants_lib
|
||||
biome_lib
|
||||
bushes?
|
||||
ferns?
|
||||
moretrees?
|
||||
|
@ -162,7 +162,7 @@ abstract_trunks.place_twig = function(pos)
|
||||
end
|
||||
|
||||
if Twigs_on_ground == true then
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:dirt_with_grass"},
|
||||
max_count = Twigs_on_ground_Max_Count,
|
||||
rarity = Twigs_on_ground_Rarity,
|
||||
@ -179,7 +179,7 @@ plantslib:register_generate_plant({
|
||||
end
|
||||
|
||||
if Twigs_on_water == true then
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:water_source"},
|
||||
max_count = Twigs_on_water_Max_Count,
|
||||
rarity = Twigs_on_water_Rarity,
|
||||
@ -341,7 +341,7 @@ abstract_trunks.place_trunk = function(pos)
|
||||
end
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:dirt_with_grass"},
|
||||
max_count = Trunks_Max_Count, -- 320,
|
||||
rarity = Trunks_Rarity, -- 99,
|
||||
@ -374,7 +374,7 @@ abstract_trunks.grow_moss_on_ground = function(pos)
|
||||
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"default:dirt_with_grass"},
|
||||
max_count = Moss_on_ground_Max_Count,
|
||||
rarity = Moss_on_ground_Rarity,
|
||||
@ -458,7 +458,7 @@ abstract_trunks.grow_moss_on_trunk = function(pos)
|
||||
--end
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {
|
||||
"default:tree",
|
||||
"default:jungletree",
|
||||
@ -535,7 +535,7 @@ abstract_trunks.grow_roots = function(pos)
|
||||
end
|
||||
end
|
||||
|
||||
plantslib:register_generate_plant({
|
||||
biome_lib:register_generate_plant({
|
||||
surface = {"group:tree"},
|
||||
max_count = 1000,
|
||||
rarity = 1,
|
||||
|
@ -303,6 +303,7 @@ local TRuNKS = {
|
||||
-- MoD TRuNK
|
||||
{"default", "tree" },
|
||||
{"default", "jungletree" },
|
||||
{"default", "pinetree" },
|
||||
|
||||
{"trees", "tree_conifer" },
|
||||
{"trees", "tree_mangrove" },
|
||||
@ -314,7 +315,6 @@ local TRuNKS = {
|
||||
{"moretrees", "fir_trunk" },
|
||||
{"moretrees", "oak_trunk" },
|
||||
{"moretrees", "palm_trunk" },
|
||||
{"moretrees", "pine_trunk" },
|
||||
{"moretrees", "rubber_tree_trunk" },
|
||||
{"moretrees", "rubber_tree_trunk_empty" },
|
||||
{"moretrees", "sequoia_trunk" },
|
||||
@ -359,3 +359,5 @@ for i in pairs(TRuNKS) do
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_alias("trunks:pine_trunkroot", "trunks:pine_treeroot")
|
||||
|
Reference in New Issue
Block a user