Monkey can wear breath mask and smoke a blunt (#14612)
This commit is contained in:
36
Content.Shared/Nutrition/Components/SmokableComponent.cs
Normal file
36
Content.Shared/Nutrition/Components/SmokableComponent.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using Content.Shared.FixedPoint;
|
||||
using Content.Shared.Smoking;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Nutrition.Components
|
||||
{
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class SmokableComponent : Component
|
||||
{
|
||||
[DataField("solution")]
|
||||
public string Solution { get; } = "smokable";
|
||||
|
||||
/// <summary>
|
||||
/// Solution inhale amount per second.
|
||||
/// </summary>
|
||||
[DataField("inhaleAmount")]
|
||||
public FixedPoint2 InhaleAmount { get; } = FixedPoint2.New(0.05f);
|
||||
|
||||
[DataField("state")]
|
||||
public SmokableState State { get; set; } = SmokableState.Unlit;
|
||||
|
||||
[DataField("exposeTemperature")]
|
||||
public float ExposeTemperature { get; set; } = 0;
|
||||
|
||||
[DataField("exposeVolume")]
|
||||
public float ExposeVolume { get; set; } = 1f;
|
||||
|
||||
// clothing prefixes
|
||||
[DataField("burntPrefix")]
|
||||
public string BurntPrefix = "unlit";
|
||||
[DataField("litPrefix")]
|
||||
public string LitPrefix = "lit";
|
||||
[DataField("unlitPrefix")]
|
||||
public string UnlitPrefix = "unlit";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user