From b3884dd59e1458a7765cc532fb43a927dd918850 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Fri, 1 Jul 2022 14:37:09 -0400 Subject: [PATCH] make it boot without biome lib --- init.lua | 6 +++--- mod.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 9196852..64d932b 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ dofile(modpath.."/node_defs.lua") dofile(modpath.."/date_palm.lua") dofile(modpath.."/cocos_palm.lua") dofile(modpath.."/biome_defs.lua") -dofile(modpath.."/saplings.lua") +--dofile(modpath.."/saplings.lua") dofile(modpath.."/crafts.lua") -- tree spawning setup @@ -132,7 +132,7 @@ else moretrees.spawn_poplar_small_object = moretrees.poplar_small_model end -if moretrees.enable_beech then +--[[ if moretrees.enable_beech then biome_lib:register_generate_plant(moretrees.beech_biome, moretrees.spawn_beech_object) end @@ -194,7 +194,7 @@ if moretrees.enable_poplar then biome_lib:register_generate_plant(moretrees.poplar_biome_3, moretrees.spawn_poplar_object) biome_lib:register_generate_plant(moretrees.poplar_small_biome, moretrees.spawn_poplar_small_object) biome_lib:register_generate_plant(moretrees.poplar_small_biome_2, moretrees.spawn_poplar_small_object) -end +end ]] -- Code to spawn a birch tree diff --git a/mod.conf b/mod.conf index da7e493..a8bfea1 100644 --- a/mod.conf +++ b/mod.conf @@ -1,4 +1,4 @@ name = moretrees -depends = default, biome_lib, vessels +depends = default, vessels optional_depends = doors, stairs, moreblocks, farming min_minetest_version = 5.2.0