]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Chemically-created Crystal Shards (#26269)
authorwafehling <wafehling@users.noreply.github.com>
Fri, 29 Mar 2024 06:13:52 +0000 (01:13 -0500)
committerGitHub <noreply@github.com>
Fri, 29 Mar 2024 06:13:52 +0000 (17:13 +1100)
Added chemical reaction for making crystal shards

Resources/Prototypes/Entities/Objects/Materials/crystal_shard.yml
Resources/Prototypes/Recipes/Reactions/fun.yml

index 884a5531e7f786ce931d509a1fa0a5cf22f1bb00..8f522abce4225383010da4ab3f3fd283adeb16bf 100644 (file)
     tags:
       - Trash
       - CrystalRed
+
+- type: entity
+  parent: ShardCrystalBase
+  id: ShardCrystalRandom
+  name: random crystal shard
+  components:
+  - type: RandomSpawner
+    prototypes:
+      - ShardCrystalGreen
+      - ShardCrystalPink
+      - ShardCrystalOrange
+      - ShardCrystalBlue
+      - ShardCrystalCyan
+      - ShardCrystalRed
+    chance: 1
index fd1f42f10194bb425157b76bbddfa89036e1d84b..5ae173c0ee5b9ba1620f2c5f30f22fb974351a2b 100644 (file)
   products:
     Laughter: 2
 
+- type: reaction
+  id: CreateCrystals
+  quantized: true
+  minTemp: 374
+  reactants:
+    Sugar:
+      amount: 15
+    Water:
+      amount: 15
+    Ethanol:
+      amount: 5
+  effects:
+    - !type:CreateEntityReactionEffect
+      entity: ShardCrystalRandom
+
 - type: reaction
   id: Gunpowder
   impact: Low
       amount: 2
   effects:
     - !type:CreateEntityReactionEffect
-      entity: MaterialGunpowder
\ No newline at end of file
+      entity: MaterialGunpowder