From b0416372632d963338475c04d743b6916d4a1d61 Mon Sep 17 00:00:00 2001 From: wafehling Date: Fri, 29 Mar 2024 01:13:52 -0500 Subject: [PATCH] Chemically-created Crystal Shards (#26269) Added chemical reaction for making crystal shards --- .../Objects/Materials/crystal_shard.yml | 15 +++++++++++++++ Resources/Prototypes/Recipes/Reactions/fun.yml | 17 ++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Objects/Materials/crystal_shard.yml b/Resources/Prototypes/Entities/Objects/Materials/crystal_shard.yml index 884a5531e7..8f522abce4 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/crystal_shard.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/crystal_shard.yml @@ -134,3 +134,18 @@ 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 diff --git a/Resources/Prototypes/Recipes/Reactions/fun.yml b/Resources/Prototypes/Recipes/Reactions/fun.yml index fd1f42f101..5ae173c0ee 100644 --- a/Resources/Prototypes/Recipes/Reactions/fun.yml +++ b/Resources/Prototypes/Recipes/Reactions/fun.yml @@ -171,6 +171,21 @@ 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 @@ -185,4 +200,4 @@ amount: 2 effects: - !type:CreateEntityReactionEffect - entity: MaterialGunpowder \ No newline at end of file + entity: MaterialGunpowder -- 2.51.2