Skip to content

Commit

Permalink
update setting names
Browse files Browse the repository at this point in the history
  • Loading branch information
tenplus1 committed Oct 14, 2024
1 parent 1fb1da7 commit c18c678
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 91 deletions.
47 changes: 23 additions & 24 deletions biomes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -223,25 +223,6 @@ register_biome(ethereal.frost, {
node_top = "default:silver_sand", depth_top = 1,
node_filler = "default:sand", depth_filler = 3})

-- snowy grassland (inbetween frost and taiga/jumble)

if not old then -- was not available in old biomes

register_biome(1, {
name = "snowy_grassland",
heat_point = 15, humidity_point = 58, y_min = 3, y_max = 30,
node_top = "ethereal:cold_dirt", depth_top = 1,
node_filler = "default:dirt", depth_filler = 3})

register_biome(1, {
name = "snowy_grassland_ocean",
node_dust = "default:snow",
heat_point = 15, humidity_point = 58, y_min = -192, y_max = 2,
node_top = "default:sand", depth_top = 1,
node_filler = "default:sand", depth_filler = 3,
vertical_blend = 1})
end

-- deciduous forest

register_biome(ethereal.grassy, {
Expand Down Expand Up @@ -606,27 +587,45 @@ register_biome(ethereal.tundra, {
heat_point = 0, humidity_point = 40, y_max = -256, y_min = -31000,
node_cave_liquid = {"default:water_source", "default:lava_source"}})

-- Cold desert (was heat, humidity 40,0, changed to 20,85 to fill biome gap)
-- only register when using new mapgen

if not old then -- was not available in old biomes
if not old then

register_biome(1, {
-- cold desert

register_biome(ethereal.cold_desert, {
name = "cold_desert",
heat_point = 20, humidity_point = 85, y_min = 4, y_max = 100,
node_top = "default:silver_sand", depth_top = 1,
node_filler = "default:silver_sand", depth_filler = 1,
node_riverbed = "default:silver_sand", depth_riverbed = 2})

register_biome(1, {
register_biome(ethereal.cold_desert, {
name = "cold_desert_ocean",
heat_point = 20, humidity_point = 85, y_min = -255, y_max = 3,
node_top = "default:sand", depth_top = 1,
node_filler = "default:sand", depth_filler = 3,
node_cave_liquid = "default:water_source",
vertical_blend = 1})

register_biome(1, {
register_biome(ethereal.cold_desert, {
name = "cold_desert_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
heat_point = 20, humidity_point = 85, y_min = -31000, y_max = -256})

-- snowy grassland (inbetween frost and taiga/jumble)

register_biome(ethereal.snowy_grassland, {
name = "snowy_grassland",
heat_point = 15, humidity_point = 58, y_min = 3, y_max = 30,
node_top = "ethereal:cold_dirt", depth_top = 1,
node_filler = "default:dirt", depth_filler = 3})

register_biome(ethereal.snowy_grassland, {
name = "snowy_grassland_ocean",
node_dust = "default:snow",
heat_point = 15, humidity_point = 58, y_min = -192, y_max = 2,
node_top = "default:sand", depth_top = 1,
node_filler = "default:sand", depth_filler = 3,
vertical_blend = 1})
end
23 changes: 12 additions & 11 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

-- global

ethereal = {version = "20240910"}
ethereal = {version = "20241014"}

-- setting helper

Expand Down Expand Up @@ -42,37 +42,38 @@ setting("bool", "flight", true)
setting("number", "glacier", 1)
setting("number", "bamboo", 1)
setting("number", "mesa", 1)
setting("number", "alpine", 1)
setting("number", "healing", 1)
setting("number", "snowy", 1)
setting("number", "alpine", 1)--taiga
setting("number", "snowy", 1)--coniferous_forest
setting("number", "frost", 1)
setting("number", "grassy", 1)
setting("number", "grassy", 1)--deciduous_forest
setting("number", "caves", 1)
setting("number", "grayness", 1)
setting("number", "grassytwo", 1)
setting("number", "prairie", 1)
setting("number", "jumble", 1)
setting("number", "junglee", 1)
setting("number", "junglee", 1)--rainforest
setting("number", "desert", 1)
setting("number", "grove", 1)
setting("number", "mushroom", 1)
setting("number", "sandstone", 1)
setting("number", "quicksand", 1)
setting("number", "sandstone", 1)--sandstone_desert
setting("number", "plains", 1)
setting("number", "savanna", 1)
setting("number", "fiery", 1)
setting("number", "swamp", 1)
setting("number", "sealife", 1)
setting("number", "reefs", 1)
setting("number", "quicksand", 1)--swamp quicksand
setting("number", "tundra", 1)
setting("number", "mediterranean", 1)
setting("number", "cold_desert", 1)
setting("number", "snowy_grassland", 1)
setting("number", "sealife", 1)
setting("number", "reefs", 1)
setting("number", "logs", 1)
setting("bool", "wood_rotate", true)


local path = minetest.get_modpath("ethereal")

-- Load settings.conf file if found
-- Load settings.conf file if found [DEPRECATED]

local input = io.open(path.."/settings.conf", "r")

Expand Down
45 changes: 0 additions & 45 deletions settings.conf_example

This file was deleted.

23 changes: 12 additions & 11 deletions settingtypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,31 @@ ethereal.flight (Enable Flight Potion) bool true
ethereal.glacier (Glacier biome, 1 = Enable / 0 = Disable) int 1
ethereal.bambo (Bamboo biome, 1 = Enable / 0 = Disable) int 1
ethereal.mesa (Mesa biome, 1 = Enable / 0 = Disable) int 1
ethereal.alpine (Alpine biome, 1 = Enable / 0 = Disable) int 1
ethereal.healing (Healing Tree biome, 1 = Enable / 0 = Disable) int 1
ethereal.snowy (Pine Tree biome, 1 = Enable / 0 = Disable) int 1
ethereal.frost (Blue Frost biome, 1 = Enable / 0 = Disable) int 1
ethereal.grassy (Grassy biome, 1 = Enable / 0 = Disable) int 1
ethereal.alpine (Taiga biome, 1 = Enable / 0 = Disable) int 1
ethereal.snowy (Coniferous forest biome, 1 = Enable / 0 = Disable) int 1
ethereal.frost (Crystal biome, 1 = Enable / 0 = Disable) int 1
ethereal.grassy (Deciduous forest biome, 1 = Enable / 0 = Disable) int 1
ethereal.caves (Desertstone biome, 1 = Enable / 0 = Disable) int 1
ethereal.grayness (Grey Willow biome, 1 = Enable / 0 = Disable) int 1
ethereal.grassytwo (GrassyTwo biome, 1 = Enable / 0 = Disable) int 1
ethereal.prairie (Prairie biome, 1 = Enable / 0 = Disable) int 1
ethereal.jumble (Jumble biome, 1 = Enable / 0 = Disable) int 1
ethereal.junglee (Jungle biome, 1 = Enable / 0 = Disable) int 1
ethereal.junglee (Rainforest biome, 1 = Enable / 0 = Disable) int 1
ethereal.desert (Desert biome, 1 = Enable / 0 = Disable) int 1
ethereal.grove (Banana Grove biome, 1 = Enable / 0 = Disable) int 1
ethereal.mushroom (Mushroom biome, 1 = Enable / 0 = Disable) int 1
ethereal.sandstone (Sandstone biome, 1 = Enable / 0 = Disable) int 1
ethereal.quicksand (Quicksand, 1 = Enable / 0 = Disable) int 1
ethereal.sandstone (Sandstone desert biome, 1 = Enable / 0 = Disable) int 1
ethereal.plains (Scorched Plains biome, 1 = Enable / 0 = Disable) int 1
ethereal.savanna (Savanna biome, 1 = Enable / 0 = Disable) int 1
ethereal.fiery (Feiry Lava biome, 1 = Enable / 0 = Disable) int 1
ethereal.fiery (Fiery Lava biome, 1 = Enable / 0 = Disable) int 1
ethereal.swamp (Swamp biome, 1 = Enable / 0 = Disable) int 1
ethereal.sealife (Coral and Seaweed biome, 1 = Enable / 0 = Disable) int 1
ethereal.reefs (MT5 Coral biome, 1 = Enable / 0 = Disable) int 1
ethereal.quicksand (Swamp quicksand, 1 = Enable / 0 = Disable) int 1
ethereal.tundra (Tundra biome, 1 = Enable / 0 = Disable) int 1
ethereal.mediterranean (Mediterranean biome, 1 = Enable / 0 = Disable) int 1
ethereal.cold_desert (Grey sand desert biome, 1 = Enable / 0 = Disable) int 1
ethereal.snowy_grassland (Snowy grasslands biome, 1 = Enable / 0 = Disable) int 1
ethereal.sealife (Coral and Seaweed biome, 1 = Enable / 0 = Disable) int 1
ethereal.reefs (MT5 Coral biome, 1 = Enable / 0 = Disable) int 1
ethereal.logs (Tree log decor, 1 = Enable / 0 = Disable) int 1
ethereal.wood_rotate (Enable directional placement of wood) bool true
ethereal.leaf_particles (Enable falling leaf particles) bool true
Expand Down

0 comments on commit c18c678

Please sign in to comment.