From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:41:35 +0000 (+1100) Subject: Add shadow biome (#21276) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=dc5739a6c30fb3eab0f3c6da11a5a52ce5ef789b;p=space-station-14.git Add shadow biome (#21276) --- diff --git a/Resources/Prototypes/Entities/Tiles/shadow_basalt.yml b/Resources/Prototypes/Entities/Tiles/shadow_basalt.yml index e5835239cf..0c8670dcbb 100644 --- a/Resources/Prototypes/Entities/Tiles/shadow_basalt.yml +++ b/Resources/Prototypes/Entities/Tiles/shadow_basalt.yml @@ -22,7 +22,7 @@ - type: entity id: ShadowBasaltTwo - parent: BasaltOne + parent: ShadowBasaltOne placement: mode: SnapgridCenter components: @@ -33,7 +33,7 @@ - type: entity id: ShadowBasaltThree - parent: BasaltOne + parent: ShadowBasaltOne placement: mode: SnapgridCenter components: @@ -44,7 +44,7 @@ - type: entity id: ShadowBasaltFour - parent: BasaltOne + parent: ShadowBasaltOne placement: mode: SnapgridCenter components: @@ -55,7 +55,7 @@ - type: entity id: ShadowBasaltFive - parent: BasaltOne + parent: ShadowBasaltOne placement: mode: SnapgridCenter components: @@ -80,4 +80,4 @@ - 0: basalt4: "" - 0: - basalt5: "" \ No newline at end of file + basalt5: "" diff --git a/Resources/Prototypes/Procedural/biome_ore_templates.yml b/Resources/Prototypes/Procedural/biome_ore_templates.yml index 1d4bc062d3..c9830f2c17 100644 --- a/Resources/Prototypes/Procedural/biome_ore_templates.yml +++ b/Resources/Prototypes/Procedural/biome_ore_templates.yml @@ -143,6 +143,79 @@ groupCount: 1 radius: 4 +# Shadow basalt variant +# Low value +- type: biomeMarkerLayer + id: ChromiteOreTin + proto: WallRockChromiteTin + entityMask: WallRockChromite + maxCount: 30 + groupCount: 10 + radius: 4 + +- type: biomeMarkerLayer + id: ChromiteOreQuartz + proto: WallRockChromiteQuartz + entityMask: WallRockChromite + maxCount: 30 + groupCount: 10 + radius: 4 + +# Medium value +# Gold +- type: biomeMarkerLayer + id: ChromiteOreGold + proto: WallRockChromiteGold + entityMask: WallRockChromite + maxCount: 30 + groupCount: 5 + radius: 4 + +# Silver +- type: biomeMarkerLayer + id: ChromiteOreSilver + proto: WallRockChromiteSilver + entityMask: WallRockChromite + maxCount: 30 + groupCount: 5 + radius: 4 + +# High value +# Plasma +- type: biomeMarkerLayer + id: ChromiteOrePlasma + proto: WallRockChromitePlasma + entityMask: WallRockChromite + maxCount: 12 + groupCount: 5 + radius: 4 + +# Uranium +- type: biomeMarkerLayer + id: ChromiteOreUranium + proto: WallRockChromiteUranium + entityMask: WallRockChromite + maxCount: 12 + groupCount: 5 + radius: 4 + +- type: biomeMarkerLayer + id: ChromiteOreBananium + proto: WallRockChromiteBananium + entityMask: WallRockChromite + maxCount: 12 + groupCount: 5 + radius: 4 + +# Artifact Fragment +- type: biomeMarkerLayer + id: ChromiteOreArtifactFragment + proto: WallRockChromiteArtifactFragment + entityMask: WallRockChromite + maxCount: 6 + groupCount: 1 + radius: 4 + # Snow variant # Low value - type: biomeMarkerLayer diff --git a/Resources/Prototypes/Procedural/biome_templates.yml b/Resources/Prototypes/Procedural/biome_templates.yml index cfd543d76e..b2914b9ba6 100644 --- a/Resources/Prototypes/Procedural/biome_templates.yml +++ b/Resources/Prototypes/Procedural/biome_templates.yml @@ -480,6 +480,85 @@ entities: - FloorLiquidPlasmaEntity +# Shadow -> Derived from lava +- type: biomeTemplate + id: Shadow + layers: + - !type:BiomeEntityLayer + threshold: 0.70 + noise: + frequency: 1 + seed: 3 + allowedTiles: + - FloorChromite + entities: + - ShadowBasaltOne + - ShadowBasaltTwo + - ShadowBasaltThree + - ShadowBasaltFour + - ShadowBasaltFive + - !type:BiomeEntityLayer + threshold: 0.97 + noise: + frequency: 1 + seed: 2 + allowedTiles: + - FloorChromite + entities: + - CrystalPink + - !type:BiomeEntityLayer + threshold: 0.97 + noise: + seed: 1 + noiseType: OpenSimplex2 + frequency: 1 + allowedTiles: + - FloorChromite + entities: + - ShadowTree01 + - ShadowTree02 + - ShadowTree03 + - ShadowTree04 + - ShadowTree05 + - ShadowTree06 + # Rock formations + - !type:BiomeEntityLayer + threshold: -0.2 + invert: true + noise: + seed: 0 + noiseType: Perlin + fractalType: Ridged + octaves: 1 + frequency: 0.1 + gain: 0 + allowedTiles: + - FloorChromite + entities: + - WallRockChromite + # chasm time + - !type:BiomeEntityLayer + allowedTiles: + - FloorChromite + threshold: 0.2 + noise: + seed: 3 + frequency: 0.1 + fractalType: FBm + octaves: 5 + lacunarity: 2 + gain: 0.4 + entities: + - FloorChromiteChasm + - !type:BiomeDummyLayer + id: Loot + # Fill chromite + - !type:BiomeTileLayer + threshold: -1 + variants: + - 0 + tile: FloorChromite + # Caves - type: biomeTemplate id: Caves