Allows a possibility for a new reagant to work on dead if applied. (#23298)
* Allows a possibility for a new reagant to work on dead if applied. To use it, go to Resources\Prototypes\Reagents\medicine.yml and add worksOnTheDead: true to any reagent. * Update Content.Shared/Chemistry/Reagent/ReagentPrototype.cs Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> * Update Content.Server/Body/Systems/MetabolizerSystem.cs Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
@@ -102,6 +102,12 @@ namespace Content.Shared.Chemistry.Reagent
|
||||
[DataField]
|
||||
public float Viscosity;
|
||||
|
||||
/// <summary>
|
||||
/// Should this reagent work on the dead?
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool WorksOnTheDead;
|
||||
|
||||
[DataField(serverOnly: true)]
|
||||
public FrozenDictionary<ProtoId<MetabolismGroupPrototype>, ReagentEffectsEntry>? Metabolisms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user