-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add charcoal Flush chemicals that are not the charcoal out of the chemical stream * Add into EN localization to get chem dispenser to display correctly * Remove method that wasn't needed * Remove charcoal from dispenser Charcoal is made by combing ash and carbon * Place ash in elements prototype
- Loading branch information
Showing
6 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Content.Server/Chemistry/ReagentEffects/ChemCleanBoodstream.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Content.Shared.Chemistry.Reagent; | ||
using JetBrains.Annotations; | ||
using Content.Server.Body.Systems; | ||
|
||
namespace Content.Server.Chemistry.ReactionEffects | ||
{ | ||
/// <summary> | ||
/// Basically smoke and foam reactions. | ||
/// </summary> | ||
[UsedImplicitly] | ||
public sealed class ChemCleanBoodstream : ReagentEffect | ||
{ | ||
[DataField("cleanseRate")] | ||
public float CleanseRate = 3.0f; | ||
public override void Effect(ReagentEffectArgs args) | ||
{ | ||
if (args.Source == null) | ||
return; | ||
|
||
var bloodstreamSys = EntitySystem.Get<BloodstreamSystem>(); | ||
bloodstreamSys.FlushChemicals(args.SolutionEntity, args.Reagent.ID, CleanseRate); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters