Add Overdosing Behaviour to Meth (#4949)

* Added debug bottle of meth as well as a damage increase on a Reagent Threshold

* fix for metabolism getting funked when there is a failed reaction condition

* removed max, raised minimum to 10

* reduced regular meth damage, increased overdose damage
This commit is contained in:
Fortune117
2021-10-21 07:30:55 +11:00
committed by GitHub
parent f58828d317
commit 55249e3688
4 changed files with 30 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ namespace Content.Server.Body.Metabolism
}
if (!conditionsMet)
return;
continue;
// If we're part of a body, pass that entity to Metabolize
// Otherwise, just pass our owner entity, maybe we're a plant or something

View File

@@ -3,12 +3,14 @@ using Content.Shared.Chemistry.Reagent;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Content.Shared.Damage;
using JetBrains.Annotations;
namespace Content.Server.Chemistry.ReagentEffects
{
/// <summary>
/// Default metabolism for medicine reagents.
/// </summary>
[UsedImplicitly]
public class HealthChange : ReagentEffect
{
/// <summary>