]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Grindable ores (#24185)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Wed, 17 Jan 2024 13:08:31 +0000 (00:08 +1100)
committerGitHub <noreply@github.com>
Wed, 17 Jan 2024 13:08:31 +0000 (16:08 +0300)
add

Resources/Prototypes/Entities/Objects/Materials/ore.yml

index ae90962523919044d3e9a5fbe7dc7731cd20a4c1..b19842a2a253e60735fd31ba96ffb92d2536a058 100644 (file)
   - type: PhysicalComposition
     materialComposition:
       RawGold: 500
+  - type: Extractable
+    grindableSolutionName: goldore
+  - type: SolutionContainerManager
+    solutions:
+      goldore:
+        reagents:
+        - ReagentId: Gold
+          Quantity: 10
 
 - type: entity
   parent: GoldOre
   - type: PhysicalComposition
     materialComposition:
       RawIron: 500
+  - type: Extractable
+    grindableSolutionName: ironore
+  - type: SolutionContainerManager
+    solutions:
+      ironore:
+        reagents:
+        - ReagentId: Iron
+          Quantity: 9
+        - ReagentId: Carbon
+          Quantity: 1
 
 - type: entity
   id: SteelOre1
     energy: 0.6
     castShadows: false
     color: "#e592e7"
+  - type: Extractable
+    grindableSolutionName: plasmaore
+  - type: SolutionContainerManager
+    solutions:
+      plasmaore:
+        reagents:
+        - ReagentId: Plasma
+          Quantity: 10
 
 - type: entity
   parent: PlasmaOre
   - type: PhysicalComposition
     materialComposition:
       RawSilver: 500
+  - type: Extractable
+    grindableSolutionName: silverore
+  - type: SolutionContainerManager
+    solutions:
+      silverore:
+        reagents:
+        - ReagentId: Silver
+          Quantity: 10
 
 - type: entity
   parent: SilverOre
   - type: PhysicalComposition
     materialComposition:
       RawQuartz: 500
+  - type: Extractable
+    grindableSolutionName: quartzore
+  - type: SolutionContainerManager
+    solutions:
+      quartzaore:
+        reagents:
+        - ReagentId: Silicon
+          Quantity: 10
 
 - type: entity
   parent: SpaceQuartz
     energy: 0.8
     castShadows: false
     color: "#9be792"
+  - type: Extractable
+    grindableSolutionName: uraniumore
+  - type: SolutionContainerManager
+    solutions:
+      uraniumore:
+        reagents:
+        - ReagentId: Uranium
+          Quantity: 8
+        - ReagentId: Radium
+          Quantity: 2
+        canReact: false
 
 - type: entity
   parent: UraniumOre
     energy: 1
     castShadows: false
     color: "#eef066"
+  - type: Extractable
+    grindableSolutionName: bananiumore
+  - type: SolutionContainerManager
+    solutions:
+      bananiumore:
+        reagents:
+        - ReagentId: Nutriment
+          Quantity: 4
+        - ReagentId: Vitamin
+          Quantity: 2
+        - ReagentId: Honk
+          Quantity: 5
 
 - type: entity
   parent: BananiumOre