droppers behave more like syringes (#12518)
This commit is contained in:
@@ -25,6 +25,16 @@ namespace Content.Server.Chemistry.Components
|
||||
[DataField("injectOnly")]
|
||||
public bool InjectOnly;
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the injector is able to draw from or inject from mobs
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// for example: droppers would ignore mobs
|
||||
/// </remarks>
|
||||
[ViewVariables]
|
||||
[DataField("ignoreMobs")]
|
||||
public bool IgnoreMobs = false;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum amount of solution that can be transferred at once from this solution.
|
||||
/// </summary>
|
||||
@@ -72,6 +82,7 @@ namespace Content.Server.Chemistry.Components
|
||||
/// only ever be set to Inject
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("toggleState")]
|
||||
public InjectorToggleMode ToggleState
|
||||
{
|
||||
get => _toggleState;
|
||||
|
||||
Reference in New Issue
Block a user