]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds coal (#22559)
authorVelcroboy <107660393+IamVelcroboy@users.noreply.github.com>
Mon, 18 Dec 2023 19:38:11 +0000 (13:38 -0600)
committerGitHub <noreply@github.com>
Mon, 18 Dec 2023 19:38:11 +0000 (14:38 -0500)
* Adds coal

* Fix stack splitting spawn

* Convert size

* Ahhh, it's a reagent tooo....

* ore.rsi

* Adjust recipes, add reagent extraction

* solution name

* Adjust reagents to prevent reactions

* Adjust reagents for standard of 10u

---------

Co-authored-by: Jeff <velcroboy333@hotmail.com>
Resources/Locale/en-US/materials/materials.ftl
Resources/Prototypes/Entities/Objects/Decoration/present.yml
Resources/Prototypes/Entities/Objects/Materials/ore.yml
Resources/Prototypes/Reagents/Materials/materials.yml
Resources/Prototypes/Recipes/Lathes/sheet.yml
Resources/Prototypes/Stacks/Materials/ore.yml
Resources/Prototypes/ore.yml

index d515479a0e4396a45a65a5abea7b82c251971590..a25cf2da14a24f889aa639163c1c93d4a86ae440 100644 (file)
@@ -24,6 +24,7 @@ materials-bananium = bananium
 materials-meat = meat
 materials-web = silk
 materials-bones = bone
+materials-coal = coal
 
 # Material Reclaimer
 material-reclaimer-upgrade-process-rate = process rate
index e7dfdc234f476603a99cb24fc7700d7d2bdbd8c0..eb5b5d14d5b8fcd23785f468db72e496dd481e85 100644 (file)
         orGroup: GiftPool
       - id: Ash
         orGroup: GiftPool
+      - id: Coal1
+        orGroup: GiftPool
       - id: MiningDrill
         orGroup: GiftPool
       - id: CowToolboxFilled
index 2b6fec873b8084499f95586db6ae3e740c9c4114..aa3ebfaaf282ef13db61807208a97d798b14b3d5 100644 (file)
   components:
   - type: Stack
     count: 1
+
+- type: entity
+  parent: OreBase
+  id: Coal
+  name: coal
+  suffix: Full
+  components:
+  - type: Stack
+    stackType: Coal
+  - type: Sprite
+    state: coal
+  - type: Material
+  - type: Extractable
+    grindableSolutionName: coal
+  - type: SolutionContainerManager
+    solutions:
+      coal:
+        reagents:
+        - ReagentId: Carbon
+          Quantity: 8.4
+        - ReagentId: Ammonia
+          Quantity: 0.8
+        - ReagentId: Hydrogen
+          Quantity: 0.5
+        - ReagentId: Sulfur
+          Quantity: 0.2
+        - ReagentId: Mercury
+          Quantity: 0.1
+  - type: PhysicalComposition
+    materialComposition:
+      Coal: 500
+
+- type: entity
+  parent: Coal
+  id: Coal1
+  suffix: Single
+  components:
+  - type: Stack
+    count: 1
index a8fc1744b3b5f22a67011d132ca670b47c267065..7d7d3ae905acea5e153b7b82d4448a52ead9139c 100644 (file)
   icon: { sprite: Objects/Materials/materials.rsi, state: bones }
   color: "#896f5e"
   price: 0
+
+- type: material
+  id: Coal
+  name: materials-coal
+  unit: materials-unit-piece
+  icon: { sprite: Objects/Materials/ore.rsi, state: coal }
+  color: "#404040"
+  price: 0
index f724b96bc08176ccc2ab1a10c4d3a4ebab3a7931..cb31c55dda60ae90690bade25d84083ceb1997fa 100644 (file)
@@ -12,6 +12,7 @@
   completetime: 2
   materials:
     Steel: 3000
+    Coal: 1000
 
 - type: latheRecipe
   id: SheetGlass1
   completetime: 2
   materials:
     Uranium: 3000
-  
+
 - type: latheRecipe
   id: IngotGold30
   result: IngotGold
   completetime: 2
   materials:
     Gold: 3000
-  
+
 - type: latheRecipe
   id: IngotSilver30
   result: IngotSilver
@@ -96,7 +97,7 @@
   completetime: 2
   materials:
     Bananium: 3000
-    
+
 - type: latheRecipe
   id: SheetUranium1
   result: SheetUranium1
index 268c6b9a46c151af401e9e5a6fd5b49e0796cb27..087786ded88a7c369757674d6e61bd7c944347c9 100644 (file)
   spawn: BananiumOre1
   maxCount: 30
   itemSize: 2
+
+- type: stack
+  id: Coal
+  name: coal
+  icon: { sprite: /Textures/Objects/Materials/ore.rsi, state: coal }
+  spawn: Coal1
+  maxCount: 30
+  itemSize: 2
index f8861af8342316659d98d56c710ba9314d9bdb8c..c4c81e99cb871ace5460143934988d1004646e3d 100644 (file)
   id: OreSpaceQuartz
   oreEntity: SpaceQuartz1
 
+- type: ore
+  id: OreCoal
+  oreEntity: Coal1
+
 # Medium yields
 - type: ore
   id: OreGold
@@ -62,6 +66,7 @@
   id: RandomOreDistributionStandard
   weights:
     OreSteel: 10
+    OreCoal: 10
     OreSpaceQuartz: 8
     OreGold: 2
     OrePlasma: 4