1
0
Fork 0

Add experimental setting: fallen logs

This commit is contained in:
Wuzzy 2019-03-01 18:08:28 +01:00
parent 03c6beb971
commit 477aa07822
2 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,9 @@
local mg_name = minetest.get_mapgen_setting("mg_name") local mg_name = minetest.get_mapgen_setting("mg_name")
-- Some mapgen settings -- Some mapgen settings
local imitate = minetest.settings:get("mcl_imitation_mode")
local superflat = mg_name == "flat" and minetest.get_mapgen_setting("mcl_superflat_classic") == "true" local superflat = mg_name == "flat" and minetest.get_mapgen_setting("mcl_superflat_classic") == "true"
local generate_fallen_logs = false local generate_fallen_logs = minetest.settings:get_bool("mcl_generate_fallen_logs") or false
-- Jungle bush schematic. In PC/Java Edition it's Jungle Wood + Oak Leaves -- Jungle bush schematic. In PC/Java Edition it's Jungle Wood + Oak Leaves
local jungle_bush_schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_bush_oak_leaves.mts" local jungle_bush_schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_bush_oak_leaves.mts"

View File

@ -87,6 +87,10 @@ craftguide_progressive_mode (Enable recipe book progressive mode) bool false
# This feature is not finished yet! # This feature is not finished yet!
mob_difficulty (Mob difficulty factor) float 1.0 0.0 mob_difficulty (Mob difficulty factor) float 1.0 0.0
# Whether to generate fallen logs in some biomes.
# They might not always look pretty and have strange overhangs.
mcl_generate_fallen_logs (Generate fallen logs) bool false
# If enabled, the “flat” map generator generates a Classic Superflat world: # If enabled, the “flat” map generator generates a Classic Superflat world:
# Completely flat, 1 layer of grass blocks on top of 2 layers of dirt on # Completely flat, 1 layer of grass blocks on top of 2 layers of dirt on
# top of a final layer of bedrock. No caves, trees or plants. # top of a final layer of bedrock. No caves, trees or plants.