]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add shadow biome (#21276)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Mon, 13 Nov 2023 12:41:35 +0000 (23:41 +1100)
committerGitHub <noreply@github.com>
Mon, 13 Nov 2023 12:41:35 +0000 (23:41 +1100)
Resources/Prototypes/Entities/Tiles/shadow_basalt.yml
Resources/Prototypes/Procedural/biome_ore_templates.yml
Resources/Prototypes/Procedural/biome_templates.yml

index e5835239cfe734ef2fc0ca8953e9a8a667022b65..0c8670dcbb301e639c4a18107d86c8a35f3e3934 100644 (file)
@@ -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: ""
index 1d4bc062d312949756534c2ce13186d750875dd1..c9830f2c17e74256e22a247b4391558088537f52 100644 (file)
   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
index cfd543d76e182c666de6b64e7aae33dfdbbb799d..b2914b9ba6b3e35dc51c1c7b79379a8f8de2640a 100644 (file)
       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