]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Vgroid diamonds hotfix (#29999)
authorEd <96445749+TheShuEd@users.noreply.github.com>
Sat, 13 Jul 2024 12:45:35 +0000 (15:45 +0300)
committerGitHub <noreply@github.com>
Sat, 13 Jul 2024 12:45:35 +0000 (15:45 +0300)
vgroid diamonds

Resources/Prototypes/Entities/Structures/Walls/asteroid.yml
Resources/Prototypes/Procedural/vgroid.yml

index c0a30e76694ac0b62e9291ae660c535c79c90198..4673405e03f54398aa0db3e136a652bbd0597720 100644 (file)
       state: ironrock_west
     - state: rock_artifact_fragment
 
+- type: entity
+  id: IronRockDiamond
+  parent: IronRock
+  description: An ore vein rich with diamonds.
+  suffix: Diamond
+  components:
+    - type: OreVein
+      oreChance: 1.0
+      currentOre: OreDiamond
+    - type: Sprite
+      layers:
+        - state: ironrock
+        - map: [ "enum.EdgeLayer.South" ]
+          state: ironrock_south
+        - map: [ "enum.EdgeLayer.East" ]
+          state: ironrock_east
+        - map: [ "enum.EdgeLayer.North" ]
+          state: ironrock_north
+        - map: [ "enum.EdgeLayer.West" ]
+          state: ironrock_west
+        - state: rock_diamond
+
 # Rocks and ore veins
 - type: entity
   id: WallRock
index 49e956e73f5ba060d2983915dbaa8b3c8ae965b6..6e9fc6f3957e3758d11237b9c4cff2022c643818 100644 (file)
       count: 50
       minGroupSize: 2
       maxGroupSize: 4
+    - !type:OreDunGen
+      replacement: IronRock
+      entity: IronRockDiamond
+      count: 15
+      minGroupSize: 1
+      maxGroupSize: 2
 
 # Configs
 - type: dungeonConfig