Skip to content

Commit

Permalink
Added a void to separate the cave world from the root world. (#833)
Browse files Browse the repository at this point in the history
* Add files via upload

* Move the files because I love github

* ACTUALLY replace the files. I love github

* Changed it to 50k

* Folder for void biomes + other changes

Made torches rarer,
Fixed void caverns generating too high,
Made the fog lighter,
Added a root crystals biome (it's a bit rare, I haven't seen it generate, but hypothetically it should be there)

* Removed air patches

* Various Void Changes

Made void spawn lower,
Made void root torches more common,
Changed fog color

* Fixed Fog Color and Made Fog Thicker

* Made the void 1500 blocks tall

* Added caves parameter to Void

* Removed stoneblock replacement
  • Loading branch information
ikabod-kee authored Dec 19, 2024
1 parent afcef76 commit c784f16
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 9 deletions.
1 change: 1 addition & 0 deletions assets/cubyz/biomes/cave/cave.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.{
.isCave = true,
.maxHeight = 0,
.minHeight = -48250,

.fogDensity = 2,

Expand Down
1 change: 1 addition & 0 deletions assets/cubyz/biomes/cave/crystal.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.{
.isCave = true,
.maxHeight = -512,
.minHeight = -48250,

.chance = 0.2,

Expand Down
2 changes: 1 addition & 1 deletion assets/cubyz/biomes/cave/crystal_forest.zig.zon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.{
.isCave = true,
.maxHeight = -512,

.minHeight = -48250,
.chance = 0.01,

.caves = -0.1,
Expand Down
14 changes: 14 additions & 0 deletions assets/cubyz/biomes/cave/dropoff.zig.zon
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.{
.isCave = true,
.maxHeight = -48125,
.minHeight = -48500,
.stoneBlock = "cubyz:stone",
.fogDensity = 10,
.fogColor = 0x272334,
.chance = 100,

.music = "cubyz:heart-of-the-beast",

.structures = .{
},
}
2 changes: 1 addition & 1 deletion assets/cubyz/biomes/cave/lava_cave.zig.zon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.{
.isCave = true,
.maxHeight = -640,

.minHeight = -48250,
.fogDensity = 20,
.fogColor = 0x51240c,

Expand Down
1 change: 1 addition & 0 deletions assets/cubyz/biomes/cave/stalagmite_cave.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.{
.isCave = true,
.maxHeight = -256,
.minHeight = -48250,
.chance = 0.2,

.fogDensity = 10,
Expand Down
3 changes: 2 additions & 1 deletion assets/cubyz/biomes/cave/stone_forest.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
.isCave = true,

.chance = 0.01,

.maxHeight = -50,
.minHeight = -48250,
.caves = -0.2,

.music = "cubyz:heart-of-the-beast",
Expand Down
13 changes: 13 additions & 0 deletions assets/cubyz/biomes/cave/void/void.zig.zon
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.{
.isCave = true,
.maxHeight = -48500,
.minHeight = -50000,
.fogDensity = 10,
.fogColor = 0x272334,
.chance = 100,
.caves = 1,
.music = "cubyz:heart-of-the-beast",

.structures = .{
},
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.{
.isCave = true,
.maxHeight = -1024,

.chance = 0.01,

.maxHeight = -50000,
.chance = 0.1,
.fogDensity = 10,
.fogColor = 0x272334,
.caves = -0.1,

.music = "cubyz:heart-of-the-beast",
Expand Down
29 changes: 29 additions & 0 deletions assets/cubyz/biomes/cave/void/void_crystal.zig.zon
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.{
.isCave = true,
.maxHeight = -50000,
.fogDensity = 10,
.fogColor = 0x272334,
.chance = 0.1,
.caveRadiusFactor = -1,
.caves = 0.5,
.crystals = 32,

.music = "cubyz:la_kubisa_caverna",
.stoneBlock = "cubyz:stone",
.structures = .{
.{
.id = "cubyz:boulder",
.chance = 0.016,
.block = "cubyz:cobblestone",
.size = 5,
.size_variance = 3,
},
.{
.id = "cubyz:boulder",
.chance = 0.016,
.block = "cubyz:stone",
.size = 4,
.size_variance = 2,
},
},
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
.{
.isCave = true,
.maxHeight = -50000,

.fogDensity = 2,
.fogDensity = 10,
.fogColor = 0x272334,
.chance = 100,
.caveRadiusFactor = -1,
.caves = 0.5,

.music = "cubyz:heart-of-the-beast",

.structures = .{
.{
.id = "cubyz:simple_vegetation",
.chance = 0.0001,
.block = "cubyz:torch",
.height = 1,
.height_variation = 0,
},
.{
.id = "cubyz:simple_vegetation",
.chance = 0.000001,
.block = "cubyz:workbench",
.height = 1,
.height_variation = 0,
},
.{
.id = "cubyz:ground_patch",
.block = "cubyz:gravel",
Expand Down

0 comments on commit c784f16

Please sign in to comment.