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:
@ -1,4 +1,4 @@
|
||||
local S = plantslib.intllib
|
||||
local S = biome_lib.intllib
|
||||
|
||||
-- Basket
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
plants_lib
|
||||
biome_lib
|
||||
farming?
|
||||
farming_plus?
|
||||
|
@ -3,7 +3,7 @@
|
||||
--
|
||||
-- License: WTFPL
|
||||
|
||||
local S = plantslib.intllib
|
||||
local S = biome_lib.intllib
|
||||
|
||||
bushes_classic = {}
|
||||
|
||||
@ -30,7 +30,7 @@ bushes_classic.spawn_list = {}
|
||||
dofile(minetest.get_modpath('bushes_classic') .. '/cooking.lua')
|
||||
dofile(minetest.get_modpath('bushes_classic') .. '/nodes.lua')
|
||||
|
||||
plantslib:spawn_on_surfaces({
|
||||
biome_lib:spawn_on_surfaces({
|
||||
spawn_delay = 3600,
|
||||
spawn_plants = bushes_classic.spawn_list,
|
||||
avoid_radius = 10,
|
||||
|
@ -1,4 +1,4 @@
|
||||
local S = plantslib.intllib
|
||||
local S = biome_lib.intllib
|
||||
|
||||
plantlife_bushes = {}
|
||||
|
||||
@ -118,7 +118,7 @@ plantlife_bushes.after_place_node = function(pos, placer, itemstack)
|
||||
meta:set_string("bush_type", name_parts[1])
|
||||
end
|
||||
|
||||
-- regrow berries (uses a base abm instead of plants_lib because of the use of metadata).
|
||||
-- regrow berries (uses a base abm instead of biome_lib because of the use of metadata).
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"bushes:fruitless_bush"},
|
||||
|
Reference in New Issue
Block a user