public override bool ShouldLog => true;
protected override string ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
- => Loc.GetString("reagent-effect-guidebook-missing");
+ => Loc.GetString("reagent-effect-guidebook-area-reaction",
+ ("duration", _duration)
+ );
public override LogImpact LogImpact => LogImpact.High;
}
protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys) =>
- Loc.GetString("reagent-effect-guidebook-missing", ("chance", Probability));
+ Loc.GetString("reagent-effect-guidebook-add-to-solution-reaction", ("chance", Probability));
}
}
-using System.Linq;
+using System.Linq;
using System.Text.Json.Serialization;
using Content.Shared.Chemistry.Components;
using Content.Shared.Database;
public virtual string ReagentEffectFormat => "guidebook-reagent-effect-description";
- protected abstract string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys); // => Loc.GetString("reagent-effect-guidebook-missing", ("chance", Probability));
+ protected abstract string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys);
/// <summary>
/// What's the chance, from 0 to 1, that this effect will occur?
--create-3rd-person =
+-create-3rd-person =
{ $chance ->
[1] Creates
*[other] create
*[other] regenerate
} {NATURALFIXED($time, 3)} {MANY("second", $time)} of rotting
-reagent-effect-guidebook-missing =
+reagent-effect-guidebook-area-reaction =
{ $chance ->
[1] Causes
*[other] cause
- } an unknown effect as nobody has written this effect yet
+ } a smoke or foam reaction for {NATURALFIXED($duration, 3)} {MANY("second", $duration)}
+
+reagent-effect-guidebook-add-to-solution-reaction =
+ { $chance ->
+ [1] Causes
+ *[other] cause
+ } chemicals applied to an object to be added to its internal solution container
reagent-effect-guidebook-plant-attribute =
{ $chance ->